Searched refs:t_session (Results 1 – 6 of 6) sorted by relevance
417 return (p->p_session == tp->t_session && p->p_flag & P_CONTROLT); in tty_is_ctty()1193 if (tp->t_session == sess) { in tty_rel_sess()1194 tp->t_session = NULL; in tty_rel_sess()1306 xt->xt_sid = tp->t_session ? tp->t_session->s_sid : 0; in tty_to_xtty()1333 if (tp->t_session != NULL && in sysctl_kern_ttys()1334 (p = atomic_load_ptr(&tp->t_session->s_leader)) != NULL) { in sysctl_kern_ttys()1518 if ((s = tp->t_session) != NULL && in tty_signal_sessleader()1555 pgsigio(&tp->t_sigio, SIGIO, (tp->t_session != NULL)); in tty_wakeup()1721 if (tp->t_session != NULL && !tty_is_ctty(tp, td->td_proc)) in tty_generic_ioctl()1731 if (tp->t_session != NULL && !tty_is_ctty(tp, td->td_proc)) in tty_generic_ioctl()[all …]
343 if (tp->t_session == NULL) in ptsdev_ioctl()346 *(int *)data = tp->t_session->s_sid; in ptsdev_ioctl()
311 if (tp->t_session == NULL) { in tty_info()
949 if (tp->t_session == sp) in killjobc()1232 if (tp->t_session) in fill_kinfo_proc_pgrp()1233 kp->ki_tsid = tp->t_session->s_sid; in fill_kinfo_proc_pgrp()
309 if (tty.t_session != NULL) { in kvm_proclist()310 if (KREAD(kd, (u_long)tty.t_session, &sess)) { in kvm_proclist()313 tty.t_session); in kvm_proclist()
127 struct session *t_session; /* (t) Associated session. */ member