Searched refs:p_splock (Results 1 – 9 of 9) sorted by relevance
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()[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()
1001 mutex_init(&cp->p_splock, NULL, MUTEX_DEFAULT, NULL); in getproc()
3188 mutex_enter(&p->p_splock); /* protects p->p_sessp */ in straccess()3200 mutex_exit(&p->p_splock); in straccess()3212 mutex_exit(&p->p_splock); in straccess()3218 mutex_exit(&p->p_splock); in straccess()
3476 mutex_enter(&curproc->p_splock); in strioctl()3479 mutex_exit(&curproc->p_splock); in strioctl()3483 mutex_exit(&curproc->p_splock); in strioctl()
56 mutex_enter(&p->p_splock); in setpgrp()58 mutex_exit(&p->p_splock); in setpgrp()69 mutex_enter(&p->p_splock); in setpgrp()71 mutex_exit(&p->p_splock); in setpgrp()
364 kmutex_t p_splock; member
5220 mutex_enter(&curproc->p_splock); in nfs_has_ctty()5222 mutex_exit(&curproc->p_splock); in nfs_has_ctty()