Lines Matching refs:process
59 struct process proclist;
62 struct process *pholdjob;
64 struct process *pcurrjob;
65 struct process *pcurrent;
66 struct process *pprevious;
71 static void pflush(struct process *);
72 static void pclrcurr(struct process *);
74 static int pprint(struct process *, int);
75 static void ptprint(struct process *);
78 static struct process *pgetcurr(struct process *);
93 struct process *fp, *pp;
207 struct process *pp;
233 struct process *fp, *pp;
262 pjwait(struct process *pp)
264 struct process *fp;
278 * target process, or any of its friends, are running
357 struct process *pp;
382 struct process *pp;
390 * pflush - flag all process structures in the same job as the
391 * the argument process for deletion. The actual free of the
395 pflush(struct process *pp)
397 struct process *np;
401 (void)fprintf(csherr, "BUG: process flushed twice");
428 pclrcurr(struct process *pp)
449 * palloc - allocate a process structure and fill it up.
450 * an important assumption is made that the process is running.
455 struct process *pp;
474 struct process *fp;
494 struct process *np;
629 struct process *pp, *tp;
650 pprint(struct process *pp, int flag)
653 struct process *tp;
811 ptprint(struct process *tp)
817 struct process *pp;
838 struct process *pp;
875 struct process *pp;
893 struct process *pp;
908 struct process *pp;
925 struct process *pp;
1016 struct process *pp, *np;
1059 * suspend a process, kill -CONT %, then type jobs; the shell
1105 pstart(struct process *pp, int foregnd)
1107 struct process *np;
1140 struct process *pp;
1148 struct process *
1151 struct process *pp, *np;
1200 static struct process *
1201 pgetcurr(struct process *pp)
1203 struct process *np, *xp;
1224 struct process *pp;
1235 * Wanttty tells whether process and/or tty pgrps are to be manipulated:
1237 * 0: already have tty; manipulate process pgrps only
1238 * 1: want to claim tty; manipulate process and tty pgrps
1253 * process from the tty so signals do not need to ignored just for '&'.
1267 * Hold SIGCHLD until we have the process installed in our table.
1363 * background jobs process groups Same for the comparison in the other part