Home
last modified time | relevance | path

Searched refs:waitpid (Results 1 – 25 of 106) sorted by relevance

12345

/Linux-v5.10/tools/testing/selftests/ptrace/
Dvmaccess.c62 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()
Dpeeksiginfo.c191 waitpid(child, NULL, 0); in main()
216 waitpid(child, NULL, 0); in main()
/Linux-v5.10/tools/testing/selftests/powerpc/math/
Dfpu_syscall.c37 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()
Dvmx_syscall.c38 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-v5.10/tools/perf/arch/x86/tests/
Dbp-modify.c67 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-v5.10/arch/um/os-Linux/
Dstart_up.c105 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()
Dhelper.c99 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()
Dprocess.c107 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in os_kill_process()
121 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in os_kill_ptraced_process()
/Linux-v5.10/tools/testing/selftests/proc/
Dproc-loadavg-001.c61 if (waitpid(pid, NULL, 0) == -1) in main()
77 if (waitpid(pid, &wstatus, 0) == -1) in main()
/Linux-v5.10/tools/testing/selftests/x86/
Dfsgsbase_restore.c185 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()
Dptrace_syscall.c198 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()
Dmov_ss_trap.c62 if (waitpid(child, &status, 0) != child) in enable_watchpoint()
77 if (waitpid(parent, &status, 0) != parent) in enable_watchpoint()
/Linux-v5.10/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c63 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()
Dbreakpoint_test_arm64.c127 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-v5.10/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c72 if (waitpid(pid, &status, 0) < 0) { in call_clone3_set_tid()
158 ASSERT_GT(waitpid(pid, &status, 0), 0) in TEST()
Dclone3_set_tid.c108 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-v5.10/tools/testing/selftests/bpf/
Dtest_current_pid_tgid_new_ns.c60 waitpid(pid, &status, 0); in main()
73 waitpid(pid, &status, 0); in main()
/Linux-v5.10/arch/um/os-Linux/skas/
Dprocess.c60 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL)); in wait_stub_done()
158 CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED | __WALL)); in handle_trap()
296 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL)); in start_userspace()
378 CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED | __WALL)); in userspace()
/Linux-v5.10/tools/testing/selftests/powerpc/ptrace/
Dptrace-syscall.c88 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-v5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c859 ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0)); in TEST()
878 ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0)); in TEST()
897 ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0)); in TEST()
1597 ASSERT_EQ(tracer, waitpid(tracer, &status, 0)); in teardown_trace_fixture()
3015 ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0)); in TEST()
3023 ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0)); in TEST()
3044 ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0)); in TEST()
3059 ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0)); in TEST()
3065 ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0)); in TEST()
3093 ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0)); in TEST()
[all …]
/Linux-v5.10/tools/testing/selftests/powerpc/benchmarks/
Dfork.c98 pid = waitpid(pid, NULL, 0); in bench_fork()
120 pid = waitpid(pid, NULL, 0); in bench_vfork()
/Linux-v5.10/tools/testing/selftests/timers/
Dskew_consistency.c57 while (pid != waitpid(pid, &ret, WNOHANG)) { in main()
/Linux-v5.10/tools/testing/selftests/core/
Dclose_range_test.c179 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST()
222 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST()
/Linux-v5.10/tools/testing/selftests/powerpc/dscr/
Ddscr_inherit_test.c49 if (waitpid(pid, &status, 0) == -1) { in dscr_inherit()
/Linux-v5.10/tools/testing/selftests/sync/
Dsync_test.c50 waitpid(childpid, &result, 0); in run_test()

12345