Home
last modified time | relevance | path

Searched refs:WEXITED (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/tools/testing/selftests/pidfd/
Dpidfd_wait.c58 pid = sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL); in TEST()
66 pid = sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL); in TEST()
77 pid = sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL); in TEST()
131 ASSERT_EQ(sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL), 0); in TEST()
166 ret = sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL); in TEST()
194 ret = sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL); in TEST()
203 ret = sys_waitid(P_PIDFD, pidfd, &info, WEXITED | WNOHANG, NULL); in TEST()
215 ASSERT_EQ(sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL), 0); in TEST()
Dpidfd_setns_test.c166 ASSERT_EQ(sys_waitid(P_PID, self->child_pid_exited, WEXITED | WNOWAIT), 0); in FIXTURE_SETUP()
297 ASSERT_EQ(sys_waitid(P_PID, self->child_pid_exited, WEXITED), 0); in FIXTURE_TEARDOWN()
298 ASSERT_EQ(sys_waitid(P_PID, self->child_pid1, WEXITED), 0); in FIXTURE_TEARDOWN()
299 ASSERT_EQ(sys_waitid(P_PID, self->child_pid2, WEXITED), 0); in FIXTURE_TEARDOWN()
/linux-5.19.10/include/uapi/linux/
Dwait.h8 #define WEXITED 0x00000004 macro
/linux-5.19.10/kernel/
Dexit.c1007 if (!likely(wo->wo_flags & WEXITED)) in wait_task_zombie()
1361 if (likely(!ptrace) || (wo->wo_flags & (WCONTINUED | WEXITED))) in wait_consider_task()
1556 if (options & ~(WNOHANG|WNOWAIT|WEXITED|WSTOPPED|WCONTINUED| in kernel_waitid()
1559 if (!(options & (WEXITED|WSTOPPED|WCONTINUED))) in kernel_waitid()
1677 wo.wo_flags = options | WEXITED; in kernel_wait4()
1694 .wo_flags = WEXITED, in kernel_wait()
/linux-5.19.10/tools/testing/selftests/powerpc/ptrace/
Dptrace-syscall.c45 if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) in wait_trap()
/linux-5.19.10/tools/testing/selftests/cgroup/
Dcgroup_util.c389 if (options & WEXITED) { in clone_reap()
600 (void)clone_reap(pid, WEXITED); in clone_into_cgroup_run_wait()
Dtest_core.c221 (void)clone_reap(pid, WEXITED); in test_cgcore_populated()
241 (void)clone_reap(pid, WEXITED); in test_cgcore_populated()
/linux-5.19.10/tools/testing/selftests/x86/
Dptrace_syscall.c87 if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) in wait_trap()