Searched refs:pgrp (Results 1 - 17 of 17) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_proc.c | 164 static void orphanpg(struct pgrp *pg); 169 static void pgrp_add(struct pgrp * pgrp, proc_t parent, proc_t child); 171 static void pgrp_replace(proc_t p, struct pgrp *pgrp); 172 static void pgdelete_dropref(struct pgrp *pgrp); 175 extern void pg_rele_dropref(struct pgrp * pgrp); 178 struct pgrp * p 854 struct pgrp * pgrp; local 871 struct pgrp *pgrp; local 880 pg_rele(struct pgrp * pgrp) argument 888 pg_rele_dropref(struct pgrp * pgrp) argument 964 struct pgrp *pgrp; local 1050 LIST_INSERT_HEAD(PGRPHASH(pgid), pgrp, pg_hash); local 1094 pgdelete_dropref(struct pgrp *pgrp) argument 1213 fixjobc(proc_t p, struct pgrp *pgrp, int entering) argument 1268 orphanpg(struct pgrp * pgrp) argument 2133 pgrp_add(struct pgrp * pgrp, struct proc * parent, struct proc * child) argument 2287 pgrp_lock(struct pgrp * pgrp) argument 2293 pgrp_unlock(struct pgrp * pgrp) argument 2314 struct pgrp * pgrp; local [all...] |
H A D | kern_sig.c | 1298 struct pgrp *pgrp; local 1340 pgrp = proc_pgrp(cp); 1342 pgrp = pgfind(pgid); 1343 if (pgrp == NULL) { 1355 /* PGRP_DROPREF drops the pgrp refernce */ 1356 pgrp_iterate(pgrp, PGRP_BLOCKITERATE | PGRP_DROPREF, killpg1_callback, &karg, 1372 struct pgrp *pgrp; local 1374 if (pgid && (pgrp 1408 pgsignal(struct pgrp *pgrp, int signum, int checkctty) argument [all...] |
H A D | tty.c | 259 struct pgrp * pg, * oldpg; 330 struct pgrp * oldpg; 357 /* drop the reference on prev session and pgrp */ 829 struct pgrp * pg, *oldpg; 966 case TIOCGPGRP: /* get pgrp of tty */ 1164 /* drop the reference on prev session and pgrp */ 1171 case TIOCSPGRP: { /* set pgrp of tty */ 1172 struct pgrp *pgrp = PGRP_NULL; local 1181 else if ((pgrp [all...] |
H A D | kern_malloc.c | 147 "pgrp", /* 17 M_PGRP */ 334 { SOS(pgrp), KMZ_CREATEZONE }, /* 17 M_PGRP */
|
H A D | kern_resource.c | 182 struct pgrp *pg = PGRP_NULL; 185 /* returns the pgrp to ref */ 330 struct pgrp *pg = PGRP_NULL;
|
H A D | bsd_init.c | 179 struct pgrp pgrp0; 377 /* Initialize process and pgrp structures. */ 438 /* There is no other bsd thread this point and is safe without pgrp lock */
|
H A D | kern_exit.c | 347 struct pgrp * pg; 457 * Signal foreground pgrp, 1606 struct pgrp * pg; 1637 * Signal foreground pgrp,
|
H A D | kern_prot.c | 526 struct pgrp * pg = PGRP_NULL; 533 /* enter pgrp works with its own pgrp refcount */ 582 struct pgrp *pg = PGRP_NULL; /* target pgrp */
|
H A D | tty_pty.c | 275 struct pgrp *pg;
|
H A D | kern_sysctl.c | 1286 struct pgrp * pg; 1365 struct pgrp * pg;
|
H A D | proc_info.c | 337 struct pgrp * pg;
|
H A D | tty_ptmx.c | 616 struct pgrp * pg;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | proc_internal.h | 125 pid_t s_ttypgrpid; /* tty's pgrp id */ 149 struct pgrp { struct 150 LIST_ENTRY(pgrp) pg_hash; /* Hash chain. (LL) */ 151 LIST_HEAD(, proc) pg_members; /* Pointer to pgrp members. (PGL) */ 154 int pg_jobc; /* # procs qualifying pgrp for job control (PGL) */ 158 lck_mtx_t pg_mlock; /* mutex lock to protect pgrp */ 167 #define PGRP_NULL (struct pgrp *)0 199 LIST_ENTRY(proc) p_pglist; /* List of processes in pgrp.(PGL) */ 300 struct pgrp *p_pgrp; /* Pointer to process group. (LL) */ 361 #define P_LIST_INPGRP 0x00020000 /* process is in pgrp */ [all...] |
H A D | proc.h | 95 struct pgrp; 147 struct pgrp *p_pgrp; /* Pointer to process group. */
|
H A D | signalvar.h | 216 void pgsignal(struct pgrp *pgrp, int sig, int checkctty);
|
H A D | types.h | 302 struct pgrp;
|
H A D | tty.h | 121 struct pgrp *t_pgrp; /* Foreground process group. */
|
Completed in 124 milliseconds