Home
last modified time | relevance | path

Searched refs:wo (Results 1 – 1 of 1) sorted by relevance

/kernel/
Dexit.c935 static int eligible_pid(struct wait_opts *wo, struct task_struct *p) in eligible_pid() argument
937 return wo->wo_type == PIDTYPE_MAX || in eligible_pid()
938 task_pid_type(p, wo->wo_type) == wo->wo_pid; in eligible_pid()
942 eligible_child(struct wait_opts *wo, bool ptrace, struct task_struct *p) in eligible_child() argument
944 if (!eligible_pid(wo, p)) in eligible_child()
951 if (ptrace || (wo->wo_flags & __WALL)) in eligible_child()
962 if ((p->exit_signal != SIGCHLD) ^ !!(wo->wo_flags & __WCLONE)) in eligible_child()
974 static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p) in wait_task_zombie() argument
981 if (!likely(wo->wo_flags & WEXITED)) in wait_task_zombie()
984 if (unlikely(wo->wo_flags & WNOWAIT)) { in wait_task_zombie()
[all …]