Home
last modified time | relevance | path

Searched refs:PGRP_NULL (Results 1 – 11 of 11) sorted by relevance

/xnu-12377.41.6/bsd/kern/
H A Dkern_prot.c486 struct pgrp * pg = PGRP_NULL; in setsid_internal()
574 struct pgrp *curp_pg = PGRP_NULL; in setpgid()
575 struct pgrp *targp_pg = PGRP_NULL; in setpgid()
617 struct pgrp *pg = PGRP_NULL; in setpgid()
619 if ((pg = pgrp_find(uap->pgid)) == PGRP_NULL) { in setpgid()
1571 if ((pg = proc_pgrp(p, &sessp)) != PGRP_NULL) { in getlogin()
1589 if ((pg = proc_pgrp(p, &sessp)) != PGRP_NULL) { in setlogin_internal()
H A Dtty.c1106 if (pg == PGRP_NULL) { in ttioctl_locked()
1457 if (pg == PGRP_NULL) { in ttioctl_locked()
1538 struct pgrp *pgrp = PGRP_NULL; in ttioctl_locked()
1545 } else if ((pgrp = pgrp_find(*(int *)data)) == PGRP_NULL) { in ttioctl_locked()
2139 if (pg == PGRP_NULL) { in ttread()
2509 if (pg == PGRP_NULL) { in ttwrite()
H A Dsubr_prf.c200 return PGRP_NULL; in tprintf_open()
H A Dkern_proc.c2193 if ((pg = proc_pgrp(p, &procsp)) != PGRP_NULL) { in proc_gettty()
2224 if ((pg = proc_pgrp(p, NULL)) != PGRP_NULL) { in proc_gettty_dev()
2633 if (pgrp == PGRP_NULL) { in pgrp_rele()
2841 if (pgrp == PGRP_NULL) { in enterpgrp()
3016 struct pgrp *hispgrp = PGRP_NULL; in fixjobc()
4458 struct pgrp *pgrp = PGRP_NULL; in proc_pgrp()
4464 success = pgrp == PGRP_NULL || pg_ref_try(pgrp); in proc_pgrp()
4487 struct pgrp *pg = PGRP_NULL; in tty_pgrp_locked()
H A Dkern_resource.c228 struct pgrp *pg = PGRP_NULL; in getpriority()
233 } else if ((pg = pgrp_find(uap->who)) == PGRP_NULL) { in getpriority()
505 struct pgrp *pg = PGRP_NULL; in setpriority()
510 } else if ((pg = pgrp_find(uap->who)) == PGRP_NULL) { in setpriority()
H A Dkern_persona.c750 if ((pg = proc_pgrp(p, &sessp)) != PGRP_NULL) { in persona_proc_adopt()
H A Dkern_sysctl.c753 if ((p->p_flag & P_CONTROLT) && (pg = proc_pgrp(p, NULL)) != PGRP_NULL) { in sysdoproc_filt_KERN_PROC_TTY()
1029 if (pg != PGRP_NULL) { in fill_user32_eproc()
1060 if (pg != PGRP_NULL) { in fill_user32_eproc()
1086 if (pg != PGRP_NULL) { in fill_user64_eproc()
1117 if (pg != PGRP_NULL) { in fill_user64_eproc()
H A Dkern_sig.c1755 if (pgrp == PGRP_NULL) { in pgsignal()
1773 if (pg != PGRP_NULL) { in tty_pgsignal_locked()
H A Dkern_exit.c2327 struct pgrp *tpgrp = PGRP_NULL; in proc_exit()
2343 if (tpgrp != PGRP_NULL) { in proc_exit()
H A Dproc_info.c430 skip = pg != PGRP_NULL && in proc_listpids()
742 if (pg != PGRP_NULL) { in proc_pidbsdinfo()
/xnu-12377.41.6/bsd/sys/
H A Dproc_internal.h164 #define PGRP_NULL ((struct pgrp *)NULL) macro