Lines Matching refs:p_singlethread
900 thread_lock(p->p_singlethread); in thread_exit()
902 p->p_singlethread, p, false); in thread_exit()
1170 if (p->p_singlethread != NULL && p->p_singlethread != td) in thread_single()
1187 p->p_singlethread = td; in thread_single()
1233 p->p_singlethread = NULL; in thread_single()
1333 KASSERT(p->p_singlethread != NULL, in thread_suspend_check()
1341 if (p->p_singlethread == td) in thread_suspend_check()
1369 if ((p->p_flag & P_SINGLE_EXIT) && (p->p_singlethread != td)) { in thread_suspend_check()
1387 thread_lock(p->p_singlethread); in thread_suspend_check()
1389 p->p_singlethread, p, false); in thread_suspend_check()
1545 if (p->p_singlethread->td_proc == p) { in thread_unsuspend()
1546 thread_lock(p->p_singlethread); in thread_unsuspend()
1548 p->p_singlethread, p, false); in thread_unsuspend()
1571 KASSERT(mode == SINGLE_ALLPROC || p->p_singlethread == curthread, in thread_single_end()
1573 curthread, p->p_singlethread)); in thread_single_end()
1580 p->p_singlethread = NULL; in thread_single_end()