Searched refs:stack_base (Results 1 - 4 of 4) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_attr.cpp37 attr->stack_base = NULL;
108 *stack_addr = (char*)attr->stack_base + attr->stack_size;
112 int pthread_attr_setstack(pthread_attr_t* attr, void* stack_base, size_t stack_size) { argument
116 if ((uint32_t)stack_base & (PAGE_SIZE - 1)) {
119 attr->stack_base = stack_base;
124 int pthread_attr_getstack(pthread_attr_t const* attr, void** stack_base, size_t* stack_size) { argument
125 *stack_base = attr->stack_base;
H A Dpthread_create.cpp171 if (thread->attr.stack_base == NULL) {
173 thread->attr.stack_base = __create_thread_stack(stack_size, thread->attr.guard_size);
174 if (thread->attr.stack_base == NULL) {
185 void** tls = (void**)((uint8_t*)(thread->attr.stack_base) + stack_size - BIONIC_TLS_SLOTS * sizeof(void*));
205 munmap(thread->attr.stack_base, stack_size);
H A Dpthread.c68 return thread->attr.stack_base;
100 void* stack_base = thread->attr.stack_base; local
128 thread->attr.stack_base = NULL;
162 _exit_with_stack_teardown(stack_base, stack_size, (int)retval);
/bionic/libc/include/
H A Dpthread.h74 void * stack_base; member in struct:__anon36

Completed in 68 milliseconds