Home
last modified time | relevance | path

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

/linux-5.19.10/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()
/linux-5.19.10/include/uapi/linux/
Dwait.h5 #define WNOHANG 0x00000001 macro
/linux-5.19.10/tools/testing/selftests/kvm/
Dhardware_disable_test.c149 if (pid != waitpid(pid, &status, WNOHANG)) in wait_for_child_setup()
185 r = waitpid(pid, &s, WNOHANG); in main()
/linux-5.19.10/tools/testing/selftests/timers/
Dskew_consistency.c57 while (pid != waitpid(pid, &ret, WNOHANG)) { in main()
Dclocksource-switch.c156 while (pid != waitpid(pid, &status, WNOHANG)) in main()
/linux-5.19.10/tools/testing/selftests/ptrace/
Dvmaccess.c62 k = waitpid(-1, &s, WNOHANG); in TEST()
/linux-5.19.10/arch/um/os-Linux/
Dutil.c153 while ((pid = waitpid(-1, NULL, WNOHANG | __WALL)) > 0) in os_dump_core()
/linux-5.19.10/scripts/
Dgenerate_initcall_order.pl167 $pid = waitpid(-1, WNOHANG);
/linux-5.19.10/tools/testing/selftests/rlimits/
Drlimits-per-userns.c120 pid_t ret = waitpid(child[i], &wstatus[i], WNOHANG); in main()
/linux-5.19.10/tools/include/nolibc/
Dtypes.h86 #define WNOHANG 1 macro
/linux-5.19.10/kernel/
Dexit.c1534 if (!retval && !(wo->wo_flags & WNOHANG)) { in do_wait()
1556 if (options & ~(WNOHANG|WNOWAIT|WEXITED|WSTOPPED|WCONTINUED| in kernel_waitid()
1603 wo.wo_flags |= WNOHANG; in kernel_waitid()
1606 if (!ret && !(options & WNOHANG) && (f_flags & O_NONBLOCK)) in kernel_waitid()
1654 if (options & ~(WNOHANG|WUNTRACED|WCONTINUED| in kernel_wait4()
/linux-5.19.10/tools/testing/selftests/pidfd/
Dpidfd_wait.c203 ret = sys_waitid(P_PIDFD, pidfd, &info, WEXITED | WNOHANG, NULL); in TEST()
/linux-5.19.10/tools/perf/
Dbuiltin-daemon.c418 pid = waitpid(session->pid, &status, WNOHANG); in handle_signalfd()
Dbuiltin-stat.c717 child_exited = waitpid(child_pid, &status, WNOHANG); in dispatch_events()