Searched refs:LP_BOUND (Results 1 – 17 of 17) sorted by relevance
293 #define LP_BOUND 0x80000000 /* Bound to a CPU */ macro510 bound = curlwp->l_pflag & LP_BOUND; in curlwp_bind()511 curlwp->l_pflag |= LP_BOUND; in curlwp_bind()521 KASSERT(curlwp->l_pflag & LP_BOUND); in curlwp_bindx()523 curlwp->l_pflag ^= bound ^ LP_BOUND; in curlwp_bindx()
291 ISSET(curlwp->l_pflag, LP_BOUND)), in psref_acquire()345 ISSET(curlwp->l_pflag, LP_BOUND)), in psref_release()412 ISSET(curlwp->l_pflag, LP_BOUND)), in psref_copy()555 ISSET(curlwp->l_pflag, LP_BOUND)), in _psref_held()
239 if ((l->l_pflag & LP_BOUND) == 0) { in sched_enqueue() 276 if ((l->l_pflag & LP_BOUND) == 0) { in sched_dequeue() 578 if (l->l_pflag & LP_BOUND) in sched_takecpu() 689 if ((l->l_pflag & LP_BOUND) || in sched_catchlwp()
120 l->l_pflag |= LP_BOUND; in kthread_create()
162 return __predict_true(((pflag & (LP_INTR|LP_BOUND)) | nopreempt) in curcpu_stable()
344 if (l->l_cpu != ci || (l->l_pflag & (LP_BOUND | LP_INTR))) { in cpu_xc_offline()
393 if (t->l_pflag & (LP_BOUND | LP_INTR)) in sys_pset_assign()
974 KASSERT((pool->tp_cpu == NULL) || (curlwp->l_pflag & LP_BOUND)); in threadpool_dispatcher_thread()1108 KASSERT((pool->tp_cpu == NULL) || (curlwp->l_pflag & LP_BOUND)); in threadpool_thread()
677 if (l->l_target_cpu != NULL && (l->l_pflag & LP_BOUND) == 0) { in mi_switch()
246 curlwp->l_pflag |= LP_BOUND; in vpanic()
738 KASSERT(curlwp->l_pflag & LP_BOUND); in entropy_account_cpu()
203 l->l_pflag |= LP_BOUND; in kthread_create()
197 me->l_pflag |= LP_BOUND; in sithread_cpu_bouncer()
307 bool bound = l->l_pflag & LP_BOUND; in rump_schedule_cpu_interlock()
298 (curlwp->l_flag & LP_BOUND)); in xen_vcputime_systime_ns()
1845 KASSERT(ISSET(curlwp->l_pflag, LP_BOUND)); in in_selectsrc()
3279 KASSERT(curlwp->l_pflag & LP_BOUND); in wg_overudp_cb()