Searched refs:t_session (Results 1 – 6 of 6) sorted by relevance
410 return (p->p_session == tp->t_session && p->p_flag & P_CONTROLT); in tty_is_ctty()1180 if (tp->t_session == sess) { in tty_rel_sess()1181 tp->t_session = NULL; in tty_rel_sess()1293 xt->xt_sid = tp->t_session ? tp->t_session->s_sid : 0; in tty_to_xtty()1486 if ((s = tp->t_session) != NULL && in tty_signal_sessleader()1522 pgsigio(&tp->t_sigio, SIGIO, (tp->t_session != NULL)); in tty_wakeup()1670 if (tp->t_session != NULL && !tty_is_ctty(tp, td->td_proc)) in tty_generic_ioctl()1680 if (tp->t_session != NULL && !tty_is_ctty(tp, td->td_proc)) in tty_generic_ioctl()1791 MPASS(tp->t_session); in tty_generic_ioctl()1792 *(int *)data = tp->t_session->s_sid; in tty_generic_ioctl()[all …]
238 if (tp->t_session == NULL) { in tty_info()
348 if (tp->t_session == NULL) in ptsdev_ioctl()351 *(int *)data = tp->t_session->s_sid; in ptsdev_ioctl()
817 if (tp->t_session == sp) in killjobc()1102 if (tp->t_session) in fill_kinfo_proc_pgrp()1103 kp->ki_tsid = tp->t_session->s_sid; in fill_kinfo_proc_pgrp()
313 if (tty.t_session != NULL) { in kvm_proclist()314 if (KREAD(kd, (u_long)tty.t_session, &sess)) { in kvm_proclist()317 tty.t_session); in kvm_proclist()
129 struct session *t_session; /* (t) Associated session. */ member