Home
last modified time | relevance | path

Searched refs:t_pgrp (Results 1 – 5 of 5) sorted by relevance

/xnu-8796.121.2/bsd/kern/
H A Dtty.c364 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()
H A Dtty_dev.c995 *(int *)data = tp->t_pgrp ? tp->t_pgrp->pg_id : 0;
H A Dkern_proc.c4050 if (tp->t_pgrp) { in tty_pgrp_locked()
4051 pg = pg_ref(tp->t_pgrp); in tty_pgrp_locked()
/xnu-8796.121.2/bsd/sys/
H A Dtty.h129 struct pgrp *t_pgrp; /* (TTYL+LL) Foreground process group. */ member
/xnu-8796.121.2/tools/lldbmacros/
H A Dprocess.py992 print("Foreground Process Group: 0x{0:0>16x}".format(unsigned(tty.t_pgrp)))