Searched refs:child_stack (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/bionic/ |
D | clone.cpp | 36 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()
|
D | pthread_create.cpp | 158 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.S | 17 movl 20(%esp), %ecx # child_stack
|
/bionic/tests/ |
D | sched_test.cpp | 31 void* child_stack[1024]; in TEST() local 34 pid_t tid = clone(child_fn, &child_stack[1024], CLONE_VM, &i); in TEST()
|
D | unistd_test.cpp | 532 void* child_stack[1024]; in CloneStartRoutine() local 533 return clone(start_routine, &child_stack[1024], SIGCHLD, NULL); in CloneStartRoutine()
|
/bionic/libc/ |
D | SECCOMP_WHITELIST.TXT | 34 int clone:clone(int (*fn)(void *), void *child_stack, int flags, void *arg, ..) all
|