Home
last modified time | relevance | path

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

123

/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()
67 waitpid(pid2, &child_ret, 0); in test_vmx_syscall()
75 waitpid(pid, &child_ret, 0); in test_vmx_syscall()
/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()
/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()
/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c63 wpid = waitpid(pid, &status, __WALL); in run_test()
89 wpid = waitpid(pid, &status, __WALL); in run_test()
115 wpid = waitpid(pid, &status, __WALL); in run_test()
Dbreakpoint_test_arm64.c127 wpid = waitpid(pid, &status, __WALL); in arun_test()
154 wpid = waitpid(pid, &status, __WALL); in arun_test()
186 wpid = waitpid(pid, &status, 0); in arun_test()
/tools/testing/selftests/timers/
Dskew_consistency.c57 while (pid != waitpid(pid, &ret, WNOHANG)) { in main()
Dclocksource-switch.c156 while (pid != waitpid(pid, &status, WNOHANG)) in main()
/tools/testing/selftests/x86/
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()
Dtest_mremap_vdso.c94 if (waitpid(child, &status, 0) != child || in main()
Dmov_ss_trap.c62 if (waitpid(child, &status, 0) != child) in enable_watchpoint()
77 if (waitpid(parent, &status, 0) != parent) in enable_watchpoint()
Diopl.c79 if (waitpid(child, &status, 0) != child || in main()
Dioperm.c137 if (waitpid(child, &status, 0) != child || in main()
/tools/testing/selftests/pidfd/
Dpidfd.h62 ret = waitpid(pid, &status, 0); in wait_for_pid()
Dpidfd_poll_test.c108 if (waitpid(child_pid, NULL, 0) < 0) in main()
/tools/testing/selftests/powerpc/dscr/
Ddscr_inherit_test.c47 if (waitpid(pid, &status, 0) == -1) { in dscr_inherit()
Ddscr_inherit_exec_test.c67 if (waitpid(pid, &status, 0) == -1) { in dscr_inherit_exec()
/tools/testing/selftests/sync/
Dsync_test.c50 waitpid(childpid, &result, 0); in run_test()
/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()
/tools/testing/selftests/ptrace/
Dpeeksiginfo.c191 waitpid(child, NULL, 0); in main()
216 waitpid(child, NULL, 0); in main()
/tools/testing/selftests/powerpc/benchmarks/
Dfork.c98 pid = waitpid(pid, NULL, 0); in bench_fork()
120 pid = waitpid(pid, NULL, 0); in bench_vfork()
/tools/testing/selftests/powerpc/signal/
Dsignal.c75 waitpid(pid, NULL, 0); in test_signal()
/tools/testing/selftests/powerpc/mm/
Dlarge_vm_fork_separation.c75 FAIL_IF(waitpid(pid, &status, 0) == -1); in test()
/tools/testing/selftests/powerpc/
Dharness.c53 rc = waitpid(pid, &status, 0); in run_test()
/tools/testing/selftests/kvm/x86_64/
Dmmio_warning_test.c118 while (waitpid(pid, &status, __WALL) != pid) in main()

123