Home
last modified time | relevance | path

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

123456789

/openbmc/linux/tools/testing/selftests/perf_events/
H A Dremove_on_exec.c113 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()
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-perf-hwbreak.c204 FAIL_IF_MSG(waitpid(*pid, &status, 0) == -1, "Failed to wait for child"); in ptrace_fork_child()
262 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); in same_watch_addr_test()
277 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); in same_watch_addr_test()
295 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); in same_watch_addr_test()
305 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); in same_watch_addr_test()
320 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); in same_watch_addr_test()
338 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); in same_watch_addr_test()
353 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); in same_watch_addr_test()
422 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); in perf_then_ptrace_test()
/openbmc/linux/tools/testing/selftests/ptrace/
H A 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()
/openbmc/linux/tools/testing/selftests/powerpc/math/
H A 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()
H A 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()
/openbmc/openbmc/poky/meta/recipes-core/busybox/files/
H A Dsyslog56 waitpid ()
89 waitpid $pid1
90 waitpid $pid2
/openbmc/linux/tools/testing/selftests/mm/
H A Dmrelease_test.c139 waitpid(pid, NULL, 0); in main()
147 waitpid(pid, NULL, 0); in main()
174 waitpid(pid, NULL, 0); in main()
180 if (waitpid(pid, NULL, 0) < 0) { in main()
/openbmc/linux/tools/perf/arch/x86/tests/
H A 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()
/openbmc/linux/arch/um/os-Linux/
H A 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()
H A Dhelper.c100 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in run_helper()
137 CATCH_EINTR(pid = waitpid(pid, &status, __WALL)); in run_helper_thread()
158 CATCH_EINTR(ret = waitpid(pid, &status, wflags)); in helper_wait()
/openbmc/linux/tools/testing/selftests/proc/
H A Dproc-loadavg-001.c61 if (waitpid(pid, NULL, 0) == -1) in main()
77 if (waitpid(pid, &wstatus, 0) == -1) in main()
/openbmc/linux/tools/testing/selftests/landlock/
H A Dptrace_test.c352 ASSERT_EQ(parent, waitpid(parent, &status, 0)); in TEST_F()
398 ASSERT_EQ(child, waitpid(child, &status, 0)); in TEST_F()
425 ASSERT_EQ(child, waitpid(child, &status, 0)); in TEST_F()
432 ASSERT_EQ(child, waitpid(child, &status, 0)); in TEST_F()
/openbmc/linux/tools/testing/selftests/x86/
H A 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()
H A 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()
/openbmc/linux/tools/testing/selftests/breakpoints/
H A 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()
H A 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()
/openbmc/openbmc/poky/meta/recipes-devtools/rpm/files/
H A D0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch48 reaped = waitpid(pid, &status, 0);
51 - rpmlog(RPMLOG_DEBUG, "%s: waitpid(%d) rc %d status %x\n",
52 + rpmlog(RPMLOG_INFO, "%s: waitpid(%d) rc %d status %x\n",
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/openl2tp/openl2tp/
H A D0001-Use-1-instead-of-WAIT_ANY.patch24 - while (((pid = waitpid(WAIT_ANY, &status, (waitfor ? 0: WNOHANG))) != -1) && (pid != 0)) {
25 + while (((pid = waitpid(-1, &status, (waitfor ? 0: WNOHANG))) != -1) && (pid != 0)) {
/openbmc/linux/tools/testing/selftests/powerpc/signal/
H A Dsigreturn_kernel.c50 waitpid(pid, &child_ret, 0); in expect_segv()
121 waitpid(pid, &child_ret, 0); in test_sigreturn_kernel()
/openbmc/openbmc/poky/meta/recipes-extended/sysklogd/files/
H A Dsysklogd94 waitpid () function
131 waitpid $pid
/openbmc/linux/tools/perf/bench/
H A Dsyscall.c48 if (waitpid(pid, NULL, 0) < 0) { in test_fork()
69 if (waitpid(pid, NULL, 0) < 0) { in test_execve()
/openbmc/linux/tools/testing/selftests/clone3/
H A 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()
H A 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()
/openbmc/linux/tools/tracing/rtla/src/
H A Dtimerlat_u.c188 pid = waitpid(-1, &wstatus, WNOHANG); in timerlat_u_dispatcher()
207 pid = waitpid(-1, &wstatus, 0); in timerlat_u_dispatcher()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/xorg-app/xterm/
H A D0001-Add-configure-time-check-for-setsid.patch29 waitpid \
41 waitpid \

123456789