Searched refs:wo (Results 1 – 1 of 1) sorted by relevance
978 static int eligible_pid(struct wait_opts *wo, struct task_struct *p) in eligible_pid() argument980 return wo->wo_type == PIDTYPE_MAX || in eligible_pid()981 task_pid_type(p, wo->wo_type) == wo->wo_pid; in eligible_pid()985 eligible_child(struct wait_opts *wo, bool ptrace, struct task_struct *p) in eligible_child() argument987 if (!eligible_pid(wo, p)) in eligible_child()994 if (ptrace || (wo->wo_flags & __WALL)) in eligible_child()1005 if ((p->exit_signal != SIGCHLD) ^ !!(wo->wo_flags & __WCLONE)) in eligible_child()1011 static int wait_noreap_copyout(struct wait_opts *wo, struct task_struct *p, in wait_noreap_copyout() argument1015 int retval = wo->wo_rusage in wait_noreap_copyout()1016 ? getrusage(p, RUSAGE_BOTH, wo->wo_rusage) : 0; in wait_noreap_copyout()[all …]