Searched refs:s_ttyp (Results 1 – 5 of 5) sorted by relevance
386 if ((p->p_flag & P_CONTROLT) && p->p_pgrp->pg_session->s_ttyp) in acct_process()387 acct.ac_tty = tty_udev(p->p_pgrp->pg_session->s_ttyp); in acct_process()
1245 if (session->s_ttyp == NULL || session->s_ttyp != tp) { in tty_drop_ctty()1258 session->s_ttyp = NULL; in tty_drop_ctty()1827 if (p->p_session->s_ttyp != NULL || in tty_generic_ioctl()1847 tp->t_session->s_ttyp = tp; in tty_generic_ioctl()2405 tp->t_session->s_ttyp, tp->t_session->s_sid, in DB_SHOW_COMMAND()
599 sess->s_ttyp = NULL; in enterpgrp()792 tp = pgrp->pg_session->s_ttyp; in pgdelete()894 tp = sp->s_ttyp; in killjobc()974 if (s->s_ttyp != NULL) { in sess_release()975 tty_lock(s->s_ttyp); in sess_release()976 tty_rel_sess(s->s_ttyp, s); in sess_release()1193 tp = sp->s_ttyp; in fill_kinfo_proc_pgrp()1658 if (p->p_session->s_ttyp == NULL || in sysctl_kern_proc_iterate()1659 tty_udev(p->p_session->s_ttyp) != in sysctl_kern_proc_iterate()
199 pca.tty = p->p_session->s_ttyp; in uprintf()248 tp = sess->s_ttyp; in vtprintf()
93 struct tty *s_ttyp; /* (e) Controlling tty. */ member