Searched refs:p_nthreads (Results 1 – 14 of 14) sorted by relevance
160 if (p->p_nthreads > 1) { in sys_extexit()221 if (p->p_nthreads > 1) in killalllwps()280 while (p->p_nthreads > 1) in killlwps()281 tsleep(&p->p_nthreads, 0, "killlwps", 0); in killlwps()773 --p->p_nthreads; in lwp_exit()774 if ((p->p_flags & P_MAYBETHREADED) && p->p_nthreads <= 1) in lwp_exit()781 --p->p_nthreads; in lwp_exit()800 wakeup(&p->p_nthreads); in lwp_exit()1170 while (p->p_nthreads > 0) { in kern_wait()1171 tsleep(&p->p_nthreads, 0, "lwpzomb", hz); in kern_wait()[all …]
158 if ((count & PLIMITF_MASK) == 1 && p1->p_nthreads == 1) { in plimit_fork()237 if (p->p_nthreads == 1) { in plimit_modify()
269 --p->p_nthreads; in lwp_create1()335 if (p1->p_nthreads != 1) { in fork1()853 destproc->p_nthreads++; in lwp_fork2()
221 if (p->p_nthreads != 1) { in sys_usched_set()
198 kp->kp_nthreads = p->p_nthreads; in fill_kinfo_proc()
1637 if (p->p_nstopped == p->p_nthreads) { in proc_stop()1734 p->p_nstopped < p->p_nthreads - 1) { in proc_stopwait()1736 if (p->p_nstopped < p->p_nthreads - 1) { in proc_stopwait()
80 kth->ktr_flags = (p->p_nthreads > 1) ? KTRH_THREADED : 0; in ktrgetheader()
698 while (p->p_nstopped < p->p_nthreads - 1) in ckpt_freeze_proc()
1361 if (p->p_nstopped == p->p_nthreads) { in tstop()
922 if (curthread->td_proc->p_nthreads > 1) { in exec_new_vmspace()
315 int p_nthreads; /* Number of threads in this process. */ member430 if (p->p_nthreads != 1) { in _only_lwp_in_proc()
625 td->td_proc && td->td_proc->p_nthreads == 1) { in vm_fault()
3183 KKASSERT(p->p_nthreads == 1); in pmap_replacevm()
6250 KKASSERT(p->p_nthreads == 1); in pmap_replacevm()