Lines Matching defs:options
780 error = kern_wait(td, uap->pid, &status, uap->options, rup);
815 error = kern_wait6(td, idtype, id, &status, uap->options, wrup, sip);
832 proc_reap(struct thread *td, struct proc *p, int *status, int options)
847 if (options & WNOWAIT) {
965 int *status, int options, struct __wrusage *wrusage, siginfo_t *siginfo)
1027 if (((options & WEXITED) == 0) && (p->p_state == PRS_ZOMBIE)) {
1041 ((options & WLINUXCLONE) != 0)) {
1102 proc_reap(td, p, status, options);
1111 kern_wait(struct thread *td, pid_t pid, int *status, int options,
1144 options |= WEXITED | WTRAPPED;
1145 ret = kern_wait6(td, idtype, id, status, options, wrup, NULL);
1153 int options, struct __wrusage *wrusage, siginfo_t *siginfo)
1160 AUDIT_ARG_VALUE(options);
1172 if ((options & ~(WUNTRACED | WNOHANG | WCONTINUED | WNOWAIT |
1175 if ((options & (WEXITED | WUNTRACED | WCONTINUED | WTRAPPED)) == 0) {
1194 ret = proc_to_reap(td, p, idtype, id, status, options,
1206 if ((options & WTRAPPED) != 0 &&
1212 if ((options & WNOWAIT) == 0)
1223 if ((options & WNOWAIT) == 0) {
1236 if ((options & WUNTRACED) != 0 &&
1241 if ((options & WNOWAIT) == 0)
1252 if ((options & WNOWAIT) == 0) {
1262 if ((options & WCONTINUED) != 0 &&
1266 if ((options & WNOWAIT) == 0) {
1298 ret = proc_to_reap(td, p, idtype, id, status, options,
1311 if (options & WNOHANG) {