Searched refs:stack_base (Results 1 - 6 of 6) sorted by relevance
/bionic/libc/bionic/ |
H A D | pthread_attr.cpp | 42 attr->stack_base = NULL; 104 int pthread_attr_setstack(pthread_attr_t* attr, void* stack_base, size_t stack_size) { argument 108 if (reinterpret_cast<uintptr_t>(stack_base) & (PAGE_SIZE - 1)) { 111 attr->stack_base = stack_base; 116 static int __pthread_attr_getstack_main_thread(void** stack_base, size_t* stack_size) { argument 140 *stack_base = reinterpret_cast<void*>(hi - *stack_size); 149 int pthread_attr_getstack(const pthread_attr_t* attr, void** stack_base, size_t* stack_size) { argument 151 return __pthread_attr_getstack_main_thread(stack_base, stack_size); 153 *stack_base [all...] |
H A D | pthread_exit.cpp | 91 void* stack_base = thread->attr.stack_base; local 106 thread->attr.stack_base = NULL; 134 _exit_with_stack_teardown(stack_base, stack_size);
|
H A D | pthread_create.cpp | 178 if (thread->attr.stack_base == NULL) { 180 thread->attr.stack_base = __create_thread_stack(thread); 181 if (thread->attr.stack_base == NULL) { 194 thread->tls = reinterpret_cast<void**>(reinterpret_cast<uint8_t*>(thread->attr.stack_base) + 231 munmap(thread->attr.stack_base, thread->attr.stack_size);
|
H A D | ndk_cruft.cpp | 94 *stack_addr = (char*)attr->stack_base + attr->stack_size;
|
/bionic/tests/ |
H A D | pthread_test.cpp | 836 void* stack_base; local 838 ASSERT_EQ(0, pthread_attr_getstack(&attributes, &stack_base, &stack_size)); 877 // The high address of the /proc/self/maps [stack] region should equal stack_base + stack_size. 880 EXPECT_EQ(maps_stack_hi, reinterpret_cast<uint8_t*>(stack_base) + stack_size); 890 ASSERT_EQ(0, pthread_attr_getstack(&attributes, &stack_base, &stack_size)); 904 ASSERT_EQ(0, pthread_attr_getstack(&attributes, &stack_base, &stack_size));
|
/bionic/libc/include/ |
H A D | pthread.h | 81 void* stack_base; member in struct:__anon49
|
Completed in 334 milliseconds