Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dclone.cpp40 extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int*…
58 int clone(int (*fn)(void*), void* child_stack, int flags, void* arg, ...) { in clone() argument
63 if (fn != nullptr && child_stack == nullptr) { in clone()
83 uintptr_t child_stack_addr = reinterpret_cast<uintptr_t>(child_stack); in clone()
85 child_stack = reinterpret_cast<void*>(child_stack_addr); in clone()
103 clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg); in clone()
106 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, child_tid, new_tls); in clone()
108 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, new_tls, child_tid); in clone()
Dpthread_create.cpp263 static int __allocate_thread(pthread_attr_t* attr, bionic_tcb** tcbp, void** child_stack) { in __allocate_thread() argument
320 *child_stack = stack_top; in __allocate_thread()
367 void* child_stack = nullptr; in pthread_create() local
368 int result = __allocate_thread(&thread_attr, &tcb, &child_stack); in pthread_create()
399 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.cpp540 void* child_stack[1024]; in CloneStartRoutine() local
541 return clone(start_routine, untag_address(&child_stack[1024]), SIGCHLD, nullptr); in CloneStartRoutine()
/bionic/libc/
DSECCOMP_WHITELIST_COMMON.TXT34 int clone:clone(int (*fn)(void *), void *child_stack, int flags, void *arg, ..) all