Lines Matching refs:t_pgrp
456 if (!tty_is_ctty(tp, p) || p->p_pgrp == tp->t_pgrp) { in tty_wait_background()
1178 if (tp->t_pgrp == pg) in tty_rel_pgrp()
1179 tp->t_pgrp = NULL; in tty_rel_pgrp()
1193 MPASS(tp->t_pgrp == NULL); in tty_rel_sess()
1303 xt->xt_pgid = tp->t_pgrp ? tp->t_pgrp->pg_id : 0; in tty_to_xtty()
1538 if (tp->t_pgrp != NULL) { in tty_signal_pgrp()
1542 PGRP_LOCK(tp->t_pgrp); in tty_signal_pgrp()
1543 pgsignal(tp->t_pgrp, sig, 1, &ksi); in tty_signal_pgrp()
1544 PGRP_UNLOCK(tp->t_pgrp); in tty_signal_pgrp()
1847 if (tp->t_pgrp != NULL) in tty_generic_ioctl()
1848 *(int *)data = tp->t_pgrp->pg_id; in tty_generic_ioctl()
1905 tp->t_pgrp = p->p_pgrp; in tty_generic_ioctl()
1941 tp->t_pgrp = pg; in tty_generic_ioctl()
2447 db_printf("\tpgrp: %p gid %d\n", tp->t_pgrp, in DB_SHOW_COMMAND()
2448 tp->t_pgrp ? tp->t_pgrp->pg_id : 0); in DB_SHOW_COMMAND()
2489 tp->t_pgrp ? tp->t_pgrp->pg_id : 0); in DB_SHOW_ALL_COMMAND()