Lines Matching full:vector

102 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector,  in __send_ipi_mask_ex()  argument
121 ipi_arg->vector = vector; in __send_ipi_mask_ex()
155 static bool __send_ipi_mask(const struct cpumask *mask, int vector, in __send_ipi_mask() argument
163 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask()
179 if ((vector < HV_IPI_LOW_VECTOR) || (vector > HV_IPI_HIGH_VECTOR)) in __send_ipi_mask()
195 ipi_arg.vector = vector; in __send_ipi_mask()
215 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask()
220 return __send_ipi_mask_ex(mask, vector, exclude_self); in __send_ipi_mask()
223 static bool __send_ipi_one(int cpu, int vector) in __send_ipi_one() argument
228 trace_hyperv_send_ipi_one(cpu, vector); in __send_ipi_one()
233 if ((vector < HV_IPI_LOW_VECTOR) || (vector > HV_IPI_HIGH_VECTOR)) in __send_ipi_one()
237 return __send_ipi_mask_ex(cpumask_of(cpu), vector, false); in __send_ipi_one()
239 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, vector, BIT_ULL(vp)); in __send_ipi_one()
243 static void hv_send_ipi(int cpu, int vector) in hv_send_ipi() argument
245 if (!__send_ipi_one(cpu, vector)) in hv_send_ipi()
246 orig_apic.send_IPI(cpu, vector); in hv_send_ipi()
249 static void hv_send_ipi_mask(const struct cpumask *mask, int vector) in hv_send_ipi_mask() argument
251 if (!__send_ipi_mask(mask, vector, false)) in hv_send_ipi_mask()
252 orig_apic.send_IPI_mask(mask, vector); in hv_send_ipi_mask()
255 static void hv_send_ipi_mask_allbutself(const struct cpumask *mask, int vector) in hv_send_ipi_mask_allbutself() argument
257 if (!__send_ipi_mask(mask, vector, true)) in hv_send_ipi_mask_allbutself()
258 orig_apic.send_IPI_mask_allbutself(mask, vector); in hv_send_ipi_mask_allbutself()
261 static void hv_send_ipi_allbutself(int vector) in hv_send_ipi_allbutself() argument
263 hv_send_ipi_mask_allbutself(cpu_online_mask, vector); in hv_send_ipi_allbutself()
266 static void hv_send_ipi_all(int vector) in hv_send_ipi_all() argument
268 if (!__send_ipi_mask(cpu_online_mask, vector, false)) in hv_send_ipi_all()
269 orig_apic.send_IPI_all(vector); in hv_send_ipi_all()
272 static void hv_send_ipi_self(int vector) in hv_send_ipi_self() argument
274 if (!__send_ipi_one(smp_processor_id(), vector)) in hv_send_ipi_self()
275 orig_apic.send_IPI_self(vector); in hv_send_ipi_self()