Lines Matching refs: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()
162 static bool __send_ipi_mask(const struct cpumask *mask, int vector, in __send_ipi_mask() argument
170 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask()
189 if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR) in __send_ipi_mask()
205 ipi_arg.vector = vector; in __send_ipi_mask()
225 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask()
230 return __send_ipi_mask_ex(mask, vector, exclude_self); in __send_ipi_mask()
233 static bool __send_ipi_one(int cpu, int vector) in __send_ipi_one() argument
238 trace_hyperv_send_ipi_one(cpu, vector); in __send_ipi_one()
249 if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR) in __send_ipi_one()
253 return __send_ipi_mask_ex(cpumask_of(cpu), vector, false); in __send_ipi_one()
255 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, vector, BIT_ULL(vp)); in __send_ipi_one()
259 static void hv_send_ipi(int cpu, int vector) in hv_send_ipi() argument
261 if (!__send_ipi_one(cpu, vector)) in hv_send_ipi()
262 orig_apic.send_IPI(cpu, vector); in hv_send_ipi()
265 static void hv_send_ipi_mask(const struct cpumask *mask, int vector) in hv_send_ipi_mask() argument
267 if (!__send_ipi_mask(mask, vector, false)) in hv_send_ipi_mask()
268 orig_apic.send_IPI_mask(mask, vector); in hv_send_ipi_mask()
271 static void hv_send_ipi_mask_allbutself(const struct cpumask *mask, int vector) in hv_send_ipi_mask_allbutself() argument
273 if (!__send_ipi_mask(mask, vector, true)) in hv_send_ipi_mask_allbutself()
274 orig_apic.send_IPI_mask_allbutself(mask, vector); in hv_send_ipi_mask_allbutself()
277 static void hv_send_ipi_allbutself(int vector) in hv_send_ipi_allbutself() argument
279 hv_send_ipi_mask_allbutself(cpu_online_mask, vector); in hv_send_ipi_allbutself()
282 static void hv_send_ipi_all(int vector) in hv_send_ipi_all() argument
284 if (!__send_ipi_mask(cpu_online_mask, vector, false)) in hv_send_ipi_all()
285 orig_apic.send_IPI_all(vector); in hv_send_ipi_all()
288 static void hv_send_ipi_self(int vector) in hv_send_ipi_self() argument
290 if (!__send_ipi_one(smp_processor_id(), vector)) in hv_send_ipi_self()
291 orig_apic.send_IPI_self(vector); in hv_send_ipi_self()