Home
last modified time | relevance | path

Searched refs:clone_flags (Results 1 – 7 of 7) sorted by relevance

/third_party/ltp/testcases/kernel/containers/libclone/
Dlibclone.c19 int do_clone_tests(unsigned long clone_flags, in do_clone_tests() argument
25 ret = ltp_clone_quick(clone_flags | SIGCHLD, fn1, arg1); in do_clone_tests()
38 int do_unshare_tests(unsigned long clone_flags, in do_unshare_tests() argument
59 ret = ltp_syscall(SYS_unshare, clone_flags); in do_unshare_tests()
106 int do_clone_unshare_test(int use_clone, unsigned long clone_flags, in do_clone_unshare_test() argument
113 return do_clone_tests(clone_flags, fn1, arg1, NULL, NULL); in do_clone_unshare_test()
115 return do_unshare_tests(clone_flags, fn1, arg1, NULL, NULL); in do_clone_unshare_test()
126 int do_clone_unshare_tests(int use_clone, unsigned long clone_flags, in do_clone_unshare_tests() argument
134 return do_clone_tests(clone_flags, fn1, arg1, fn2, arg2); in do_clone_unshare_tests()
136 return do_unshare_tests(clone_flags, fn1, arg1, fn2, arg2); in do_clone_unshare_tests()
Dlibclone.h64 int do_clone_tests(unsigned long clone_flags,
68 int do_unshare_tests(unsigned long clone_flags,
75 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/sysvipc/
Dcommon.h40 static void clone_test(unsigned long clone_flags, void (*fn1)()) in clone_test() argument
43 .flags = clone_flags, in clone_test()
55 static void unshare_test(unsigned long clone_flags, void (*fn1)()) in unshare_test() argument
61 SAFE_UNSHARE(clone_flags); in unshare_test()
79 static void clone_unshare_test(int use_clone, unsigned long clone_flags, void (*fn1)()) in clone_unshare_test() argument
86 clone_test(clone_flags, fn1); in clone_unshare_test()
89 unshare_test(clone_flags, fn1); in clone_unshare_test()
/third_party/ltp/lib/
Dcloner.c133 ltp_clone_alloc(unsigned long clone_flags, int (*fn) (void *arg), void *arg, in ltp_clone_alloc() argument
144 ret = ltp_clone(clone_flags, fn, arg, stack_size, stack); in ltp_clone_alloc()
160 int ltp_clone_quick(unsigned long clone_flags, int (*fn) (void *arg), void *arg) in ltp_clone_quick() argument
164 return ltp_clone_alloc(clone_flags, fn, arg, stack_size); in ltp_clone_quick()
/third_party/ltp/testcases/kdump/lib/kprobes/
Dkprobes.c14 long jdo_fork(unsigned long clone_flags, unsigned long stack_start, in jdo_fork() argument
19 clone_flags, stack_size, regs); in jdo_fork()
/third_party/ltp/include/
Dtst_clone.h42 int ltp_clone_alloc(unsigned long clone_flags, int (*fn)(void *arg),
44 int ltp_clone_quick(unsigned long clone_flags, int (*fn)(void *arg),
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h26629 long unsigned int clone_flags; member