Lines Matching refs:j_flag
57 ushort_t j_flag; /* various status flags defined below */ member
199 if (jp->j_flag & J_FOREGND) in collect_fg_job()
230 if (jp->j_flag & J_STOPPED) { in statjob()
231 jp->j_flag &= ~(J_STOPPED|J_SIGNALED|J_SAVETTY); in statjob()
232 jp->j_flag |= J_RUNNING; in statjob()
234 jp->j_flag |= J_NOTIFY; in statjob()
240 jp->j_flag &= ~J_RUNNING; in statjob()
241 jp->j_flag |= (J_SIGNALED|J_STOPPED); in statjob()
248 jp->j_flag |= J_SAVETTY; in statjob()
254 jp->j_flag |= J_NOTIFY; in statjob()
258 jp->j_flag &= ~J_RUNNING; in statjob()
259 jp->j_flag |= J_DONE; in statjob()
264 jp->j_flag |= J_SIGNALED; in statjob()
266 jp->j_flag |= J_DUMPED; in statjob()
268 jp->j_flag |= J_NOTIFY; in statjob()
273 jp->j_flag &= ~J_SIGNALED; in statjob()
275 jp->j_flag |= J_NOTIFY; in statjob()
287 if (jp->j_flag & J_SIGNALED) in statjob()
291 if (done && !(jp->j_flag & J_NOTIFY)) in statjob()
340 if (jp->j_flag & J_NOTIFY) { in freejobs()
343 else if (jp->j_flag & J_FOREGND) in freejobs()
354 if (jp->j_flag & J_DONE) in freejobs()
424 if (jp->j_flag & J_SAVETTY) { in restartjob()
436 jp->j_flag &= ~(J_STOPPED|J_SIGNALED|J_SAVETTY); in restartjob()
437 jp->j_flag |= J_RUNNING; in restartjob()
439 jp->j_flag |= J_FOREGND; in restartjob()
443 jp->j_flag &= ~J_FOREGND; in restartjob()
453 if (jp->j_flag & J_NOTIFY) { in printjob()
455 jp->j_flag &= ~J_NOTIFY; in printjob()
489 if (jp->j_flag & J_SIGNALED) { in printjob()
501 if (jp->j_flag & J_DUMPED) { in printjob()
506 } else if (jp->j_flag & J_DONE) { in printjob()
591 if (jp->j_jid && (jp->j_flag & J_STOPPED)) {
600 if (jp->j_jid && (jp->j_flag & J_RUNNING)) {
731 thisjob->j_flag = J_RUNNING;
737 thisjob->j_flag |= J_FOREGND;
897 if (!(jp->j_flag & J_RUNNING))
1059 if (jp->j_flag & J_FOREGND) { in hupforegnd()