Lines Matching refs:p_singlethread
932 thread_lock(p->p_singlethread); in thread_exit()
934 p->p_singlethread, p, false); in thread_exit()
1202 if (p->p_singlethread != NULL && p->p_singlethread != td) in thread_single()
1219 p->p_singlethread = td; in thread_single()
1265 p->p_singlethread = NULL; in thread_single()
1365 KASSERT(p->p_singlethread != NULL, in thread_suspend_check()
1373 if (p->p_singlethread == td) in thread_suspend_check()
1401 if ((p->p_flag & P_SINGLE_EXIT) && (p->p_singlethread != td)) { in thread_suspend_check()
1419 thread_lock(p->p_singlethread); in thread_suspend_check()
1421 p->p_singlethread, p, false); in thread_suspend_check()
1602 if (p->p_singlethread->td_proc == p) { in thread_unsuspend()
1603 thread_lock(p->p_singlethread); in thread_unsuspend()
1605 p->p_singlethread, p, false); in thread_unsuspend()
1628 KASSERT(mode == SINGLE_ALLPROC || p->p_singlethread == curthread, in thread_single_end()
1630 curthread, p->p_singlethread)); in thread_single_end()
1637 p->p_singlethread = NULL; in thread_single_end()