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()
156 static bool __send_ipi_mask(const struct cpumask *mask, int vector, in __send_ipi_mask() argument
164 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask()
183 if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR) in __send_ipi_mask()
199 ipi_arg.vector = vector; in __send_ipi_mask()
219 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask()
224 return __send_ipi_mask_ex(mask, vector, exclude_self); in __send_ipi_mask()
227 static bool __send_ipi_one(int cpu, int vector) in __send_ipi_one() argument
232 trace_hyperv_send_ipi_one(cpu, vector); in __send_ipi_one()
243 if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR) in __send_ipi_one()
247 return __send_ipi_mask_ex(cpumask_of(cpu), vector, false); in __send_ipi_one()
249 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, vector, BIT_ULL(vp)); in __send_ipi_one()
253 static void hv_send_ipi(int cpu, int vector) in hv_send_ipi() argument
255 if (!__send_ipi_one(cpu, vector)) in hv_send_ipi()
256 orig_apic.send_IPI(cpu, vector); in hv_send_ipi()
259 static void hv_send_ipi_mask(const struct cpumask *mask, int vector) in hv_send_ipi_mask() argument
261 if (!__send_ipi_mask(mask, vector, false)) in hv_send_ipi_mask()
262 orig_apic.send_IPI_mask(mask, vector); in hv_send_ipi_mask()
265 static void hv_send_ipi_mask_allbutself(const struct cpumask *mask, int vector) in hv_send_ipi_mask_allbutself() argument
267 if (!__send_ipi_mask(mask, vector, true)) in hv_send_ipi_mask_allbutself()
268 orig_apic.send_IPI_mask_allbutself(mask, vector); in hv_send_ipi_mask_allbutself()
271 static void hv_send_ipi_allbutself(int vector) in hv_send_ipi_allbutself() argument
273 hv_send_ipi_mask_allbutself(cpu_online_mask, vector); in hv_send_ipi_allbutself()
276 static void hv_send_ipi_all(int vector) in hv_send_ipi_all() argument
278 if (!__send_ipi_mask(cpu_online_mask, vector, false)) in hv_send_ipi_all()
279 orig_apic.send_IPI_all(vector); in hv_send_ipi_all()
282 static void hv_send_ipi_self(int vector) in hv_send_ipi_self() argument
284 if (!__send_ipi_one(smp_processor_id(), vector)) in hv_send_ipi_self()
285 orig_apic.send_IPI_self(vector); in hv_send_ipi_self()