Searched refs:pgid (Results 1 - 7 of 7) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | subr_log.c | 254 int pgid; local 263 pgid = logsoftc.sc_pgid; 265 if (pgid < 0) 266 gsignal(-pgid, SIGIO); 268 proc_signal(pgid, SIGIO);
|
H A D | kern_proc.c | 908 pgfind(pid_t pgid) argument 913 pgrp = pgfind_internal(pgid); 925 pgfind_internal(pid_t pgid) argument 929 for (pgrp = PGRPHASH(pgid)->lh_first; pgrp != 0; pgrp = pgrp->pg_hash.le_next) 930 if (pgrp->pg_id == pgid) 1018 enterpgrp(proc_t p, pid_t pgid, int mksess) argument 1024 pgrp = pgfind(pgid); 1041 if (p->p_pid != pgid) 1042 panic("enterpgrp: new pgrp and pid != pgid"); 1102 pgrp->pg_id = pgid; 2226 pid_t pgid; local [all...] |
H A D | kern_prot.c | 554 * uap->pgid Process group to join or create 565 * EPERM pid and pgid are not the same, and 568 * pgid 577 * substituted as the new target; if pgid is 0, the target pid 629 if (uap->pgid < 0) { 633 if (uap->pgid == 0) 634 uap->pgid = targp->p_pid; 635 else if (uap->pgid != targp->p_pid) { 636 if ((pg = pgfind(uap->pgid)) == 0){ 647 error = enterpgrp(targp, uap->pgid, [all...] |
H A D | kern_sig.c | 1500 killpg1(proc_t cp, int signum, int pgid, int all, int posix) argument 1526 if (pgid == 0) { 1528 * zero pgid means send to my process group. 1532 pgrp = pgfind(pgid); 1561 gsignal(int pgid, int signum) argument 1565 if (pgid && (pgrp = pgfind(pgid))) { 3075 pgsigio(pid_t pgid, int sig) argument 3079 if (pgid < 0) 3080 gsignal(-(pgid), si [all...] |
H A D | kern_exec.c | 1891 spga.pgid = px_sa.psa_pgroup;
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | signalvar.h | 196 void gsignal(int pgid, int sig); 226 void pgsigio(pid_t pgid, int signalnum);
|
H A D | proc_internal.h | 632 #define PGRPHASH(pgid) (&pgrphashtbl[(pgid) & pgrphash]) 679 extern int enterpgrp(struct proc *p, pid_t pgid, int mksess);
|
Completed in 43 milliseconds