Lines Matching refs:p_splock
65 ASSERT(MUTEX_HELD(&pidlock) || MUTEX_HELD(&p->p_splock)); in sess_hold()
135 mutex_enter(&p->p_splock); /* protect p->p_sessp */ in tty_hold()
157 mutex_exit(&p->p_splock); in tty_hold()
179 mutex_exit(&p->p_splock); in tty_hold()
218 mutex_enter(&p->p_splock); in sess_create()
232 mutex_exit(&p->p_splock); in sess_create()
275 MUTEX_HELD(&p->p_splock) && MUTEX_HELD(&sp->s_lock)); in sess_ctty_set()
316 mutex_enter(&p->p_splock); /* protects p_sessp */ in strctty()
325 mutex_exit(&p->p_splock); in strctty()
346 mutex_exit(&p->p_splock); in strctty()
363 mutex_exit(&p->p_splock); in strctty()
388 mutex_enter(&p->p_splock); /* protect p->p_sessp */ in freectty_lock()
395 mutex_exit(&p->p_splock); in freectty_lock()
427 mutex_exit(&p->p_splock); in freectty_lock()
433 mutex_enter(&p->p_splock); /* protects p->p_sessp */ in freectty_lock()
447 mutex_exit(&p->p_splock); in freectty_lock()
490 MUTEX_HELD(&p->p_splock) && MUTEX_HELD(&sp->s_lock)); in freectty_signal()
510 mutex_exit(&p->p_splock); in freectty_signal()
584 mutex_exit(&p->p_splock); in freectty()
638 mutex_exit(&p->p_splock); in freectty()
683 mutex_enter(&pp->p_splock); /* protects p->p_sessp */ in cttydev()
696 mutex_exit(&pp->p_splock); in cttydev()
703 ASSERT(MUTEX_HELD(&pidlock) || MUTEX_HELD(&curproc->p_splock)); in ctty_clear_sighuped()