Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/powerpc/math/
Dfpu_syscall.c33 int child_ret; in syscall_fpu() local
41 waitpid(fork_pid, &child_ret, 0); in syscall_fpu()
42 if (ret || child_ret) in syscall_fpu()
57 int child_ret; in test_syscall_fpu() local
66 child_ret = ret = 1; in test_syscall_fpu()
70 waitpid(pid2, &child_ret, 0); in test_syscall_fpu()
75 ret |= child_ret; in test_syscall_fpu()
78 waitpid(pid, &child_ret, 0); in test_syscall_fpu()
82 FAIL_IF(ret || child_ret); in test_syscall_fpu()
Dvmx_syscall.c34 int child_ret; in vmx_syscall() local
42 waitpid(fork_pid, &child_ret, 0); in vmx_syscall()
43 if (ret || child_ret) in vmx_syscall()
58 int child_ret; in test_vmx_syscall() local
68 ret = child_ret = 1; in test_vmx_syscall()
71 waitpid(pid2, &child_ret, 0); in test_vmx_syscall()
76 ret |= child_ret; in test_vmx_syscall()
79 waitpid(pid, &child_ret, 0); in test_vmx_syscall()
83 FAIL_IF(ret || child_ret); in test_vmx_syscall()
/external/linux-kselftest/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi_mismatched_ops.c37 int child_ret = 0; variable
50 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG); in blocking_child()
51 if (child_ret < 0) { in blocking_child()
52 child_ret = -errno; in blocking_child()
55 return (void *)&child_ret; in blocking_child()
132 ret = child_ret; in main()
Dfutex_wait_uninitialized_heap.c43 static int child_ret; variable
59 child_ret = RET_PASS; in wait_thread()
65 child_ret = RET_ERROR; in wait_thread()
117 ret = child_ret; in main()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify03.c124 int child_ret; in check_child() local
133 SAFE_WAITPID(-1, &child_ret, 0); in check_child()
135 if (WIFEXITED(child_ret) && WEXITSTATUS(child_ret) == 0) in check_child()
138 tst_res(TFAIL, "child %s", tst_strstatus(child_ret)); in check_child()
Dfanotify07.c85 int child_ret; in stop_children() local
92 SAFE_WAITPID(child_pid[i], &child_ret, 0); in stop_children()
93 if (!WIFSIGNALED(child_ret)) in stop_children()