Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dclone.cpp36 extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int*…
50 int clone(int (*fn)(void*), void* child_stack, int flags, void* arg, ...) { in clone() argument
55 if (fn != nullptr && child_stack == nullptr) { in clone()
75 uintptr_t child_stack_addr = reinterpret_cast<uintptr_t>(child_stack); in clone()
77 child_stack = reinterpret_cast<void*>(child_stack_addr); in clone()
95 clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg); in clone()
98 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, child_tid, new_tls); in clone()
100 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, new_tls, child_tid); in clone()
Dpthread_create.cpp158 static int __allocate_thread(pthread_attr_t* attr, pthread_internal_t** threadp, void** child_stack in __allocate_thread() argument
200 *child_stack = stack_top; in __allocate_thread()
244 void* child_stack = NULL; in pthread_create() local
245 int result = __allocate_thread(&thread_attr, &thread, &child_stack); in pthread_create()
274 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid)); in pthread_create()
/bionic/libc/arch-x86/bionic/
D__bionic_clone.S17 movl 20(%esp), %ecx # child_stack
/bionic/tests/
Dsched_test.cpp31 void* child_stack[1024]; in TEST() local
34 pid_t tid = clone(child_fn, &child_stack[1024], CLONE_VM, &i); in TEST()
Dunistd_test.cpp532 void* child_stack[1024]; in CloneStartRoutine() local
533 return clone(start_routine, &child_stack[1024], SIGCHLD, NULL); in CloneStartRoutine()
/bionic/libc/
DSECCOMP_WHITELIST.TXT34 int clone:clone(int (*fn)(void *), void *child_stack, int flags, void *arg, ..) all