Searched refs:WNOHANG (Results 1 – 12 of 12) sorted by relevance
/tools/testing/selftests/perf_events/ |
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()
|
/tools/testing/selftests/timers/ |
D | skew_consistency.c | 57 while (pid != waitpid(pid, &ret, WNOHANG)) { in main()
|
D | clocksource-switch.c | 177 while (pid != waitpid(pid, &status, WNOHANG)) in main()
|
/tools/testing/selftests/kvm/ |
D | hardware_disable_test.c | 138 if (pid != waitpid(pid, &status, WNOHANG)) in wait_for_child_setup() 174 r = waitpid(pid, &s, WNOHANG); in main()
|
/tools/testing/selftests/ptrace/ |
D | vmaccess.c | 62 k = waitpid(-1, &s, WNOHANG); in TEST()
|
/tools/testing/selftests/rlimits/ |
D | rlimits-per-userns.c | 120 pid_t ret = waitpid(child[i], &wstatus[i], WNOHANG); in main()
|
/tools/tracing/rtla/src/ |
D | timerlat_u.c | 188 pid = waitpid(-1, &wstatus, WNOHANG); in timerlat_u_dispatcher()
|
/tools/include/nolibc/ |
D | types.h | 112 #define WNOHANG 1 macro
|
/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 213 ret = sys_waitid(P_PIDFD, pidfd, &info, WEXITED | WNOHANG, NULL); in TEST()
|
/tools/testing/selftests/nolibc/ |
D | nolibc-test.c | 919 CASE_TEST(waitpid_min); EXPECT_SYSER(1, waitpid(INT_MIN, &tmp, WNOHANG), -1, ESRCH); break; in run_syscall() 920 …CASE_TEST(waitpid_child); EXPECT_SYSER(1, waitpid(getpid(), &tmp, WNOHANG), -1, ECHILD); break; in run_syscall()
|
/tools/perf/ |
D | builtin-daemon.c | 418 pid = waitpid(session->pid, &status, WNOHANG); in handle_signalfd()
|
D | builtin-stat.c | 605 child_exited = waitpid(child_pid, &status, WNOHANG); in dispatch_events()
|