Searched refs:child_ret (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/testing/selftests/powerpc/math/ |
| H A D | fpu_syscall.c | 28 int child_ret; in syscall_fpu() local 39 waitpid(fork_pid, &child_ret, 0); in syscall_fpu() 40 if (ret || child_ret) in syscall_fpu() 55 int child_ret; in test_syscall_fpu() local 64 child_ret = ret = 1; in test_syscall_fpu() 68 waitpid(pid2, &child_ret, 0); in test_syscall_fpu() 73 ret |= child_ret; in test_syscall_fpu() 76 waitpid(pid, &child_ret, 0); in test_syscall_fpu() 80 FAIL_IF(ret || child_ret); in test_syscall_fpu()
|
| H A D | vmx_syscall.c | 30 int child_ret; in vmx_syscall() local 38 waitpid(fork_pid, &child_ret, 0); in vmx_syscall() 39 if (ret || child_ret) in vmx_syscall() 54 int child_ret; in test_vmx_syscall() local 69 ret = child_ret = 1; in test_vmx_syscall() 72 waitpid(pid2, &child_ret, 0); in test_vmx_syscall() 77 ret |= child_ret; in test_vmx_syscall() 80 waitpid(pid, &child_ret, 0); in test_vmx_syscall() 84 FAIL_IF(ret || child_ret); in test_vmx_syscall()
|
| /linux/tools/testing/selftests/powerpc/signal/ |
| H A D | sigreturn_kernel.c | 48 int child_ret; in expect_segv() local 50 waitpid(pid, &child_ret, 0); in expect_segv() 51 FAIL_IF(WIFEXITED(child_ret)); in expect_segv() 52 FAIL_IF(!WIFSIGNALED(child_ret)); in expect_segv() 53 FAIL_IF(WTERMSIG(child_ret) != 11); in expect_segv() 61 int child_ret, i; in test_sigreturn_kernel() local 121 waitpid(pid, &child_ret, 0); in test_sigreturn_kernel() 122 FAIL_IF(!WIFEXITED(child_ret)); in test_sigreturn_kernel() 123 FAIL_IF(WIFSIGNALED(child_ret)); in test_sigreturn_kernel() 124 FAIL_IF(WEXITSTATUS(child_ret) != 0); in test_sigreturn_kernel()
|
| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_requeue_pi_mismatched_ops.c | 32 int child_ret = 0; variable 36 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG); in blocking_child() 37 if (child_ret < 0) { in blocking_child() 38 child_ret = -errno; in blocking_child() 41 return (void *)&child_ret; in blocking_child() 87 if (!ret && !child_ret) in TEST()
|
| H A D | futex_wait_uninitialized_heap.c | 38 static bool child_ret; variable 45 child_ret = true; in wait_thread() 51 child_ret = false; in wait_thread() 79 if (!child_ret) in TEST()
|
| /linux/tools/testing/selftests/x86/ |
| H A D | lam.c | 758 int ret, child_ret; in fork_test() local 769 wait(&child_ret); in fork_test() 770 ret = WEXITSTATUS(child_ret); in fork_test() 778 int ret, child_ret; in handle_execve() local 803 wait(&child_ret); in handle_execve() 804 ret = WEXITSTATUS(child_ret); in handle_execve() 814 int ret, child_ret; in handle_inheritance() local 832 wait(&child_ret); in handle_inheritance() 833 ret = WEXITSTATUS(child_ret); in handle_inheritance() 857 int ret, child_ret; in handle_thread() local [all …]
|
| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test_ns.c | 212 int ret, child_ret; in test_listmount_ns() local 267 child_ret = wait_for_pid(pid); in test_listmount_ns() 268 if (child_ret != NSID_PASS) in test_listmount_ns() 269 ret = child_ret; in test_listmount_ns()
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_test.c | 299 int child_ret = PIDFD_PASS; in test_pidfd_send_signal_recycled_pid_fail() local 338 child_ret = PIDFD_XFAIL; in test_pidfd_send_signal_recycled_pid_fail() 340 child_ret = PIDFD_FAIL; in test_pidfd_send_signal_recycled_pid_fail() 351 switch (child_ret) { in test_pidfd_send_signal_recycled_pid_fail() 355 _exit(child_ret); in test_pidfd_send_signal_recycled_pid_fail()
|