/linux-master/tools/testing/selftests/proc/ |
H A D | proc-loadavg-001.c | 61 if (waitpid(pid, NULL, 0) == -1) 77 if (waitpid(pid, &wstatus, 0) == -1)
|
/linux-master/tools/testing/selftests/ptrace/ |
H A D | vmaccess.c | 62 k = waitpid(-1, &s, WNOHANG); 71 k = waitpid(-1, &s, 0); 77 k = waitpid(-1, &s, 0); 81 k = waitpid(-1, NULL, 0);
|
/linux-master/tools/testing/selftests/powerpc/math/ |
H A D | vmx_syscall.c | 38 waitpid(fork_pid, &child_ret, 0); 72 waitpid(pid2, &child_ret, 0); 80 waitpid(pid, &child_ret, 0);
|
H A D | fpu_syscall.c | 39 waitpid(fork_pid, &child_ret, 0); 68 waitpid(pid2, &child_ret, 0); 76 waitpid(pid, &child_ret, 0);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | exhandler.c | 38 waitpid(cpid, &status, 0);
|
H A D | ns_current_pid_tgid.c | 74 if (CHECK(waitpid(cpid, &wstatus, 0) == -1, "waitpid", "%s\n", strerror(errno)))
|
/linux-master/tools/testing/selftests/mm/ |
H A D | mrelease_test.c | 133 waitpid(pid, NULL, 0); 140 waitpid(pid, NULL, 0); 162 waitpid(pid, NULL, 0); 168 if (waitpid(pid, NULL, 0) < 0) 169 ksft_exit_fail_msg("waitpid: %s\n", strerror(errno));
|
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-perf-hwbreak.c | 204 FAIL_IF_MSG(waitpid(*pid, &status, 0) == -1, "Failed to wait for child"); 233 int status; /* Stop status of child after waitpid */ 262 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); 277 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); 295 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); 305 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); 320 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); 338 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); 353 FAIL_IF_MSG(waitpid(pid, &status, 0) == -1, "Failed to wait for child"); 387 int status; /* Stop status of child after waitpid */ [all...] |
/linux-master/tools/perf/arch/x86/tests/ |
H A D | bp-modify.c | 67 waitpid(child, &status, 0); 106 waitpid(child, &status, 0); 144 waitpid(child, &status, 0); 182 waitpid(child, &status, 0);
|
/linux-master/tools/testing/selftests/timers/ |
H A D | skew_consistency.c | 57 while (pid != waitpid(pid, &ret, WNOHANG)) {
|
/linux-master/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr_inherit_test.c | 49 if (waitpid(pid, &status, 0) == -1) { 50 perror("waitpid() failed");
|
H A D | dscr_inherit_exec_test.c | 69 if (waitpid(pid, &status, 0) == -1) { 70 perror("waitpid() failed");
|
/linux-master/tools/testing/selftests/arm64/fp/ |
H A D | za-fork.c | 50 waiting = waitpid(newpid, &child_status, 0); 55 ksft_print_msg("waitpid() failed: %d\n", errno); 59 ksft_print_msg("waitpid() returned wrong PID\n");
|
/linux-master/tools/testing/selftests/powerpc/signal/ |
H A D | sigreturn_kernel.c | 50 waitpid(pid, &child_ret, 0); 121 waitpid(pid, &child_ret, 0);
|
H A D | signal.c | 75 waitpid(pid, NULL, 0);
|
/linux-master/tools/testing/selftests/perf_events/ |
H A D | remove_on_exec.c | 113 EXPECT_EQ(waitpid(pid, &status, 0), pid); 148 ASSERT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Child is running. */ 157 EXPECT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Should still be running. */ 164 EXPECT_EQ(waitpid(pid_only_fork, &tmp, 0), pid_only_fork); 190 EXPECT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Should still be running. */ 219 EXPECT_EQ(waitpid(pids[i], &tmp, WNOHANG), 0);
|
/linux-master/tools/testing/selftests/x86/ |
H A D | fsgsbase_restore.c | 185 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) 186 err(1, "waitpid"); 214 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) 215 err(1, "waitpid"); 224 if (waitpid(chld, &status, 0) != chld) 225 err(1, "waitpid");
|
H A D | test_mremap_vdso.c | 94 if (waitpid(child, &status, 0) != child ||
|
/linux-master/tools/testing/selftests/breakpoints/ |
H A D | breakpoint_test_arm64.c | 127 wpid = waitpid(pid, &status, __WALL); 130 "waitpid() failed: %s\n", strerror(errno)); 154 wpid = waitpid(pid, &status, __WALL); 157 "waitpid() failed: %s\n", strerror(errno)); 186 wpid = waitpid(pid, &status, 0); 189 "waitpid() failed: %s\n", strerror(errno));
|
H A D | step_after_suspend_test.c | 63 wpid = waitpid(pid, &status, __WALL); 65 ksft_print_msg("waitpid() failed: %s\n", strerror(errno)); 90 wpid = waitpid(pid, &status, __WALL); 92 ksft_print_msg("waitpid() failed: %s\n", strerror(errno)); 116 wpid = waitpid(pid, &status, __WALL); 118 ksft_print_msg("waitpid() failed: %s\n", strerror(errno));
|
/linux-master/arch/um/os-Linux/ |
H A D | helper.c | 100 CATCH_EINTR(waitpid(pid, NULL, __WALL)); 137 CATCH_EINTR(pid = waitpid(pid, &status, __WALL)); 158 CATCH_EINTR(ret = waitpid(pid, &status, wflags)); 160 printk(UM_KERN_ERR "helper_wait : waitpid process %d failed, "
|
/linux-master/tools/perf/bench/ |
H A D | syscall.c | 48 if (waitpid(pid, NULL, 0) < 0) { 49 fprintf(stderr, "waitpid failed\n"); 69 if (waitpid(pid, NULL, 0) < 0) { 70 fprintf(stderr, "waitpid failed\n");
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | large_vm_fork_separation.c | 75 FAIL_IF(waitpid(pid, &status, 0) == -1);
|
/linux-master/tools/testing/selftests/sync/ |
H A D | sync_test.c | 50 waitpid(childpid, &result, 0);
|
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd_poll_test.c | 108 if (waitpid(child_pid, NULL, 0) < 0) 109 ksft_exit_fail_msg("%s - waitpid failed\n",
|