Lines Matching refs:t_session
366 oldsessp = tp->t_session; in ttyclose()
373 tp->t_session = NULL; in ttyclose()
1366 if (tp->t_session == sessp) { in ttioctl_locked()
1381 if (sessp->s_ttyvp || tp->t_session) { in ttioctl_locked()
1396 oldsessp = tp->t_session; in ttioctl_locked()
1398 tp->t_session = session_ref(sessp); in ttioctl_locked()
1930 if (tp->t_session && tp->t_session->s_leader) { in ttymodem()
1931 psignal(tp->t_session->s_leader, SIGHUP); in ttymodem()
2902 if (tp->t_session == NULL) { in ttyinfo_locked()
3240 if (tp->t_session == SESSION_NULL) { in isbackground()
3248 return tp->t_session->s_sid == proc_sessionid(p) && (p->p_flag & P_CONTROLT); in isbackground()
3268 return sessp == tp->t_session && (p->p_flag & P_CONTROLT); in isctty_sp()