Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/clone/
Dclone04.c37 static int child_fn();
42 int (*child_fn) (); member
48 child_fn, NULL, EINVAL, "EINVAL"},};
76 TEST(ltp_clone(0, test_cases[ind].child_fn, NULL, in main()
110 static int child_fn(void) in child_fn() function
Dclone05.c38 static int child_fn(void *);
59 TEST(ltp_clone(CLONE_VM | CLONE_VFORK | SIGCHLD, child_fn, NULL, in main()
91 static int child_fn(void *unused __attribute__((unused))) in child_fn() function
Dclone03.c49 static int child_fn();
79 TEST(ltp_clone(SIGCHLD, child_fn, NULL, CHILD_STACK_SIZE, in main()
128 static int child_fn(void) in child_fn() function
Dclone02.c81 static int child_fn();
140 TEST(ltp_clone(test_cases[i].flags, child_fn, NULL, in main()
258 static int child_fn(void) in child_fn() function
/external/linux-kselftest/tools/testing/selftests/cgroup/
Dtest_freezer.c178 static int child_fn(const char *cgroup, void *arg) in child_fn() function
207 cg_run_nowait(cgroup, child_fn, NULL); in test_cgfreezer_simple()
295 cg_run_nowait(cgroup[2], child_fn, NULL); in test_cgfreezer_tree()
296 cg_run_nowait(cgroup[7], child_fn, NULL); in test_cgfreezer_tree()
297 cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgfreezer_tree()
298 cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgfreezer_tree()
299 cg_run_nowait(cgroup[9], child_fn, NULL); in test_cgfreezer_tree()
479 pid = cg_run_nowait(child, child_fn, NULL); in test_cgfreezer_mkdir()
585 pid = cg_run_nowait(cgroup[0], child_fn, NULL); in test_cgfreezer_migrate()
654 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.c71 int child_fn(void *arg) in child_fn() function
189 cpid1 = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_fn, (void*)(intptr_t)1); in main()
192 cpid2 = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_fn, (void*)(intptr_t)2); in main()
Dpidns16.c90 int child_fn(void *ttype) in child_fn() function
136 cpid = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_fn, NULL); in main()
Dpidns12.c72 int child_fn(void *arg) in child_fn() function
136 cpid = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_fn, NULL); in main()
Dpidns20.c81 int child_fn(void *arg) in child_fn() function
167 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 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.c54 static int child_fn(void *arg LTP_ATTRIBUTE_UNUSED) in child_fn() function
102 pid = ltp_clone_quick(flags | SIGCHLD, child_fn, NULL); in main()
Dns_exec.c84 static int child_fn(void *arg) in child_fn() function
140 pid = ltp_clone_quick(SIGCHLD, (void *)child_fn, (void *)argv); in main()