Searched refs:t_pgrp (Results 1 – 5 of 5) sorted by relevance
364 oldpg = tp->t_pgrp; in ttyclose()371 tp->t_pgrp = NULL; in ttyclose()1161 *(int *)data = tp->t_pgrp ? tp->t_pgrp->pg_id : NO_PID; in ttioctl_locked()1396 oldpg = tp->t_pgrp; in ttioctl_locked()1398 tp->t_pgrp = pg; /* donate pg ref */ in ttioctl_locked()1450 oldpg = tp->t_pgrp; in ttioctl_locked()1451 tp->t_pgrp = pgrp; in ttioctl_locked()2908 if (tp->t_pgrp == NULL) { in ttyinfo_locked()3228 if (tp->t_pgrp == NULL || in isbackground()3229 (uintptr_t)tp->t_pgrp == smr_unsafe_load(&p->p_pgrp)) { in isbackground()
995 *(int *)data = tp->t_pgrp ? tp->t_pgrp->pg_id : 0;
4050 if (tp->t_pgrp) { in tty_pgrp_locked()4051 pg = pg_ref(tp->t_pgrp); in tty_pgrp_locked()
129 struct pgrp *t_pgrp; /* (TTYL+LL) Foreground process group. */ member
992 print("Foreground Process Group: 0x{0:0>16x}".format(unsigned(tty.t_pgrp)))