Home
last modified time | relevance | path

Searched refs:do_fork (Results 1 – 25 of 32) sorted by relevance

12

/external/igt-gpu-tools/lib/tests/
Digt_simulation.c48 static int do_fork(void) in do_fork() function
104 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SKIP); in main()
107 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main()
115 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main()
118 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main()
122 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main()
126 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main()
132 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main()
136 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SUCCESS); in main()
145 internal_assert(WEXITSTATUS(do_fork()) == IGT_EXIT_SKIP); in main()
[all …]
Digt_conflicting_args.c46 static int do_fork(void) in do_fork() function
76 internal_assert_wexited(do_fork(), 0); in main()
81 internal_assert_wsignaled(do_fork(), SIGABRT); in main()
86 internal_assert_wsignaled(do_fork(), SIGABRT); in main()
91 internal_assert_wsignaled(do_fork(), SIGABRT); in main()
96 internal_assert_wsignaled(do_fork(), SIGABRT); in main()
Digt_fork.c88 static int do_fork(void (*test_to_run)(void)) in do_fork() function
116 ret = do_fork(igt_fork_vs_assert); in main()
120 ret = do_fork(igt_fork_vs_skip); in main()
124 ret = do_fork(igt_fork_leak); in main()
128 ret = do_fork(igt_fork_timeout_leak); in main()
132 ret = do_fork(plain_fork_leak); in main()
Digt_segfault.c59 static int do_fork(void) in do_fork() function
107 internal_assert_wsignaled(do_fork(), SIGSEGV); in main()
113 internal_assert_wexited(do_fork(), SIGSEGV + 128); in main()
120 internal_assert_wexited(do_fork(), SIGSEGV + 128); in main()
128 internal_assert_wexited(do_fork(), SIGSEGV + 128); in main()
Digt_no_exit.c59 static int do_fork(void (*test_to_run)(void)) in do_fork() function
81 ret = do_fork(no_exit); in main()
84 ret = do_fork(no_exit_list_only); in main()
Digt_invalid_subtest_name.c63 static int do_fork(void (*test_to_run)(void)) in do_fork() function
85 ret = do_fork(invalid_subtest_name); in main()
88 ret = do_fork(nonexisting_subtest); in main()
Digt_assert.c58 static int do_fork(void) in do_fork() function
153 ret = do_fork();
161 ret = do_fork();
Digt_describe.c171 static pid_t do_fork(int argc, char **argv, int *out, int *err) in do_fork() function
228 pid_t pid = do_fork(fake_argc, fake_argv, &outfd, &errfd); in main()
248 pid_t pid = do_fork(fake_argc, fake_argv, &outfd, &errfd); in main()
268 pid_t pid = do_fork(fake_argc, fake_argv, &outfd, &errfd); in main()
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/
Dfork.c67 static int do_fork = 0; variable
200 if (do_fork) in bench_proc()
211 { "fork", no_argument, &do_fork, 1 },
260 if (do_fork && do_vfork) { in main()
264 if (do_exec && !do_fork && !do_vfork) { in main()
302 if (do_fork) in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
D2-1.c135 int do_fork; in main() local
230 do_fork = 0; in main()
267 do_fork = 1; in main()
317 if (do_fork != 0) { in main()
350 if (do_fork != 0) { in main()
D4-2.c156 int do_fork; in main() local
265 do_fork = 0; in main()
303 do_fork = 1; in main()
336 if (do_fork != 0) { in main()
369 if (do_fork != 0) { in main()
D1-2.c158 int do_fork; in main() local
264 do_fork = 0; in main()
302 do_fork = 1; in main()
354 if (do_fork != 0) { in main()
387 if (do_fork != 0) { in main()
/external/ltp/testcases/kernel/syscalls/waitpid/
Dwaitpid10.c30 static void do_fork(void);
48 do_fork(); in do_child_1()
85 static void do_fork(void) in do_fork() function
/external/virglrenderer/vtest/
Dvtest_server.c85 bool do_fork; member
112 .do_fork = true,
143 if (server.do_fork) { in main()
198 server.do_fork = false; in vtest_server_parse_args()
201 server.do_fork = false; in vtest_server_parse_args()
253 server.do_fork = false; in vtest_server_parse_args()
522 server.do_fork = false; in vtest_server_fork()
615 if (server.do_fork) { in vtest_server_run()
/external/iproute2/lib/
Dexec.c8 int cmd_exec(const char *cmd, char **argv, bool do_fork) in cmd_exec() argument
11 if (do_fork) { in cmd_exec()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D2-2.c264 int do_fork; in main() local
372 do_fork = 0; in main()
440 do_fork = 1; in main()
492 if (do_fork != 0) { in main()
579 if (do_fork != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D4-2.c203 int do_fork; in main() local
313 do_fork = 0; in main()
395 do_fork = 1; in main()
438 if (do_fork != 0) { in main()
538 if (do_fork != 0) { in main()
D2-7.c255 int do_fork; in main() local
363 do_fork = 0; in main()
431 do_fork = 1; in main()
483 if (do_fork != 0) { in main()
566 if (do_fork != 0) { in main()
D2-4.c248 int do_fork; in main() local
356 do_fork = 0; in main()
424 do_fork = 1; in main()
476 if (do_fork != 0) { in main()
562 if (do_fork != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Dstress1.c388 int do_fork; in main() local
499 do_fork = 0; in main()
572 do_fork = 1; in main()
587 CD.fork = do_fork; in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
Dstress1.c382 int do_fork; in main() local
493 do_fork = 0; in main()
566 do_fork = 1; in main()
581 CD.fork = do_fork; in main()
/external/sg3_utils/testing/
Dsg_tst_ioctl.c87 static bool do_fork = false; variable
573 if (do_fork && is_parent) in tst_extended_ioctl()
597 if (do_fork && is_parent && fnp && (sock >= 0)) { /* master/READ side */ in tst_extended_ioctl()
611 } else if (do_fork && !is_parent && fn2p && (sock >= 0)) { in tst_extended_ioctl()
805 do_fork = true; in main()
1177 if (do_fork) { in main()
1205 cp = do_fork ? relative_cp : ""; in main()
1214 if (do_fork && !is_parent) in main()
1284 if (do_fork) in main()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify19.c120 static void do_fork(void) in do_fork() function
184 do_fork(); in test_fanotify()
Dfanotify21.c93 static void do_fork(void) in do_fork() function
151 do_fork(); in do_test()
/external/selinux/mcstrans/src/
Dmcstransd.c534 int do_fork = 1; in main() local
538 do_fork = 0; in main()
567 if (do_fork && daemon(0, 0)) { in main()

12