Searched refs:t_pgrp (Results 1 – 5 of 5) sorted by relevance
313 if (tp->t_pgrp == NULL) { in tty_info()317 PGRP_LOCK(tp->t_pgrp); in tty_info()318 if (LIST_EMPTY(&tp->t_pgrp->pg_members)) { in tty_info()319 PGRP_UNLOCK(tp->t_pgrp); in tty_info()332 LIST_FOREACH(ppick, &tp->t_pgrp->pg_members, p_pglist) in tty_info()337 PGRP_UNLOCK(tp->t_pgrp); in tty_info()
1177 if (tp->t_pgrp == pg) in tty_rel_pgrp()1178 tp->t_pgrp = NULL; in tty_rel_pgrp()1301 xt->xt_pgid = tp->t_pgrp ? tp->t_pgrp->pg_id : 0; in tty_to_xtty()1518 if (tp->t_pgrp != NULL) { in tty_signal_pgrp()1522 PGRP_LOCK(tp->t_pgrp); in tty_signal_pgrp()1524 PGRP_UNLOCK(tp->t_pgrp); in tty_signal_pgrp()1793 if (tp->t_pgrp != NULL) in tty_generic_ioctl()1851 tp->t_pgrp = p->p_pgrp; in tty_generic_ioctl()1887 tp->t_pgrp = pg; in tty_generic_ioctl()2400 tp->t_pgrp ? tp->t_pgrp->pg_id : 0); in DB_SHOW_COMMAND()[all …]
343 if (tp->t_pgrp != NULL) in ptsdev_ioctl()344 *(int *)data = tp->t_pgrp->pg_id; in ptsdev_ioctl()
1200 kp->ki_tpgid = tp->t_pgrp ? tp->t_pgrp->pg_id : NO_PID; in fill_kinfo_proc_pgrp()
128 struct pgrp *t_pgrp; /* (t) Foreground process group. */ member