Searched refs:WEXITED (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 58 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()
|
D | pidfd_setns_test.c | 166 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/ |
D | wait.h | 8 #define WEXITED 0x00000004 macro
|
/linux-5.19.10/kernel/ |
D | exit.c | 1007 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/ |
D | ptrace-syscall.c | 45 if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) in wait_trap()
|
/linux-5.19.10/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 389 if (options & WEXITED) { in clone_reap() 600 (void)clone_reap(pid, WEXITED); in clone_into_cgroup_run_wait()
|
D | test_core.c | 221 (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/ |
D | ptrace_syscall.c | 87 if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) in wait_trap()
|