Lines Matching refs:p_singlethread
978 thread_lock(p->p_singlethread); in thread_exit()
980 p->p_singlethread, p, false); in thread_exit()
1255 if (p->p_singlethread != NULL && p->p_singlethread != td) in thread_single()
1272 p->p_singlethread = td; in thread_single()
1318 p->p_singlethread = NULL; in thread_single()
1418 KASSERT(p->p_singlethread != NULL, in thread_suspend_check()
1426 if (p->p_singlethread == td) in thread_suspend_check()
1454 if ((p->p_flag & P_SINGLE_EXIT) && (p->p_singlethread != td)) { in thread_suspend_check()
1472 thread_lock(p->p_singlethread); in thread_suspend_check()
1474 p->p_singlethread, p, false); in thread_suspend_check()
1655 if (p->p_singlethread->td_proc == p) { in thread_unsuspend()
1656 thread_lock(p->p_singlethread); in thread_unsuspend()
1658 p->p_singlethread, p, false); in thread_unsuspend()
1681 KASSERT(mode == SINGLE_ALLPROC || p->p_singlethread == curthread, in thread_single_end()
1683 curthread, p->p_singlethread)); in thread_single_end()
1690 p->p_singlethread = NULL; in thread_single_end()