| /linux/tools/testing/selftests/perf_events/ |
| H A D | remove_on_exec.c | 148 ASSERT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Child is running. */ in TEST_F() 157 EXPECT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Should still be running. */ in TEST_F() 190 EXPECT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Should still be running. */ in TEST_F() 219 EXPECT_EQ(waitpid(pids[i], &tmp, WNOHANG), 0); in TEST_F()
|
| /linux/include/uapi/linux/ |
| H A D | wait.h | 5 #define WNOHANG 0x00000001 macro
|
| /linux/tools/testing/selftests/timers/ |
| H A D | skew_consistency.c | 55 while (pid != waitpid(pid, &ret, WNOHANG)) { in main()
|
| H A D | clocksource-switch.c | 177 while (pid != waitpid(pid, &status, WNOHANG)) in main()
|
| /linux/tools/testing/selftests/ptrace/ |
| H A D | vmaccess.c | 62 k = waitpid(-1, &s, WNOHANG); in TEST()
|
| /linux/arch/um/os-Linux/ |
| H A D | util.c | 152 while ((pid = waitpid(-1, NULL, WNOHANG | __WALL)) > 0) in os_dump_core()
|
| H A D | process.c | 75 return waitpid(-1, &status, WNOHANG); in os_reap_child()
|
| /linux/tools/testing/selftests/rlimits/ |
| H A D | rlimits-per-userns.c | 120 pid_t ret = waitpid(child[i], &wstatus[i], WNOHANG); in main()
|
| /linux/scripts/ |
| H A D | generate_initcall_order.pl | 167 $pid = waitpid(-1, WNOHANG);
|
| /linux/tools/tracing/rtla/src/ |
| H A D | timerlat_u.c | 184 pid = waitpid(-1, &wstatus, WNOHANG); in timerlat_u_dispatcher()
|
| /linux/kernel/ |
| H A D | exit.c | 1698 if (!retval && !(wo->wo_flags & WNOHANG)) in __do_wait() 1737 if (options & ~(WNOHANG|WNOWAIT|WEXITED|WSTOPPED|WCONTINUED| in kernel_waitid_prepare() 1784 wo->wo_flags |= WNOHANG; in kernel_waitid_prepare() 1800 if (!ret && !(options & WNOHANG) && (wo.wo_flags & WNOHANG)) in kernel_waitid() 1848 if (options & ~(WNOHANG|WUNTRACED|WCONTINUED| in kernel_wait4()
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_wait.c | 202 ret = sys_waitid(P_PIDFD, pidfd, &info, WEXITED | WNOHANG); in TEST()
|
| /linux/tools/lib/subcmd/ |
| H A D | run-command.c | 177 pid_t waiting = waitpid(cmd->pid, &status, block ? 0 : WNOHANG); in wait_or_whine()
|
| /linux/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 1007 child = waitpid(t->pid, &status, WNOHANG); in __wait_for_test()
|
| /linux/tools/testing/selftests/nolibc/ |
| H A D | nolibc-test.c | 1401 CASE_TEST(waitpid_min); EXPECT_SYSER(1, waitpid(INT_MIN, &tmp, WNOHANG), -1, ESRCH); break; in run_syscall() 1402 …CASE_TEST(waitpid_child); EXPECT_SYSER(1, waitpid(getpid(), &tmp, WNOHANG), -1, ECHILD); break; in run_syscall()
|
| /linux/tools/perf/ |
| H A D | builtin-daemon.c | 419 pid = waitpid(session->pid, &status, WNOHANG); in handle_signalfd()
|
| H A D | builtin-stat.c | 642 child_exited = waitpid(child_pid, &status, WNOHANG); in dispatch_events()
|
| /linux/tools/perf/util/ |
| H A D | evlist.c | 1580 waitpid(evlist->workload.pid, &status, WNOHANG); in evlist__cancel_workload()
|