Searched refs:s_ttyvp (Results 1 - 12 of 12) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dsubr_prf.c168 if (p->p_flag & P_CONTROLT && sessp != SESSION_NULL && sessp->s_ttyvp) {
190 if (p->p_flag & P_CONTROLT && sessp->s_ttyvp) {
H A Dtty_tty.c255 vp = (p->p_flag & P_CONTROLT ? sessp->s_ttyvp : NULLVP);
H A Dkern_exit.c581 if (sessp->s_ttyvp != NULLVP) {
603 ttyvp = sessp->s_ttyvp;
605 sessp->s_ttyvp = NULLVP;
1730 if (sessp->s_ttyvp != NULLVP) {
1752 ttyvp = sessp->s_ttyvp;
1754 sessp->s_ttyvp = NULL;
H A Dkern_fork.c1297 if (sessp->s_ttyvp != NULL && parent_proc->p_flag & P_CONTROLT)
H A Dtty.c368 sessp->s_ttyvp == NULL && /* but has no controlling tty */
1391 ((sessp->s_ttyvp || tp->t_session) &&
H A Dkern_sysctl.c1507 if (sessp != SESSION_NULL && sessp->s_ttyvp)
1567 if (sessp != SESSION_NULL && sessp->s_ttyvp)
H A Dkern_proc.c1072 sess->s_ttyvp = NULL;
H A Dproc_info.c535 if (sessionp->s_ttyvp)
/darwin-on-arm/xnu/bsd/sys/
H A Dproc_internal.h125 struct vnode * s_ttyvp; /* Vnode of controlling terminal.(SL) */ member in struct:session
140 * accessor for s_ttyp which treats it as invalid if s_ttyvp is not valid;
149 #define SESSION_TP(sp) (((sp)->s_ttyvp != 0) ? (sp)->s_ttyp : 0)
/darwin-on-arm/xnu/bsd/miscfs/specfs/
H A Dspec_vnops.c1787 if (vp == sessp->s_ttyvp && vcount(vp) == 1) {
1791 if (vp == sessp->s_ttyvp) {
1793 sessp->s_ttyvp = NULL;
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_vnops.c1357 ttyvp = sessp->s_ttyvp;
1358 sessp->s_ttyvp = vp;
H A Dvfs_syscalls.c3005 sessp->s_ttyvp == NULL &&
3113 ttyvp = sessp->s_ttyvp;
3114 sessp->s_ttyvp = vp;

Completed in 127 milliseconds