Searched refs:pgrp (Results 1 - 17 of 17) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_proc.c164 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 Dkern_sig.c1298 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 Dtty.c259 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 Dkern_malloc.c147 "pgrp", /* 17 M_PGRP */
334 { SOS(pgrp), KMZ_CREATEZONE }, /* 17 M_PGRP */
H A Dkern_resource.c182 struct pgrp *pg = PGRP_NULL;
185 /* returns the pgrp to ref */
330 struct pgrp *pg = PGRP_NULL;
H A Dbsd_init.c179 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 Dkern_exit.c347 struct pgrp * pg;
457 * Signal foreground pgrp,
1606 struct pgrp * pg;
1637 * Signal foreground pgrp,
H A Dkern_prot.c526 struct pgrp * pg = PGRP_NULL;
533 /* enter pgrp works with its own pgrp refcount */
582 struct pgrp *pg = PGRP_NULL; /* target pgrp */
H A Dtty_pty.c275 struct pgrp *pg;
H A Dkern_sysctl.c1286 struct pgrp * pg;
1365 struct pgrp * pg;
H A Dproc_info.c337 struct pgrp * pg;
H A Dtty_ptmx.c616 struct pgrp * pg;
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dproc_internal.h125 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 Dproc.h95 struct pgrp;
147 struct pgrp *p_pgrp; /* Pointer to process group. */
H A Dsignalvar.h216 void pgsignal(struct pgrp *pgrp, int sig, int checkctty);
H A Dtypes.h302 struct pgrp;
H A Dtty.h121 struct pgrp *t_pgrp; /* Foreground process group. */

Completed in 81 milliseconds