Searched refs:PGRP_NULL (Results 1 – 11 of 11) sorted by relevance
486 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()
1106 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()
200 return PGRP_NULL; in tprintf_open()
2193 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()
228 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()
750 if ((pg = proc_pgrp(p, &sessp)) != PGRP_NULL) { in persona_proc_adopt()
753 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()
1755 if (pgrp == PGRP_NULL) { in pgsignal()1773 if (pg != PGRP_NULL) { in tty_pgsignal_locked()
2327 struct pgrp *tpgrp = PGRP_NULL; in proc_exit()2343 if (tpgrp != PGRP_NULL) { in proc_exit()
430 skip = pg != PGRP_NULL && in proc_listpids()742 if (pg != PGRP_NULL) { in proc_pidbsdinfo()
164 #define PGRP_NULL ((struct pgrp *)NULL) macro