Home
last modified time | relevance | path

Searched refs:child_fn (Results 1 – 17 of 17) sorted by relevance

/external/ltp/testcases/kernel/syscalls/clone/
Dclone04.c19 static int child_fn(void *arg LTP_ATTRIBUTE_UNUSED);
22 int (*child_fn)(void *arg); member
27 {child_fn, NULL, EINVAL, "NULL stack"},
30 static int child_fn(void *arg LTP_ATTRIBUTE_UNUSED) in child_fn() function
39 TST_EXP_FAIL(ltp_clone(0, tc->child_fn, NULL, in verify_clone()
Dclone05.c25 static int child_fn(void *unused LTP_ATTRIBUTE_UNUSED) in child_fn() function
42 TST_EXP_PID_SILENT(ltp_clone(CLONE_VM | CLONE_VFORK | SIGCHLD, child_fn, NULL, in verify_clone()
Dclone03.c21 static int child_fn(void *arg LTP_ATTRIBUTE_UNUSED) in child_fn() function
30 TST_EXP_PID_SILENT(ltp_clone(SIGCHLD, child_fn, NULL, CHILD_STACK_SIZE, in verify_clone()
Dclone02.c81 static int child_fn();
139 TEST(ltp_clone(test_cases[i].flags, child_fn, NULL, in main()
257 static int child_fn(void) in child_fn() function
/external/linux-kselftest/tools/testing/selftests/cgroup/
Dtest_kill.c46 static int child_fn(const char *cgroup, void *arg) in child_fn() function
71 pids[i] = cg_run_nowait(cgroup, child_fn, NULL); in test_cgkill_simple()
164 pids[0] = cg_run_nowait(cgroup[2], child_fn, NULL); in test_cgkill_tree()
165 pids[1] = cg_run_nowait(cgroup[7], child_fn, NULL); in test_cgkill_tree()
166 pids[2] = cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgkill_tree()
167 pids[3] = cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgkill_tree()
168 pids[4] = cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgkill_tree()
Dtest_freezer.c121 static int child_fn(const char *cgroup, void *arg) in child_fn() function
150 cg_run_nowait(cgroup, child_fn, NULL); in test_cgfreezer_simple()
238 cg_run_nowait(cgroup[2], child_fn, NULL); in test_cgfreezer_tree()
239 cg_run_nowait(cgroup[7], child_fn, NULL); in test_cgfreezer_tree()
240 cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgfreezer_tree()
241 cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgfreezer_tree()
242 cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgfreezer_tree()
422 pid = cg_run_nowait(child, child_fn, NULL); in test_cgfreezer_mkdir()
528 pid = cg_run_nowait(cgroup[0], child_fn, NULL); in test_cgfreezer_migrate()
597 pid = cg_run_nowait(cgroup, child_fn, NULL); in test_cgfreezer_ptrace()
[all …]
/external/ltp/testcases/kernel/containers/pidns/
Dpidns10.c50 int child_fn(void *);
58 int child_fn(void *arg) in child_fn() function
99 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWPID, child_fn, NULL)); in main()
Dpidns17.c51 int child_fn(void *);
59 int child_fn(void *arg) in child_fn() function
144 TEST(do_clone_unshare_test(T_CLONE, CLONE_NEWPID, child_fn, NULL)); in main()
Dpidns13.c48 static void child_fn(unsigned int cinit_no) in child_fn() function
112 child_fn(1); in run()
115 child_fn(2); in run()
Dpidns16.c90 int child_fn(void *ttype) in child_fn() function
136 cpid = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_fn, NULL); in main()
Dpidns30.c162 int child_fn(void *arg) in child_fn() function
254 cpid = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_fn, NULL); in main()
Dpidns31.c149 int child_fn(void *arg) in child_fn() function
279 cpid = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_fn, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
D8-1.c79 static int child_fn(int priority, int id) in child_fn() function
161 child_fn(priority - 2, 1); in main()
174 child_fn(priority - 1, 2); in main()
195 child_fn(priority - 1, 3); in main()
/external/ltp/lib/newlib_tests/
Dtest04.c12 static void child_fn(unsigned int i) in child_fn() function
37 child_fn(i); in do_test()
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat04.c32 static void child_fn(unsigned int i) in child_fn() function
55 child_fn(i); in verify_creat()
/external/ltp/testcases/kernel/containers/share/
Dns_create.c52 static int child_fn(void *arg LTP_ATTRIBUTE_UNUSED) in child_fn() function
100 pid = ltp_clone_quick(flags | SIGCHLD, child_fn, NULL); in main()
Dns_exec.c83 static int child_fn(void *arg) in child_fn() function
139 pid = ltp_clone_quick(SIGCHLD, (void *)child_fn, (void *)argv); in main()