Lines Matching full:vector

107 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector,  in __send_ipi_mask_ex()  argument
124 ipi_arg->vector = vector; in __send_ipi_mask_ex()
157 static bool __send_ipi_mask(const struct cpumask *mask, int vector, in __send_ipi_mask() argument
165 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask()
184 if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR) in __send_ipi_mask()
200 ipi_arg.vector = vector; in __send_ipi_mask()
220 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask()
225 return __send_ipi_mask_ex(mask, vector, exclude_self); in __send_ipi_mask()
228 static bool __send_ipi_one(int cpu, int vector) in __send_ipi_one() argument
233 trace_hyperv_send_ipi_one(cpu, vector); in __send_ipi_one()
244 if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR) in __send_ipi_one()
248 return __send_ipi_mask_ex(cpumask_of(cpu), vector, false); in __send_ipi_one()
250 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, vector, BIT_ULL(vp)); in __send_ipi_one()
254 static void hv_send_ipi(int cpu, int vector) in hv_send_ipi() argument
256 if (!__send_ipi_one(cpu, vector)) in hv_send_ipi()
257 orig_apic.send_IPI(cpu, vector); in hv_send_ipi()
260 static void hv_send_ipi_mask(const struct cpumask *mask, int vector) in hv_send_ipi_mask() argument
262 if (!__send_ipi_mask(mask, vector, false)) in hv_send_ipi_mask()
263 orig_apic.send_IPI_mask(mask, vector); in hv_send_ipi_mask()
266 static void hv_send_ipi_mask_allbutself(const struct cpumask *mask, int vector) in hv_send_ipi_mask_allbutself() argument
268 if (!__send_ipi_mask(mask, vector, true)) in hv_send_ipi_mask_allbutself()
269 orig_apic.send_IPI_mask_allbutself(mask, vector); in hv_send_ipi_mask_allbutself()
272 static void hv_send_ipi_allbutself(int vector) in hv_send_ipi_allbutself() argument
274 hv_send_ipi_mask_allbutself(cpu_online_mask, vector); in hv_send_ipi_allbutself()
277 static void hv_send_ipi_all(int vector) in hv_send_ipi_all() argument
279 if (!__send_ipi_mask(cpu_online_mask, vector, false)) in hv_send_ipi_all()
280 orig_apic.send_IPI_all(vector); in hv_send_ipi_all()
283 static void hv_send_ipi_self(int vector) in hv_send_ipi_self() argument
285 if (!__send_ipi_one(smp_processor_id(), vector)) in hv_send_ipi_self()
286 orig_apic.send_IPI_self(vector); in hv_send_ipi_self()