Lines Matching full:vector
106 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector, in __send_ipi_mask_ex() argument
123 ipi_arg->vector = vector; in __send_ipi_mask_ex()
161 static bool __send_ipi_mask(const struct cpumask *mask, int vector, in __send_ipi_mask() argument
169 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask()
188 if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR) in __send_ipi_mask()
204 ipi_arg.vector = vector; in __send_ipi_mask()
224 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask()
229 return __send_ipi_mask_ex(mask, vector, exclude_self); in __send_ipi_mask()
232 static bool __send_ipi_one(int cpu, int vector) in __send_ipi_one() argument
237 trace_hyperv_send_ipi_one(cpu, vector); in __send_ipi_one()
248 if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR) in __send_ipi_one()
252 return __send_ipi_mask_ex(cpumask_of(cpu), vector, false); in __send_ipi_one()
254 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, vector, BIT_ULL(vp)); in __send_ipi_one()
258 static void hv_send_ipi(int cpu, int vector) in hv_send_ipi() argument
260 if (!__send_ipi_one(cpu, vector)) in hv_send_ipi()
261 orig_apic.send_IPI(cpu, vector); in hv_send_ipi()
264 static void hv_send_ipi_mask(const struct cpumask *mask, int vector) in hv_send_ipi_mask() argument
266 if (!__send_ipi_mask(mask, vector, false)) in hv_send_ipi_mask()
267 orig_apic.send_IPI_mask(mask, vector); in hv_send_ipi_mask()
270 static void hv_send_ipi_mask_allbutself(const struct cpumask *mask, int vector) in hv_send_ipi_mask_allbutself() argument
272 if (!__send_ipi_mask(mask, vector, true)) in hv_send_ipi_mask_allbutself()
273 orig_apic.send_IPI_mask_allbutself(mask, vector); in hv_send_ipi_mask_allbutself()
276 static void hv_send_ipi_allbutself(int vector) in hv_send_ipi_allbutself() argument
278 hv_send_ipi_mask_allbutself(cpu_online_mask, vector); in hv_send_ipi_allbutself()
281 static void hv_send_ipi_all(int vector) in hv_send_ipi_all() argument
283 if (!__send_ipi_mask(cpu_online_mask, vector, false)) in hv_send_ipi_all()
284 orig_apic.send_IPI_all(vector); in hv_send_ipi_all()
287 static void hv_send_ipi_self(int vector) in hv_send_ipi_self() argument
289 if (!__send_ipi_one(smp_processor_id(), vector)) in hv_send_ipi_self()
290 orig_apic.send_IPI_self(vector); in hv_send_ipi_self()