Lines Matching refs:jobflags
55 int jobflags; in pchild() local
108 jobflags = 0; in pchild()
116 jobflags |= fp->p_flags; in pchild()
123 if ((jobflags & (PRUNNING|PREPORTED)) == 0) { in pchild()
131 if (jobflags&PSTOPPED) { in pchild()
137 if (jobflags&PFOREGND) { in pchild()
138 if (jobflags & (PSIGNALED|PSTOPPED|PPTIME) || in pchild()
140 jobflags & PAEXITED || in pchild()
146 if (jobflags&PNOTIFY || adrof(S_notify /* "notify" */)) { in pchild()
150 if ((jobflags&PSTOPPED) == 0) in pchild()
222 int jobflags, reason, omask; in pjwait() local
241 jobflags = 0; in pjwait()
243 jobflags |= fp->p_flags; in pjwait()
245 if ((jobflags & PRUNNING) == 0) in pjwait()
274 if ((jobflags&(PSIGNALED|PSTOPPED|PTIME)) || in pjwait()
276 if (jobflags&PSTOPPED) in pjwait()
280 if ((jobflags&(PINTERRUPTED|PSTOPPED)) && setintr && in pjwait()
282 if ((jobflags & PSTOPPED) == 0) in pjwait()
622 int jobflags, pstatus; in pprint() local
636 jobflags = 0; in pprint()
638 jobflags |= pp->p_flags; in pprint()
741 if (jobflags&PTIME && (jobflags&(PSTOPPED|PRUNNING)) == 0) { in pprint()
742 if (jobflags & NUMBER) in pprint()
746 return (jobflags); in pprint()
946 int jobflags = 0; in pkill() local
962 jobflags |= np->p_flags; in pkill()
970 if ((jobflags & PRUNNING) == 0) { in pkill()
1014 int omask, jobflags = 0; in pstart() local
1022 jobflags |= np->p_flags; in pstart()
1054 if (jobflags&PSTOPPED) in pstart()