Searched refs:pgid (Results 1 - 8 of 8) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | subr_log.c | 248 int pgid; local 257 pgid = logsoftc.sc_pgid; 259 if (pgid < 0) 260 gsignal(-pgid, SIGIO); 262 proc_signal(pgid, SIGIO);
|
H A D | kern_proc.c | 852 pgfind(pid_t pgid) argument 857 pgrp = pgfind_internal(pgid); 869 pgfind_internal(pid_t pgid) argument 873 for (pgrp = PGRPHASH(pgid)->lh_first; pgrp != 0; pgrp = pgrp->pg_hash.le_next) 874 if (pgrp->pg_id == pgid) 962 enterpgrp(proc_t p, pid_t pgid, int mksess) argument 968 pgrp = pgfind(pgid); 985 if (p->p_pid != pgid) 986 panic("enterpgrp: new pgrp and pid != pgid"); 1042 pgrp->pg_id = pgid; 2041 pid_t pgid; local [all...] |
H A D | kern_prot.c | 547 * uap->pgid Process group to join or create 558 * EPERM pid and pgid are not the same, and 561 * pgid 570 * substituted as the new target; if pgid is 0, the target pid 622 if (uap->pgid < 0) { 626 if (uap->pgid == 0) 627 uap->pgid = targp->p_pid; 628 else if (uap->pgid != targp->p_pid) { 629 if ((pg = pgfind(uap->pgid)) == 0){ 640 error = enterpgrp(targp, uap->pgid, [all...] |
H A D | kern_sig.c | 1294 killpg1(proc_t cp, int signum, int pgid, int all, int posix) argument 1336 if (pgid == 0) { 1338 * zero pgid means send to my process group. 1342 pgrp = pgfind(pgid); 1370 gsignal(int pgid, int signum) argument 1374 if (pgid && (pgrp = pgfind(pgid))) { 2802 pgsigio(pid_t pgid, int sig) argument 2806 if (pgid < 0) 2807 gsignal(-(pgid), si [all...] |
H A D | kern_exec.c | 1711 spga.pgid = px_sa.psa_pgroup;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | signalvar.h | 196 void gsignal(int pgid, int sig); 227 void pgsigio(pid_t pgid, int signalnum);
|
H A D | proc_internal.h | 503 #define PGRPHASH(pgid) (&pgrphashtbl[(pgid) & pgrphash]) 542 extern int enterpgrp(struct proc *p, pid_t pgid, int mksess);
|
H A D | sysproto.h | 380 char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)]; member in struct:setpgid_args
|
Completed in 139 milliseconds