Searched refs:WNOHANG (Results 1 – 13 of 13) sorted by relevance
/linux/tools/testing/selftests/perf_events/ |
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/tools/testing/selftests/kvm/ |
A D | hardware_disable_test.c | 149 if (pid != waitpid(pid, &status, WNOHANG)) in wait_for_child_setup() 185 r = waitpid(pid, &s, WNOHANG); in main()
|
/linux/include/uapi/linux/ |
A D | wait.h | 5 #define WNOHANG 0x00000001 macro
|
/linux/tools/testing/selftests/timers/ |
A D | skew_consistency.c | 57 while (pid != waitpid(pid, &ret, WNOHANG)) { in main()
|
A D | clocksource-switch.c | 156 while (pid != waitpid(pid, &status, WNOHANG)) in main()
|
/linux/tools/testing/selftests/ptrace/ |
A D | vmaccess.c | 62 k = waitpid(-1, &s, WNOHANG); in TEST()
|
/linux/arch/um/os-Linux/ |
A D | util.c | 147 while ((pid = waitpid(-1, NULL, WNOHANG | __WALL)) > 0) in os_dump_core()
|
/linux/scripts/ |
A D | generate_initcall_order.pl | 167 $pid = waitpid(-1, WNOHANG);
|
/linux/tools/testing/selftests/rlimits/ |
A D | rlimits-per-userns.c | 120 pid_t ret = waitpid(child[i], &wstatus[i], WNOHANG); in main()
|
/linux/kernel/ |
A D | exit.c | 1537 if (!retval && !(wo->wo_flags & WNOHANG)) { in do_wait() 1559 if (options & ~(WNOHANG|WNOWAIT|WEXITED|WSTOPPED|WCONTINUED| in kernel_waitid() 1606 wo.wo_flags |= WNOHANG; in kernel_waitid() 1609 if (!ret && !(options & WNOHANG) && (f_flags & O_NONBLOCK)) in kernel_waitid() 1657 if (options & ~(WNOHANG|WUNTRACED|WCONTINUED| in kernel_wait4()
|
/linux/tools/testing/selftests/pidfd/ |
A D | pidfd_wait.c | 205 ret = sys_waitid(P_PIDFD, pidfd, &info, WEXITED | WNOHANG, NULL); in TEST()
|
/linux/tools/perf/ |
A D | builtin-daemon.c | 418 pid = waitpid(session->pid, &status, WNOHANG); in handle_signalfd()
|
A D | builtin-stat.c | 702 child_exited = waitpid(child_pid, &status, WNOHANG); in dispatch_events()
|
Completed in 24 milliseconds