Home
last modified time | relevance | path

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

/tools/testing/selftests/perf_events/
Dremove_on_exec.c148 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/
Dskew_consistency.c57 while (pid != waitpid(pid, &ret, WNOHANG)) { in main()
Dclocksource-switch.c177 while (pid != waitpid(pid, &status, WNOHANG)) in main()
/tools/testing/selftests/kvm/
Dhardware_disable_test.c138 if (pid != waitpid(pid, &status, WNOHANG)) in wait_for_child_setup()
174 r = waitpid(pid, &s, WNOHANG); in main()
/tools/testing/selftests/ptrace/
Dvmaccess.c62 k = waitpid(-1, &s, WNOHANG); in TEST()
/tools/testing/selftests/rlimits/
Drlimits-per-userns.c120 pid_t ret = waitpid(child[i], &wstatus[i], WNOHANG); in main()
/tools/tracing/rtla/src/
Dtimerlat_u.c188 pid = waitpid(-1, &wstatus, WNOHANG); in timerlat_u_dispatcher()
/tools/include/nolibc/
Dtypes.h112 #define WNOHANG 1 macro
/tools/testing/selftests/pidfd/
Dpidfd_wait.c213 ret = sys_waitid(P_PIDFD, pidfd, &info, WEXITED | WNOHANG, NULL); in TEST()
/tools/testing/selftests/nolibc/
Dnolibc-test.c919 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/
Dbuiltin-daemon.c418 pid = waitpid(session->pid, &status, WNOHANG); in handle_signalfd()
Dbuiltin-stat.c605 child_exited = waitpid(child_pid, &status, WNOHANG); in dispatch_events()