Lines Matching full:vector
100 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector) in __send_ipi_mask_ex() argument
118 ipi_arg->vector = vector; in __send_ipi_mask_ex()
139 static bool __send_ipi_mask(const struct cpumask *mask, int vector) in __send_ipi_mask() argument
145 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask()
153 if ((vector < HV_IPI_LOW_VECTOR) || (vector > HV_IPI_HIGH_VECTOR)) in __send_ipi_mask()
169 ipi_arg.vector = vector; in __send_ipi_mask()
187 ret = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask()
192 return __send_ipi_mask_ex(mask, vector); in __send_ipi_mask()
195 static bool __send_ipi_one(int cpu, int vector) in __send_ipi_one() argument
199 trace_hyperv_send_ipi_one(cpu, vector); in __send_ipi_one()
204 if ((vector < HV_IPI_LOW_VECTOR) || (vector > HV_IPI_HIGH_VECTOR)) in __send_ipi_one()
208 return __send_ipi_mask_ex(cpumask_of(cpu), vector); in __send_ipi_one()
210 return !hv_do_fast_hypercall16(HVCALL_SEND_IPI, vector, BIT_ULL(vp)); in __send_ipi_one()
213 static void hv_send_ipi(int cpu, int vector) in hv_send_ipi() argument
215 if (!__send_ipi_one(cpu, vector)) in hv_send_ipi()
216 orig_apic.send_IPI(cpu, vector); in hv_send_ipi()
219 static void hv_send_ipi_mask(const struct cpumask *mask, int vector) in hv_send_ipi_mask() argument
221 if (!__send_ipi_mask(mask, vector)) in hv_send_ipi_mask()
222 orig_apic.send_IPI_mask(mask, vector); in hv_send_ipi_mask()
225 static void hv_send_ipi_mask_allbutself(const struct cpumask *mask, int vector) in hv_send_ipi_mask_allbutself() argument
234 if (!__send_ipi_mask(local_mask, vector)) in hv_send_ipi_mask_allbutself()
235 orig_apic.send_IPI_mask_allbutself(mask, vector); in hv_send_ipi_mask_allbutself()
238 static void hv_send_ipi_allbutself(int vector) in hv_send_ipi_allbutself() argument
240 hv_send_ipi_mask_allbutself(cpu_online_mask, vector); in hv_send_ipi_allbutself()
243 static void hv_send_ipi_all(int vector) in hv_send_ipi_all() argument
245 if (!__send_ipi_mask(cpu_online_mask, vector)) in hv_send_ipi_all()
246 orig_apic.send_IPI_all(vector); in hv_send_ipi_all()
249 static void hv_send_ipi_self(int vector) in hv_send_ipi_self() argument
251 if (!__send_ipi_one(smp_processor_id(), vector)) in hv_send_ipi_self()
252 orig_apic.send_IPI_self(vector); in hv_send_ipi_self()