Home
last modified time | relevance | path

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

12

/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
/external/valgrind/helgrind/tests/
Dlocked_vs_unlocked1.c16 void* child_fn ( void* arg ) in child_fn() function
29 if (pthread_create(&child1, NULL, child_fn, (void*)(long)(sw ? 0 : 1))) { in main()
34 if (pthread_create(&child2, NULL, child_fn, (void*)(long)(sw ? 1 : 0))) { in main()
Dtc06_two_races.stderr.exp21 at 0x........: child_fn (tc06_two_races.c:14)
35 at 0x........: child_fn (tc06_two_races.c:14)
49 at 0x........: child_fn (tc06_two_races.c:18)
63 at 0x........: child_fn (tc06_two_races.c:18)
Dlocked_vs_unlocked1_fwd.stderr.exp20 by 0x........: child_fn (locked_vs_unlocked1.c:18)
27 at 0x........: child_fn (locked_vs_unlocked1.c:19)
33 at 0x........: child_fn (locked_vs_unlocked1.c:19)
Dlocked_vs_unlocked1_rev.stderr.exp20 by 0x........: child_fn (locked_vs_unlocked1.c:18)
27 at 0x........: child_fn (locked_vs_unlocked1.c:19)
33 at 0x........: child_fn (locked_vs_unlocked1.c:19)
Dtc02_simple_tls.c12 void* child_fn ( void* arg ) in child_fn() function
25 if (pthread_create(&child, NULL, child_fn, NULL)) { in main()
Dtc01_simple_race.c11 void* child_fn ( void* arg ) in child_fn() function
22 if (pthread_create(&child, NULL, child_fn, NULL)) { in main()
Dtc06_two_races.c12 void* child_fn ( void* arg ) in child_fn() function
26 if (pthread_create(&child, NULL, child_fn, NULL)) { in main()
Dtc16_byterace.c9 void* child_fn ( void* arg ) in child_fn() function
22 if (pthread_create(&child, NULL, child_fn, NULL)) { in main()
Dtc05_simple_race.c13 void* child_fn ( void* arg ) in child_fn() function
27 if (pthread_create(&child, NULL, child_fn, NULL)) { in main()
Dtc09_bad_unlock.c9 void* child_fn ( void* arg ) in child_fn() function
35 pthread_create( &child, NULL, child_fn, (void*)&mx2 ); in nearly_main()
Dbar_trivial.c17 void* child_fn ( void* arg ) in child_fn() function
44 r = pthread_create(&thr[i], NULL, child_fn, (void*)i); in main()
Dstackteardown.c79 void* child_fn ( void* arg ) in child_fn() function
105 r = pthread_create(&child, &attr, child_fn, NULL); assert(!r); in main()
Dtc16_byterace.stderr.exp21 at 0x........: child_fn (tc16_byterace.c:13)
35 at 0x........: child_fn (tc16_byterace.c:13)
Dtc01_simple_race.stderr.exp21 at 0x........: child_fn (tc01_simple_race.c:14)
35 at 0x........: child_fn (tc01_simple_race.c:14)
/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
196 cpid1 = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_fn, cinit_no); in main()
200 cpid2 = ltp_clone_quick(CLONE_NEWPID | SIGCHLD, child_fn, cinit_no); 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
160 child_fn(priority - 2, 1); in main()
173 child_fn(priority - 1, 2); in main()
194 child_fn(priority - 1, 3); in main()
/external/ltp/lib/newlib_tests/
Dtest04.c25 static void child_fn(unsigned int i) in child_fn() function
50 child_fn(i); in do_test()
/external/valgrind/memcheck/tests/
Derr_disable3.c28 void* child_fn ( void* arg ) in child_fn() function
51 r = pthread_create(&child, NULL, child_fn, NULL); in main()
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat04.c45 static void child_fn(unsigned int i) in child_fn() function
68 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()

12