Home
last modified time | relevance | path

Searched refs:child_ret (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/powerpc/math/
A Dfpu_syscall.c29 int child_ret; in syscall_fpu() local
37 waitpid(fork_pid, &child_ret, 0); in syscall_fpu()
38 if (ret || child_ret) in syscall_fpu()
53 int child_ret; in test_syscall_fpu() local
62 child_ret = ret = 1; in test_syscall_fpu()
66 waitpid(pid2, &child_ret, 0); in test_syscall_fpu()
71 ret |= child_ret; in test_syscall_fpu()
74 waitpid(pid, &child_ret, 0); in test_syscall_fpu()
78 FAIL_IF(ret || child_ret); in test_syscall_fpu()
A Dvmx_syscall.c30 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-6.3-rc2/tools/testing/selftests/powerpc/signal/
A Dsigreturn_kernel.c48 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-6.3-rc2/tools/testing/selftests/futex/functional/
A Dfutex_requeue_pi_mismatched_ops.c33 int child_ret = 0; variable
46 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG); in blocking_child()
47 if (child_ret < 0) { in blocking_child()
48 child_ret = -errno; in blocking_child()
51 return (void *)&child_ret; in blocking_child()
129 ret = child_ret; in main()
A Dfutex_wait_uninitialized_heap.c39 static int child_ret; variable
55 child_ret = RET_PASS; in wait_thread()
61 child_ret = RET_ERROR; in wait_thread()
114 ret = child_ret; in main()
/linux-6.3-rc2/tools/testing/selftests/pidfd/
A Dpidfd_test.c246 int child_ret = PIDFD_PASS; in test_pidfd_send_signal_recycled_pid_fail() local
285 child_ret = PIDFD_XFAIL; in test_pidfd_send_signal_recycled_pid_fail()
287 child_ret = PIDFD_FAIL; in test_pidfd_send_signal_recycled_pid_fail()
298 switch (child_ret) { in test_pidfd_send_signal_recycled_pid_fail()
302 _exit(child_ret); in test_pidfd_send_signal_recycled_pid_fail()

Completed in 10 milliseconds