Symbol: WNOHANG
arch/um/os-Linux/process.c
75
return waitpid(-1, &status, WNOHANG);
arch/um/os-Linux/util.c
152
while ((pid = waitpid(-1, NULL, WNOHANG | __WALL)) > 0)
kernel/exit.c
1738
if (!retval && !(wo->wo_flags & WNOHANG))
kernel/exit.c
1777
if (options & ~(WNOHANG|WNOWAIT|WEXITED|WSTOPPED|WCONTINUED|
kernel/exit.c
1824
wo->wo_flags |= WNOHANG;
kernel/exit.c
1840
if (!ret && !(options & WNOHANG) && (wo.wo_flags & WNOHANG))
kernel/exit.c
1888
if (options & ~(WNOHANG|WUNTRACED|WCONTINUED|
tools/lib/subcmd/run-command.c
187
pid_t waiting = waitpid(cmd->pid, &status, block ? 0 : WNOHANG);
tools/lib/subcmd/run-command.c
277
waiting = waitpid(cmd->pid, &status, WNOHANG);
tools/perf/builtin-daemon.c
418
pid = waitpid(session->pid, &status, WNOHANG);
tools/perf/builtin-lock.c
2132
if (argc && waitpid(con.evlist->workload.pid, NULL, WNOHANG) > 0)
tools/perf/builtin-sched.c
4001
if (argc && waitpid(evlist->workload.pid, NULL, WNOHANG) > 0)
tools/perf/builtin-sched.c
4894
if (argc && waitpid(evlist->workload.pid, NULL, WNOHANG) > 0)
tools/perf/builtin-stat.c
632
child_exited = waitpid(child_pid, &status, WNOHANG);
tools/perf/util/evlist.c
1631
waitpid(evlist->workload.pid, &status, WNOHANG);
tools/testing/selftests/kselftest_harness.h
1011
child = waitpid(t->pid, &status, WNOHANG);
tools/testing/selftests/kvm/hardware_disable_test.c
134
if (pid != waitpid(pid, &status, WNOHANG))
tools/testing/selftests/kvm/hardware_disable_test.c
170
r = waitpid(pid, &s, WNOHANG);
tools/testing/selftests/membarrier/membarrier_rseq_stress.c
581
while ((pid = waitpid(-1, &status, WNOHANG)) > 0) {
tools/testing/selftests/membarrier/membarrier_rseq_stress.c
892
int r = waitpid(child, &child_status, WNOHANG);
tools/testing/selftests/nolibc/nolibc-test.c
1643
CASE_TEST(waitpid_min); EXPECT_SYSER(1, waitpid(INT_MIN, &tmp, WNOHANG), -1, ESRCH); break;
tools/testing/selftests/nolibc/nolibc-test.c
1644
CASE_TEST(waitpid_child); EXPECT_SYSER(1, waitpid(getpid(), &tmp, WNOHANG), -1, ECHILD); break;
tools/testing/selftests/perf_events/remove_on_exec.c
148
ASSERT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Child is running. */
tools/testing/selftests/perf_events/remove_on_exec.c
157
EXPECT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Should still be running. */
tools/testing/selftests/perf_events/remove_on_exec.c
190
EXPECT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Should still be running. */
tools/testing/selftests/perf_events/remove_on_exec.c
219
EXPECT_EQ(waitpid(pids[i], &tmp, WNOHANG), 0);
tools/testing/selftests/pidfd/pidfd_autoreap_test.c
192
ret = waitpid(pid, NULL, WNOHANG);
tools/testing/selftests/pidfd/pidfd_autoreap_test.c
241
ret = waitpid(pid, NULL, WNOHANG);
tools/testing/selftests/pidfd/pidfd_autoreap_test.c
347
ret = waitpid(grandchild_pid, NULL, WNOHANG);
tools/testing/selftests/pidfd/pidfd_autoreap_test.c
437
ret = waitpid(pid, NULL, WNOHANG);
tools/testing/selftests/pidfd/pidfd_autoreap_test.c
520
ret = waitpid(pid, NULL, WNOHANG);
tools/testing/selftests/pidfd/pidfd_autoreap_test.c
705
ret = waitpid(pid, NULL, WNOHANG);
tools/testing/selftests/pidfd/pidfd_autoreap_test.c
823
ret = waitpid(pid, NULL, WNOHANG);
tools/testing/selftests/pidfd/pidfd_autoreap_test.c
96
ret = waitpid(pid, NULL, WNOHANG);
tools/testing/selftests/pidfd/pidfd_wait.c
202
ret = sys_waitid(P_PIDFD, pidfd, &info, WEXITED | WNOHANG);
tools/testing/selftests/pipe/pipe_bench.c
319
if (waitpid(pid, &status, WNOHANG) > 0)
tools/testing/selftests/ptrace/vmaccess.c
62
k = waitpid(-1, &s, WNOHANG);
tools/testing/selftests/rlimits/rlimits-per-userns.c
120
pid_t ret = waitpid(child[i], &wstatus[i], WNOHANG);
tools/testing/selftests/timers/clocksource-switch.c
177
while (pid != waitpid(pid, &status, WNOHANG))
tools/testing/selftests/timers/skew_consistency.c
55
while (pid != waitpid(pid, &ret, WNOHANG)) {
tools/tracing/rtla/src/timerlat_u.c
183
pid = waitpid(-1, &wstatus, WNOHANG);