Lines Matching refs:jobflags
62 int jobflags; in pchild() local
114 jobflags = 0; in pchild()
122 jobflags |= fp->p_flags; in pchild()
129 if ((jobflags & (PRUNNING|PREPORTED)) == 0) { in pchild()
137 if (jobflags&PSTOPPED) { in pchild()
143 if (jobflags&PFOREGND) { in pchild()
144 if (jobflags & (PSIGNALED|PSTOPPED|PPTIME) || in pchild()
146 jobflags & PAEXITED || in pchild()
152 if (jobflags&PNOTIFY || adrof(S_notify /* "notify" */)) { in pchild()
156 if ((jobflags&PSTOPPED) == 0) in pchild()
228 int jobflags, reason, omask; in pjwait() local
247 jobflags = 0; in pjwait()
249 jobflags |= fp->p_flags; in pjwait()
251 if ((jobflags & PRUNNING) == 0) in pjwait()
280 if ((jobflags&(PSIGNALED|PSTOPPED|PTIME)) || in pjwait()
282 if (jobflags&PSTOPPED) in pjwait()
286 if ((jobflags&(PINTERRUPTED|PSTOPPED)) && setintr && in pjwait()
288 if ((jobflags & PSTOPPED) == 0) in pjwait()
628 int jobflags, pstatus; in pprint() local
642 jobflags = 0; in pprint()
644 jobflags |= pp->p_flags; in pprint()
747 if (jobflags&PTIME && (jobflags&(PSTOPPED|PRUNNING)) == 0) { in pprint()
748 if (jobflags & NUMBER) in pprint()
752 return (jobflags); in pprint()
952 int jobflags = 0; in pkill() local
968 jobflags |= np->p_flags; in pkill()
976 if ((jobflags & PRUNNING) == 0) { in pkill()
1020 int omask, jobflags = 0; in pstart() local
1028 jobflags |= np->p_flags; in pstart()
1060 if (jobflags&PSTOPPED) in pstart()