Home
last modified time | relevance | path

Searched refs:use_clone (Results 1 – 12 of 12) sorted by relevance

/third_party/ltp/testcases/kernel/containers/sysvipc/
Dshmem_2nstest.c121 int ret, use_clone = T_NONE; in main() local
140 use_clone = T_CLONE; in main()
143 use_clone = T_UNSHARE; in main()
151 do_clone_unshare_test(use_clone, CLONE_NEWIPC, check_shmem1, NULL); in main()
156 do_clone_unshare_test(use_clone, CLONE_NEWIPC, check_shmem2, NULL); in main()
164 if (use_clone == T_NONE) in main()
173 if (use_clone == T_NONE) in main()
Dsemtest_2ns.c164 int ret, id, use_clone = T_NONE; in main() local
188 use_clone = T_CLONE; in main()
191 use_clone = T_UNSHARE; in main()
198 ret = do_clone_unshare_test(use_clone, CLONE_NEWIPC, check_sem1, NULL); in main()
203 ret = do_clone_unshare_test(use_clone, CLONE_NEWIPC, check_sem2, NULL); in main()
211 if (use_clone == T_NONE) in main()
219 else if (use_clone == T_NONE) in main()
Dshmnstest.c77 int r, use_clone = T_NONE; in main() local
100 use_clone = T_CLONE; in main()
103 use_clone = T_UNSHARE; in main()
116 r = do_clone_unshare_test(use_clone, CLONE_NEWIPC, check_shmid, NULL); in main()
126 if (use_clone == T_NONE) in main()
132 if (use_clone == T_NONE) in main()
Dsem_nstest.c77 int ret, use_clone = T_NONE, id; in main() local
100 use_clone = T_CLONE; in main()
103 use_clone = T_UNSHARE; in main()
125 do_clone_unshare_test(use_clone, CLONE_NEWIPC, check_semaphore, in main()
137 if (use_clone == T_NONE) in main()
145 if (use_clone == T_NONE) in main()
Dmesgq_nstest.c94 int ret, use_clone = T_NONE, id, n; in main() local
119 use_clone = T_CLONE; in main()
122 use_clone = T_UNSHARE; in main()
143 ret = do_clone_unshare_test(use_clone, CLONE_NEWIPC, check_mesgq, NULL); in main()
154 if (use_clone == T_NONE) in main()
162 if (use_clone == T_NONE) in main()
/third_party/ltp/testcases/kernel/containers/libclone/
Dlibclone.c106 int do_clone_unshare_test(int use_clone, unsigned long clone_flags, in do_clone_unshare_test() argument
109 switch (use_clone) { in do_clone_unshare_test()
118 use_clone); in do_clone_unshare_test()
126 int do_clone_unshare_tests(int use_clone, unsigned long clone_flags, in do_clone_unshare_tests() argument
130 switch (use_clone) { in do_clone_unshare_tests()
139 use_clone); in do_clone_unshare_tests()
Dlibclone.h75 int do_clone_unshare_test(int use_clone, unsigned long clone_flags,
78 int do_clone_unshare_tests(int use_clone, unsigned long clone_flags,
/third_party/ltp/testcases/kernel/containers/mqns/
Dmqns_01.c92 int use_clone = T_UNSHARE; in main() local
99 use_clone = T_CLONE; in main()
117 r = do_clone_unshare_test(use_clone, CLONE_NEWIPC, check_mqueue, NULL); in main()
Dmqns_02.c125 int use_clone = T_UNSHARE; in main() local
132 use_clone = T_CLONE; in main()
142 r = do_clone_unshare_test(use_clone, CLONE_NEWIPC, check_mqueue, NULL); in main()
Dmqns_04.c101 int use_clone = T_UNSHARE; in main() local
108 use_clone = T_CLONE; in main()
127 rc = do_clone_unshare_test(use_clone, CLONE_NEWIPC, check_mqueue, NULL); in main()
Dmqns_03.c142 int use_clone = T_UNSHARE; in main() local
148 use_clone = T_CLONE; in main()
157 r = do_clone_unshare_test(use_clone, CLONE_NEWIPC, check_mqueue, NULL); in main()
/third_party/ltp/testcases/kernel/containers/utsname/
Dutstest.c289 int r, pid, use_clone = T_UNSHARE; in main() local
313 use_clone = T_CLONE; in main()
327 r = do_clone_unshare_tests(use_clone, CLONE_NEWUTS, in main()
340 r = do_clone_unshare_test(use_clone, CLONE_NEWUTS, in main()