/linux/tools/testing/selftests/perf_events/ |
A D | remove_on_exec.c | 113 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST_F() 148 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() 164 EXPECT_EQ(waitpid(pid_only_fork, &tmp, 0), pid_only_fork); 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/ptrace/ |
A D | vmaccess.c | 62 k = waitpid(-1, &s, WNOHANG); in TEST() 71 k = waitpid(-1, &s, 0); in TEST() 77 k = waitpid(-1, &s, 0); in TEST() 81 k = waitpid(-1, NULL, 0); in TEST()
|
A D | peeksiginfo.c | 191 waitpid(child, NULL, 0); in main() 216 waitpid(child, NULL, 0); in main()
|
/linux/tools/testing/selftests/powerpc/math/ |
A D | fpu_syscall.c | 37 waitpid(fork_pid, &child_ret, 0); in syscall_fpu() 66 waitpid(pid2, &child_ret, 0); in test_syscall_fpu() 74 waitpid(pid, &child_ret, 0); in test_syscall_fpu()
|
A D | vmx_syscall.c | 38 waitpid(fork_pid, &child_ret, 0); in vmx_syscall() 72 waitpid(pid2, &child_ret, 0); in test_vmx_syscall() 80 waitpid(pid, &child_ret, 0); in test_vmx_syscall()
|
/linux/tools/perf/arch/x86/tests/ |
A D | bp-modify.c | 67 waitpid(child, &status, 0); in bp_modify1() 106 waitpid(child, &status, 0); in bp_modify1() 144 waitpid(child, &status, 0); in bp_modify2() 182 waitpid(child, &status, 0); in bp_modify2()
|
/linux/arch/um/os-Linux/ |
A D | start_up.c | 105 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in start_ptraced_child() 129 CATCH_EINTR(n = waitpid(pid, &status, 0)); in stop_ptraced_child() 176 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_sysemu() 216 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_sysemu() 274 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_ptrace()
|
A D | helper.c | 99 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in run_helper() 132 CATCH_EINTR(pid = waitpid(pid, &status, __WALL)); in run_helper_thread() 153 CATCH_EINTR(ret = waitpid(pid, &status, wflags)); in helper_wait()
|
A D | process.c | 107 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in os_kill_process() 121 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in os_kill_ptraced_process()
|
/linux/tools/testing/selftests/landlock/ |
A D | ptrace_test.c | 257 ASSERT_EQ(parent, waitpid(parent, &status, 0)); in TEST_F() 303 ASSERT_EQ(child, waitpid(child, &status, 0)); in TEST_F() 324 ASSERT_EQ(child, waitpid(child, &status, 0)); in TEST_F() 331 ASSERT_EQ(child, waitpid(child, &status, 0)); in TEST_F()
|
/linux/tools/testing/selftests/x86/ |
A D | fsgsbase_restore.c | 185 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in main() 214 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in main() 224 if (waitpid(chld, &status, 0) != chld) in main()
|
A D | ptrace_syscall.c | 198 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_ptrace_syscall_restart() 285 if (waitpid(chld, &status, 0) != chld) in test_ptrace_syscall_restart() 319 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_restart_under_ptrace() 374 if (waitpid(chld, &status, 0) != chld) in test_restart_under_ptrace() 406 if (waitpid(chld, &status, 0) != chld) in test_restart_under_ptrace()
|
A D | mov_ss_trap.c | 61 if (waitpid(child, &status, 0) != child) in enable_watchpoint() 76 if (waitpid(parent, &status, 0) != parent) in enable_watchpoint()
|
/linux/tools/testing/selftests/proc/ |
A D | proc-loadavg-001.c | 61 if (waitpid(pid, NULL, 0) == -1) in main() 77 if (waitpid(pid, &wstatus, 0) == -1) in main()
|
/linux/tools/testing/selftests/breakpoints/ |
A D | step_after_suspend_test.c | 63 wpid = waitpid(pid, &status, __WALL); in run_test() 90 wpid = waitpid(pid, &status, __WALL); in run_test() 116 wpid = waitpid(pid, &status, __WALL); in run_test()
|
A D | breakpoint_test_arm64.c | 127 wpid = waitpid(pid, &status, __WALL); in run_test() 154 wpid = waitpid(pid, &status, __WALL); in run_test() 186 wpid = waitpid(pid, &status, 0); in run_test()
|
/linux/tools/testing/selftests/clone3/ |
A D | clone3_cap_checkpoint_restore.c | 72 if (waitpid(pid, &status, 0) < 0) { in call_clone3_set_tid() 158 ASSERT_GT(waitpid(pid, &status, 0), 0) in TEST()
|
A D | clone3_set_tid.c | 108 if (waitpid(pid, &status, 0) < 0) { in call_clone3_set_tid() 262 if (waitpid(pid, &status, 0) < 0) in main() 373 if (waitpid(ns_pid, &status, 0) < 0) { in main()
|
/linux/tools/testing/selftests/seccomp/ |
A D | seccomp_bpf.c | 3248 ASSERT_EQ(pid, waitpid(pid, NULL, 0)); in TEST() 3325 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 3393 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 3454 EXPECT_EQ(waitpid(pid, NULL, 0), pid); in TEST() 3542 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 3575 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 3614 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 3685 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 3727 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 3817 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() [all …]
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
A D | ptrace-syscall.c | 88 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_ptrace_syscall_restart() 206 if (waitpid(chld, &status, 0) != chld) in test_ptrace_syscall_restart()
|
/linux/tools/testing/selftests/kvm/ |
A D | hardware_disable_test.c | 149 if (pid != waitpid(pid, &status, WNOHANG)) in wait_for_child_setup() 185 r = waitpid(pid, &s, WNOHANG); in main()
|
/linux/tools/testing/selftests/powerpc/benchmarks/ |
A D | fork.c | 98 pid = waitpid(pid, NULL, 0); in bench_fork() 120 pid = waitpid(pid, NULL, 0); in bench_vfork()
|
/linux/arch/um/os-Linux/skas/ |
A D | process.c | 111 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL)); in wait_stub_done() 209 CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED | __WALL)); in handle_trap() 344 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL)); in start_userspace() 428 CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED | __WALL)); in userspace()
|
/linux/tools/testing/selftests/core/ |
A D | close_range_test.c | 200 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 243 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 441 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST() 540 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST()
|
/linux/tools/testing/selftests/vm/ |
A D | memfd_secret.c | 125 ret = waitpid(ppid, &status, WUNTRACED); in try_ptrace() 142 waitpid(pid, &status, 0); in check_child_status()
|