Lines Matching refs:Job
89 typedef struct job Job; typedef
91 Job *next; /* next job in list */
128 static Job *job_list; /* job list */
129 static Job *last_job;
130 static Job *async_job;
152 static void j_set_async(Job *);
153 static void j_startjob(Job *);
154 static int j_waitj(Job *, int, const char *);
156 static void j_print(Job *, int, struct shf *);
157 static Job *j_lookup(const char *, int *);
158 static Job *new_job(void);
160 static void check_job(Job *);
161 static void put_job(Job *, int);
162 static void remove_job(Job *, const char *);
163 static int kill_job(Job *, int);
288 Job *j; in j_exit()
451 Job *j;
681 Job *j;
715 Job *j;
775 Job *j;
820 Job *j;
921 Job *j;
951 Job *j, *tmp;
1003 Job *j, *tmp;
1064 j_set_async(Job *j)
1066 Job *jl, *oldest;
1101 j_startjob(Job *j)
1125 j_waitj(Job *j,
1328 Job *j;
1442 check_job(Job *j)
1545 j_print(Job *j, int how, struct shf *shf)
1682 static Job *
1685 Job *j, *last_match;
1772 static Job *free_jobs;
1780 static Job *
1784 Job *newj, *j;
1790 newj = alloc(sizeof(Job), APERM);
1830 remove_job(Job *j, const char *where)
1833 Job **prev, *curr;
1873 put_job(Job *j, int where)
1875 Job **prev, *curr;
1911 kill_job(Job *j, int sig)