Searched refs:child_stack (Results 1 - 5 of 5) sorted by last modified time

/bionic/tests/
H A Dsched_test.cpp31 void* child_stack[1024]; local
34 pid_t tid = clone(child_fn, &child_stack[1024], CLONE_VM, &i);
H A Dunistd_test.cpp432 void* child_stack[1024]; local
433 int clone_result = clone(GetPidCachingCloneStartRoutine, &child_stack[1024], CLONE_NEWNS | SIGCHLD, NULL);
/bionic/libc/arch-x86/bionic/
H A D__bionic_clone.S3 // pid_t __bionic_clone(int flags, void* child_stack, pid_t* parent_tid, void* tls, pid_t* child_tid, int (*fn)(void*), void* arg);
11 movl 20(%esp), %ecx # child_stack
/bionic/libc/bionic/
H A Dclone.cpp36 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 Dpthread_create.cpp196 void* child_stack = thread->tls; local
223 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid));

Completed in 6 milliseconds