Searched refs:p_splock (Results 1 – 9 of 9) sorted by relevance
68 ASSERT(MUTEX_HELD(&pidlock) || MUTEX_HELD(&p->p_splock)); in sess_hold()138 mutex_enter(&p->p_splock); /* protect p->p_sessp */ in tty_hold()160 mutex_exit(&p->p_splock); in tty_hold()182 mutex_exit(&p->p_splock); in tty_hold()221 mutex_enter(&p->p_splock); in sess_create()235 mutex_exit(&p->p_splock); in sess_create()278 MUTEX_HELD(&p->p_splock) && MUTEX_HELD(&sp->s_lock)); in sess_ctty_set()319 mutex_enter(&p->p_splock); /* protects p_sessp */ in strctty()328 mutex_exit(&p->p_splock); in strctty()349 mutex_exit(&p->p_splock); in strctty()[all …]
315 mutex_enter(&pp->p_splock); in procinset()318 mutex_exit(&pp->p_splock); in procinset()405 mutex_enter(&pp->p_splock); in procinset()408 mutex_exit(&pp->p_splock); in procinset()558 mutex_enter(&pp->p_splock); in lwpinset()561 mutex_exit(&pp->p_splock); in lwpinset()644 mutex_enter(&pp->p_splock); in lwpinset()647 mutex_exit(&pp->p_splock); in lwpinset()803 mutex_enter(&pp->p_splock); in getmyid()805 mutex_exit(&pp->p_splock); in getmyid()
323 mutex_enter(&p->p_splock); in drv_getparm()325 mutex_exit(&p->p_splock); in drv_getparm()
988 mutex_init(&cp->p_splock, NULL, MUTEX_DEFAULT, NULL); in getproc()
3164 mutex_enter(&p->p_splock); /* protects p->p_sessp */ in straccess()3176 mutex_exit(&p->p_splock); in straccess()3188 mutex_exit(&p->p_splock); in straccess()3194 mutex_exit(&p->p_splock); in straccess()
3386 mutex_enter(&curproc->p_splock); in strioctl()3389 mutex_exit(&curproc->p_splock); in strioctl()3393 mutex_exit(&curproc->p_splock); in strioctl()
59 mutex_enter(&p->p_splock); in setpgrp()61 mutex_exit(&p->p_splock); in setpgrp()72 mutex_enter(&p->p_splock); in setpgrp()74 mutex_exit(&p->p_splock); in setpgrp()
352 kmutex_t p_splock; member
5219 mutex_enter(&curproc->p_splock); in nfs_has_ctty()5221 mutex_exit(&curproc->p_splock); in nfs_has_ctty()