Home
last modified time | relevance | path

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

/third_party/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
/third_party/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()
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()
/third_party/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()
/third_party/ltp/lib/newlib_tests/
Dtest04.c12 static void child_fn(unsigned int i) in child_fn() function
37 child_fn(i); in do_test()
/third_party/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()
/third_party/ltp/testcases/kernel/containers/share/
Dns_create.c53 static int child_fn(void *arg LTP_ATTRIBUTE_UNUSED) in child_fn() function
101 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()