Home
last modified time | relevance | path

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

/third_party/musl/porting/linux/user/src/linux/
Dclone.c15 static int __start_child(void *clone_args) in __start_child() argument
19 int (*func)(void *) = ((struct __clone_args *)clone_args)->func; in __start_child()
20 void *arg = ((struct __clone_args *)clone_args)->arg; in __start_child()
21 free(clone_args); in __start_child()
44 struct __clone_args *clone_args = (struct __clone_args *)arg; in clone() local
52 clone_args = (struct __clone_args *)malloc(sizeof(struct __clone_args)); in clone()
53 if (clone_args == NULL) { in clone()
57 clone_args->func = clone_func; in clone()
58 clone_args->arg = arg; in clone()
61 ret = __syscall_ret(__clone(clone_func, stack, flags, (void *)clone_args, ptid, tls, ctid)); in clone()
[all …]
/third_party/ltp/testcases/kernel/syscalls/clone3/
Dclone302.c19 static struct clone_args *valid_args, *invalid_args;
25 struct clone_args **args;
71 struct clone_args *args = *tc->args; in run()
Dclone301.c26 static struct clone_args *args;
/third_party/ltp/include/lapi/
Dclone.h19 struct clone_args { struct
30 static inline int clone3(struct clone_args *args, size_t size) in clone3() argument
/third_party/ltp/lib/
Dtst_clone.c15 struct clone_args args = { in tst_clone()