Lines Matching refs:t_session
425 oldsessp = tp->t_session; in ttyclose()
432 tp->t_session = NULL; in ttyclose()
1477 if (tp->t_session == sessp) { in ttioctl_locked()
1492 if (sessp->s_ttyvp || tp->t_session) { in ttioctl_locked()
1507 oldsessp = tp->t_session; in ttioctl_locked()
1509 tp->t_session = session_ref(sessp); in ttioctl_locked()
2041 if (tp->t_session && tp->t_session->s_leader) { in ttymodem()
2042 psignal(tp->t_session->s_leader, SIGHUP); in ttymodem()
3013 if (tp->t_session == NULL) { in ttyinfo_locked()
3357 if (tp->t_session == SESSION_NULL) { in isbackground()
3365 return tp->t_session->s_sid == proc_sessionid(p) && (p->p_flag & P_CONTROLT); in isbackground()
3385 return sessp == tp->t_session && (p->p_flag & P_CONTROLT); in isctty_sp()