Searched refs:t_session (Results 1 – 6 of 6) sorted by relevance
418 return (p->p_session == tp->t_session && p->p_flag & P_CONTROLT); in tty_is_ctty()1192 if (tp->t_session == sess) { in tty_rel_sess()1193 tp->t_session = NULL; in tty_rel_sess()1305 xt->xt_sid = tp->t_session ? tp->t_session->s_sid : 0; in tty_to_xtty()1332 if (tp->t_session != NULL && in sysctl_kern_ttys()1333 (p = atomic_load_ptr(&tp->t_session->s_leader)) != NULL) { in sysctl_kern_ttys()1517 if ((s = tp->t_session) != NULL && in tty_signal_sessleader()1554 pgsigio(&tp->t_sigio, SIGIO, (tp->t_session != NULL)); in tty_wakeup()1702 if (tp->t_session != NULL && !tty_is_ctty(tp, td->td_proc)) in tty_generic_ioctl()1712 if (tp->t_session != NULL && !tty_is_ctty(tp, td->td_proc)) in tty_generic_ioctl()[all …]
344 if (tp->t_session == NULL) in ptsdev_ioctl()347 *(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()1231 if (tp->t_session) in fill_kinfo_proc_pgrp()1232 kp->ki_tsid = tp->t_session->s_sid; in fill_kinfo_proc_pgrp()
306 if (tty.t_session != NULL) { in kvm_proclist()307 if (KREAD(kd, (u_long)tty.t_session, &sess)) { in kvm_proclist()310 tty.t_session); in kvm_proclist()
127 struct session *t_session; /* (t) Associated session. */ member