Searched refs:child_stack (Results 1 - 5 of 5) sorted by relevance
/bionic/libc/bionic/ |
H A D | clone.cpp | 36 extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int* child_tid, int (*fn)(void*), void* arg); 45 int clone(int (*fn)(void*), void* child_stack, int flags, void* arg, ...) { argument 64 // Align 'child_stack' to 16 bytes. 65 uintptr_t child_stack_addr = reinterpret_cast<uintptr_t>(child_stack); 67 child_stack = reinterpret_cast<void*>(child_stack_addr); 74 int clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg);
|
H A D | pthread_create.cpp | 142 static int __allocate_thread(pthread_attr_t* attr, pthread_internal_t** threadp, void** child_stack) { argument 183 *child_stack = stack_top; 227 void* child_stack = NULL; local 228 int result = __allocate_thread(&thread_attr, &thread, &child_stack); 257 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid));
|
/bionic/libc/arch-x86/bionic/ |
H A D | __bionic_clone.S | 3 // pid_t __bionic_clone(int flags, void* child_stack, pid_t* parent_tid, void* tls, pid_t* child_tid, int (*fn)(void*), void* arg); 17 movl 20(%esp), %ecx # child_stack
|
/bionic/tests/ |
H A D | sched_test.cpp | 31 void* child_stack[1024]; local 34 pid_t tid = clone(child_fn, &child_stack[1024], CLONE_VM, &i);
|
H A D | unistd_test.cpp | 452 void* child_stack[1024]; local 453 int clone_result = clone(GetPidCachingCloneStartRoutine, &child_stack[1024], CLONE_NEWNS | SIGCHLD, NULL);
|
Completed in 88 milliseconds