Lines Matching defs:func

83 void	init_mondo(xcfunc_t *func, uint64_t arg1, uint64_t arg2);
184 * func - a TL=0 handler address
201 * func - a TL>0 handler address or an interrupt number
203 * optional when "func" is an address;
204 * 0 when "func" is an interrupt number
206 * If the request of "func" is a kernel address, then
207 * the target cpu will execute the request of "func" with
213 * If the request of "func" is not a kernel address, then it has
239 xt_one(int cix, xcfunc_t *func, uint64_t arg1, uint64_t arg2)
244 xt_one_unchecked(cix, func, arg1, arg2);
252 xt_one_unchecked(int cix, xcfunc_t *func, uint64_t arg1, uint64_t arg2)
262 ASSERT(!DMV_IS_DMV(func));
268 ASSERT((uintptr_t)func >= KERNELBASE);
280 send_self_xcall(CPU, arg1, arg2, func);
282 XC_TRACE(XT_ONE_SELF, &tset, func, arg1, arg2);
287 XC_TRACE(XT_ONE_OTHER, &tset, func, arg1, arg2);
288 init_mondo(func, arg1, arg2);
299 xt_some(cpuset_t cpuset, xcfunc_t *func, uint64_t arg1, uint64_t arg2)
309 ASSERT(!DMV_IS_DMV(func));
315 ASSERT((uintptr_t)func >= KERNELBASE);
344 send_self_xcall(CPU, arg1, arg2, func);
346 XC_TRACE(XT_SOME_SELF, &tset, func, arg1, arg2);
353 XC_TRACE(XT_SOME_OTHER, &xc_cpuset, func, arg1, arg2);
354 init_mondo(func, arg1, arg2);
365 xt_all(xcfunc_t *func, uint64_t arg1, uint64_t arg2)
375 ASSERT(!DMV_IS_DMV(func));
381 ASSERT((uintptr_t)func >= KERNELBASE);
393 send_self_xcall(CPU, arg1, arg2, func);
395 XC_TRACE(XT_ALL_OTHER, &cpu_ready_set, func, arg1, arg2);
405 XC_TRACE(XT_ALL_SELF, &tset, func, arg1, arg2);
410 init_mondo(func, arg1, arg2);
421 xc_one(int cix, xcfunc_t *func, uint64_t arg1, uint64_t arg2)
435 ASSERT((uintptr_t)func > KERNELBASE);
436 ASSERT(((uintptr_t)func % PC_ALIGN) == 0);
447 XC_TRACE(XC_ONE_SELF, &tset, func, arg1, arg2);
448 (*func)(arg1, arg2);
460 XC_TRACE(XC_ONE_OTHER_H, &tset, func, arg1, arg2);
466 XC_SETUP(cix, func, arg1, arg2);
514 XC_TRACE(XC_ONE_OTHER, &tset, func, arg1, arg2);
515 XC_SETUP(cix, func, arg1, arg2);
548 xc_some(cpuset_t cpuset, xcfunc_t *func, uint64_t arg1, uint64_t arg2)
554 ASSERT((uintptr_t)func > KERNELBASE);
555 ASSERT(((uintptr_t)func % PC_ALIGN) == 0);
583 (*func)(arg1, arg2);
587 XC_TRACE(XC_SOME_SELF, &tset, func, arg1, arg2);
600 SEND_MBOX_ONLY(xc_cpuset, func, arg1, arg2, lcx, XC_WAIT);
603 XC_TRACE(XC_SOME_OTHER_H, &xc_cpuset, func, arg1, arg2);
627 XC_TRACE(XC_SOME_OTHER, &xc_cpuset, func, arg1, arg2);
629 SEND_MBOX_MONDO(xc_cpuset, func, arg1, arg2, XC_IDLE);
642 xc_all(xcfunc_t *func, uint64_t arg1, uint64_t arg2)
648 ASSERT((uintptr_t)func > KERNELBASE);
649 ASSERT(((uintptr_t)func % PC_ALIGN) == 0);
661 (*func)(arg1, arg2);
667 XC_TRACE(XC_ALL_SELF, &tset, func, arg1, arg2);
679 XC_TRACE(XC_ALL_OTHER_H, &xc_cpuset, func, arg1, arg2);
680 SEND_MBOX_ONLY(xc_cpuset, func, arg1, arg2, lcx, XC_WAIT);
706 XC_TRACE(XC_ALL_OTHER, &xc_cpuset, func, arg1, arg2);
708 SEND_MBOX_MONDO(xc_cpuset, func, arg1, arg2, XC_IDLE);
909 xcfunc_t *func;
920 func = xmp->xc_func;
921 XC_TRACE(XC_SERV, &tset, func, xmp->xc_arg1, xmp->xc_arg2);
922 if (func != NULL) {
925 (*func)(arg1, arg2);
928 XC_TRACE(XC_SERV, &tset, func, arg1, arg2);
949 xcfunc_t *func;
994 func = xmp->xc_func;
997 XC_TRACE(XC_LOOP_DOIT, &tset, func, arg1, arg2);
998 if (func != NULL)
999 (*func)(arg1, arg2);