Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/powerpc/math/
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()
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()
/external/linux-kselftest/tools/testing/selftests/powerpc/signal/
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()
/external/linux-kselftest/tools/testing/selftests/futex/functional/
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()
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()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify03.c185 int child_ret; in check_child() local
194 SAFE_WAITPID(-1, &child_ret, 0); in check_child()
196 if (WIFEXITED(child_ret) && WEXITSTATUS(child_ret) == 0) in check_child()
199 tst_res(TFAIL, "child %s", tst_strstatus(child_ret)); in check_child()
Dfanotify07.c85 int child_ret; in stop_children() local
99 SAFE_WAITPID(child_pid[i], &child_ret, 0); in stop_children()
101 if (!WIFSIGNALED(child_ret)) in stop_children()
/external/linux-kselftest/tools/testing/selftests/pidfd/
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()
/external/igt-gpu-tools/tests/
Dperf.c3169 int child_ret; in gen8_test_single_ctx_render_target_writes_a_counter() local
3562 child_ret = igt_wait_helper(&child); in gen8_test_single_ctx_render_target_writes_a_counter()
3564 igt_assert(WEXITSTATUS(child_ret) == EAGAIN || in gen8_test_single_ctx_render_target_writes_a_counter()
3565 WEXITSTATUS(child_ret) == 0); in gen8_test_single_ctx_render_target_writes_a_counter()
3567 } while (WEXITSTATUS(child_ret) == EAGAIN); in gen8_test_single_ctx_render_target_writes_a_counter()