Home
last modified time | relevance | path

Searched refs:clone_args (Results 1 – 6 of 6) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/clone3/
Dclone3.c41 struct clone_args args = { in call_clone3()
47 struct clone_args args; in call_clone3()
55 if (size > sizeof(struct clone_args)) in call_clone3()
59 size = sizeof(struct clone_args); in call_clone3()
80 memcpy(&args_ext.args, &args, sizeof(struct clone_args)); in call_clone3()
82 pid = sys_clone3((struct clone_args *)&args_ext, size); in call_clone3()
154 test_clone3(0, sizeof(struct clone_args) + 8, 0, CLONE3_ARGS_NO_TEST); in main()
168 test_clone3(0, sizeof(struct clone_args) + 8, 0, CLONE3_ARGS_ALL_0); in main()
170 test_clone3(0, sizeof(struct clone_args) + 16, -E2BIG, in main()
173 test_clone3(0, sizeof(struct clone_args) * 2, -E2BIG, in main()
[all …]
Dclone3_selftests.h16 struct clone_args { struct
30 static pid_t sys_clone3(struct clone_args *args, size_t size) in sys_clone3() argument
40 struct clone_args args = {}; in test_clone3_supported()
Dclone3_set_tid.c49 struct clone_args args = { in call_clone3_set_tid()
56 pid = sys_clone3(&args, sizeof(struct clone_args)); in call_clone3_set_tid()
Dclone3_clear_sighand.c50 struct clone_args args = {}; in test_clone3_clear_sighand()
/external/linux-kselftest/tools/testing/selftests/pidfd/
Dpidfd_wait.c24 static pid_t sys_clone3(struct clone_args *args) in sys_clone3()
26 return syscall(__NR_clone3, args, sizeof(struct clone_args)); in sys_clone3()
40 struct clone_args args = { in test_pidfd_wait_simple()
125 struct clone_args args = { in test_pidfd_wait_states()
/external/kernel-headers/original/uapi/linux/
Dsched.h92 struct clone_args { struct