Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/perf_events/
A 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/tools/testing/selftests/kvm/
A Dhardware_disable_test.c149 if (pid != waitpid(pid, &status, WNOHANG)) in wait_for_child_setup()
185 r = waitpid(pid, &s, WNOHANG); in main()
/linux/include/uapi/linux/
A Dwait.h5 #define WNOHANG 0x00000001 macro
/linux/tools/testing/selftests/timers/
A Dskew_consistency.c57 while (pid != waitpid(pid, &ret, WNOHANG)) { in main()
A Dclocksource-switch.c156 while (pid != waitpid(pid, &status, WNOHANG)) in main()
/linux/tools/testing/selftests/ptrace/
A Dvmaccess.c62 k = waitpid(-1, &s, WNOHANG); in TEST()
/linux/arch/um/os-Linux/
A Dutil.c147 while ((pid = waitpid(-1, NULL, WNOHANG | __WALL)) > 0) in os_dump_core()
/linux/scripts/
A Dgenerate_initcall_order.pl167 $pid = waitpid(-1, WNOHANG);
/linux/tools/testing/selftests/rlimits/
A Drlimits-per-userns.c120 pid_t ret = waitpid(child[i], &wstatus[i], WNOHANG); in main()
/linux/kernel/
A Dexit.c1537 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 Dpidfd_wait.c205 ret = sys_waitid(P_PIDFD, pidfd, &info, WEXITED | WNOHANG, NULL); in TEST()
/linux/tools/perf/
A Dbuiltin-daemon.c418 pid = waitpid(session->pid, &status, WNOHANG); in handle_signalfd()
A Dbuiltin-stat.c702 child_exited = waitpid(child_pid, &status, WNOHANG); in dispatch_events()

Completed in 34 milliseconds