Home
last modified time | relevance | path

Searched refs:exit_val (Results 1 – 24 of 24) sorted by relevance

/external/ltp/testcases/kernel/containers/pidns/
Dpidns17.c63 int children[10], exit_val, i, status; in child_fn() local
74 exit_val = 0; in child_fn()
81 exit_val = 1; in child_fn()
98 exit_val = 1; in child_fn()
106 exit_val = 1; in child_fn()
121 exit_val = 1; in child_fn()
124 if (exit_val == 0) in child_fn()
127 exit(exit_val); in child_fn()
Dpidns10.c62 int exit_val, ret; in child_fn() local
76 exit_val = 0; in child_fn()
80 exit_val = 1; in child_fn()
82 exit(exit_val); in child_fn()
Dpidns01.c72 int exit_val; in child_fn1() local
80 exit_val = 0; in child_fn1()
84 exit_val = 1; in child_fn1()
87 return exit_val; in child_fn1()
Dpidns05.c111 int exit_val; in create_nested_container() local
128 exit_val = 1; in create_nested_container()
138 exit_val = 1; in create_nested_container()
140 exit_val = 0; in create_nested_container()
144 exit_val = 0; in create_nested_container()
150 return exit_val; in create_nested_container()
Dpidns04.c77 int exit_val; in child_fn1() local
94 exit_val = 0; in child_fn1()
98 exit_val = 1; in child_fn1()
100 exit(exit_val); in child_fn1()
/external/ltp/testcases/kernel/containers/userns/
Duserns06.c51 int exit_val = 0; in child_fn1() local
59 exit_val = 1; in child_fn1()
62 return exit_val; in child_fn1()
70 int exit_val = 0; in child_fn2() local
81 exit_val = 1; in child_fn2()
87 exit_val = 1; in child_fn2()
90 return exit_val; in child_fn2()
Duserns03.c79 int exit_val = 0; in child_fn2() local
92 exit_val = 1; in child_fn2()
107 exit_val = 1; in child_fn2()
121 exit_val = 1; in child_fn2()
132 exit_val = 1; in child_fn2()
142 exit_val = 1; in child_fn2()
147 return exit_val; in child_fn2()
Duserns01.c53 int exit_val = 0; in child_fn1() local
68 exit_val = 1; in child_fn1()
85 exit_val = 1; in child_fn1()
90 return exit_val; in child_fn1()
Duserns04.c56 int exit_val = 0; in child_fn2() local
62 exit_val = 1; in child_fn2()
66 exit_val = 1; in child_fn2()
70 return exit_val; in child_fn2()
Duserns02.c44 int exit_val; in child_fn1() local
53 exit_val = 0; in child_fn1()
56 exit_val = 1; in child_fn1()
59 return exit_val; in child_fn1()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D11-6.c54 int i, exit_val, ret, size; in main() local
104 wait(&exit_val); in main()
105 if (!(WIFEXITED(exit_val) && (WEXITSTATUS(exit_val) == PTS_PASS))) { in main()
108 if (WIFEXITED(exit_val)) in main()
109 return WEXITSTATUS(exit_val); in main()
D11-5.c54 int i, exit_val, ret, size; in main() local
104 wait(&exit_val); in main()
105 if (!(WIFEXITED(exit_val) && (WEXITSTATUS(exit_val) == PTS_PASS))) { in main()
108 if (WIFEXITED(exit_val)) in main()
109 return WEXITSTATUS(exit_val); in main()
D11-4.c55 int i, exit_val; in main() local
106 wait(&exit_val); in main()
107 if (!(WIFEXITED(exit_val) && (WEXITSTATUS(exit_val) == PTS_PASS))) { in main()
110 if (WIFEXITED(exit_val)) in main()
111 return WEXITSTATUS(exit_val); in main()
/external/jemalloc/android/test/
Drun_jemalloc_tests.sh93 local exit_val=$?
97 if [[ ${exit_val} -ne 0 ]] && [[ ${exit_val} -ne 1 ]]; then
98 echo "*** $test failed: ${exit_val}"
/external/toolchain-utils/binary_search_tool/android/
Dtest_setup.sh119 exit_val=0
122 exit_val=$?
126 exit_val=1
130 exit ${exit_val}
/external/ltp/testcases/kernel/mem/mtest07/
Dshm_test.c71 exit_val = val; \
72 dprt("pid[%d]: exiting with %d\n", getpid(),exit_val); \
73 pthread_exit((void *)(uintptr_t)exit_val); \
177 volatile int exit_val = 0; /* exit value of the pthread */ in shmat_rd_wr() local
/external/ltp/testcases/kernel/syscalls/sigrelse/
Dsigrelse01.c384 int exit_val; /* exit value to send to parent */ in child() local
450 exit_val = EXIT_OK; in child()
487 exit_val = TBROK; in child()
504 if (exit_val == EXIT_OK) { in child()
517 exit(exit_val); in child()
/external/fio/
Dinit.c1942 int c, ini_idx = 0, lidx, ret = 0, do_exit = 0, exit_val = 0; in parse_cmd_line() local
1968 exit_val = 1; in parse_cmd_line()
1974 exit_val = 1; in parse_cmd_line()
1996 exit_val = 1; in parse_cmd_line()
2052 exit_val = 1; in parse_cmd_line()
2067 exit_val = 1; in parse_cmd_line()
2088 exit_val = 1; in parse_cmd_line()
2099 exit_val = iolog_file_inflate(optarg); in parse_cmd_line()
2188 exit_val = 1; in parse_cmd_line()
2197 exit_val = 1; in parse_cmd_line()
[all …]
Dconfigure135 exit_val=0
176 exit_val=1
190 exit $exit_val
/external/linux-kselftest/tools/testing/selftests/mqueue/
Dmq_open_tests.c59 void shutdown(int exit_val, char *err_cause, int line_no);
76 void shutdown(int exit_val, char *err_cause, int line_no) in shutdown() argument
110 if (exit_val) in shutdown()
111 error(exit_val, errno, "%s at %d", err_cause, line_no); in shutdown()
Dmq_perf_tests.c152 void shutdown(int exit_val, char *err_cause, int line_no);
171 void shutdown(int exit_val, char *err_cause, int line_no) in shutdown() argument
202 if (exit_val) in shutdown()
203 error(exit_val, errno_at_shutdown, "%s at %d", in shutdown()
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs05_make_tree.c203 exit_val = val; \
204 dprt("pid[%d]: exiting with %d\n", gettid(),exit_val); \
205 pthread_exit((void *)exit_val); \
493 volatile int exit_val = 0; /* exit value of the pthreads */ in crte_mk_rm() local
/external/ltp/testcases/kernel/fs/inode/
Dinode02.c244 int gen_ret_val, ch_ret_val, exit_val, level; in tree() local
350 exit_val = ch_ret_val; in tree()
352 exit_val = gen_ret_val; in tree()
378 exit(exit_val); in tree()
/external/ltp/testcases/kernel/mem/mtest05/
Dmmstress.c131 exit_val = val; \
132 pthread_exit((void *)exit_val); \
267 uintptr_t exit_val = 0; /* exit value of the pthread. 0 - success */ in thread_fault() local