Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/arm64/abi/
H A Dtpidr2.c135 #define __STACK_SIZE (8 * 1024 * 1024) macro
152 stack = malloc(__STACK_SIZE); in write_clone_read()
158 ret = sys_clone(CLONE_VM, (unsigned long)stack + __STACK_SIZE, in write_clone_read()
/linux/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c267 #define __STACK_SIZE (8 * 1024 * 1024) macro
272 stack = malloc(__STACK_SIZE); in do_clone()
277 return __clone2(fn, stack, __STACK_SIZE, flags | SIGCHLD, arg, NULL); in do_clone()
279 return clone(fn, stack + __STACK_SIZE, flags | SIGCHLD, arg, NULL); in do_clone()
/linux/tools/testing/selftests/pid_namespace/
H A Dpid_max.c19 #define __STACK_SIZE (8 * 1024 * 1024) macro
25 stack = malloc(__STACK_SIZE); in do_clone()
30 ret = __clone2(fn, stack, __STACK_SIZE, flags | SIGCHLD, arg); in do_clone()
32 ret = clone(fn, stack + __STACK_SIZE, flags | SIGCHLD, arg); in do_clone()
/linux/tools/testing/selftests/filesystems/
H A Dutils.c138 #define __STACK_SIZE (8 * 1024 * 1024) macro
143 stack = malloc(__STACK_SIZE); in do_clone()
148 return __clone2(fn, stack, __STACK_SIZE, flags | SIGCHLD, arg, NULL); in do_clone()
150 return clone(fn, stack + __STACK_SIZE, flags | SIGCHLD, arg, NULL); in do_clone()
/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c1165 #define __STACK_SIZE (8 * 1024 * 1024) macro
1170 stack = malloc(__STACK_SIZE); in do_clone()
1175 return __clone2(fn, stack, __STACK_SIZE, flags | SIGCHLD, arg, NULL); in do_clone()
1177 return clone(fn, stack + __STACK_SIZE, flags | SIGCHLD, arg, NULL); in do_clone()