Lines Matching refs:SINGLE_ALLPROC
701 else if (mode == SINGLE_NO_EXIT || mode == SINGLE_ALLPROC) in calc_remaining()
712 return (mode == SINGLE_ALLPROC ? 0 : 1); in remain_for_mode()
739 case SINGLE_ALLPROC: in weed_inhib()
786 mode == SINGLE_ALLPROC || mode == SINGLE_NO_EXIT, in thread_single()
794 KASSERT((mode == SINGLE_ALLPROC && td->td_proc != p) || in thread_single()
795 (mode != SINGLE_ALLPROC && td->td_proc == p), in thread_single()
800 if ((p->p_flag & P_HADTHREADS) == 0 && mode != SINGLE_ALLPROC) in thread_single()
817 if (mode == SINGLE_ALLPROC) in thread_single()
1159 mode == SINGLE_ALLPROC || mode == SINGLE_NO_EXIT, in thread_single_end()
1162 KASSERT((mode == SINGLE_ALLPROC && (p->p_flag & P_TOTAL_STOP) != 0) || in thread_single_end()
1163 (mode != SINGLE_ALLPROC && (p->p_flag & P_TOTAL_STOP) == 0), in thread_single_end()
1165 KASSERT(mode == SINGLE_ALLPROC || p->p_singlethread == curthread, in thread_single_end()