Searched refs:s_ttyp (Results 1 – 9 of 9) sorted by relevance
184 if (sess && (p->p_flags & P_CONTROLT) != 0 && sess->s_ttyp != NULL) { in fill_kinfo_proc()185 kp->kp_tdev = devid_from_dev(sess->s_ttyp->t_dev); in fill_kinfo_proc()186 if (sess->s_ttyp->t_pgrp != NULL) in fill_kinfo_proc()187 kp->kp_tpgid = sess->s_ttyp->t_pgrp->pg_id; in fill_kinfo_proc()190 if (sess->s_ttyp->t_session != NULL) in fill_kinfo_proc()191 kp->kp_tsid = sess->s_ttyp->t_session->s_sid; in fill_kinfo_proc()
682 if (pgrp->pg_session->s_ttyp != NULL && in pgrel()684 pgrp->pg_session->s_ttyp->t_pgrp = NULL; in pgrel()785 sess->s_ttyp = NULL; in enterpgrp()930 if (sess->s_ttyp && sess->s_ttyp->t_session) { in sess_rele()933 KKASSERT(sess->s_ttyp->t_session == sess); in sess_rele()934 sess->s_ttyp->t_session = NULL; in sess_rele()937 if (sess->s_ttyp->t_session == sess) in sess_rele()938 sess->s_ttyp->t_session = NULL; in sess_rele()941 if ((tp = sess->s_ttyp) != NULL) { in sess_rele()942 sess->s_ttyp = NULL; in sess_rele()[all …]
456 if (sp->s_ttyp && (sp->s_ttyp->t_session == sp)) { in exit1()457 if (sp->s_ttyp->t_pgrp) in exit1()458 pgsignal(sp->s_ttyp->t_pgrp, SIGHUP, 1); in exit1()459 sp->s_ttyp->t_timeout = hz; in exit1()460 ttywait(sp->s_ttyp); in exit1()
256 if ((p->p_flags & P_CONTROLT) && p->p_pgrp->pg_session->s_ttyp) { in acct_process()258 devid_from_dev(p->p_pgrp->pg_session->s_ttyp->t_dev); in acct_process()
155 pca.tty = p->p_session->s_ttyp; in uprintf()195 if (sess && sess->s_ttyvp && ttycheckoutq(sess->s_ttyp, 0)) { in tprintf()197 tp = sess->s_ttyp; in tprintf()
305 if (sp->s_ttyp == tp) { in ttyclearsession()306 sp->s_ttyp = NULL; in ttyclearsession()310 "%p/%p\n", sp->s_ttyp, tp); in ttyclearsession()1195 otp = p->p_session->s_ttyp; in ttioctl()1196 p->p_session->s_ttyp = tp; in ttioctl()
283 if ((proc.p_flags & P_CONTROLT) && sess.s_ttyp != NULL) { in kvm_proclist()284 if (KREAD(kd, (u_long)sess.s_ttyp, &tty)) { in kvm_proclist()286 "can't read tty at %p", sess.s_ttyp); in kvm_proclist()289 sess.s_ttyp = &tty; in kvm_proclist()341 devid_from_dev(proc.p_pgrp->pg_session->s_ttyp->t_dev) in kvm_proclist()
102 if ((p->p_flags & P_CONTROLT) && (tp = sess->s_ttyp)) in procfs_dostatus()
100 struct tty *s_ttyp; /* Controlling terminal. */ member