Home
last modified time | relevance | path

Searched refs:t_session (Results 1 – 6 of 6) sorted by relevance

/freebsd-12-stable/sys/kern/
Dtty.c410 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 …]
Dtty_info.c238 if (tp->t_session == NULL) { in tty_info()
Dtty_pts.c348 if (tp->t_session == NULL) in ptsdev_ioctl()
351 *(int *)data = tp->t_session->s_sid; in ptsdev_ioctl()
Dkern_proc.c817 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()
/freebsd-12-stable/lib/libkvm/
Dkvm_proc.c313 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()
/freebsd-12-stable/sys/sys/
Dtty.h129 struct session *t_session; /* (t) Associated session. */ member