Searched defs:stack_base (Results 1 - 5 of 5) sorted by relevance
/bionic/libc/include/bits/ |
H A D | pthread_types.h | 37 void* stack_base; member in struct:__anon45
|
/bionic/tools/versioner/current/bits/ |
H A D | pthread_types.h | 37 void* stack_base; member in struct:__anon2298
|
/bionic/libc/bionic/ |
H A D | pthread_attr.cpp | 43 attr->stack_base = NULL; 105 int pthread_attr_setstack(pthread_attr_t* attr, void* stack_base, size_t stack_size) { argument 109 if (reinterpret_cast<uintptr_t>(stack_base) & (PAGE_SIZE - 1)) { 112 attr->stack_base = stack_base; 147 static int __pthread_attr_getstack_main_thread(void** stack_base, size_t* stack_size) { argument 174 *stack_base = reinterpret_cast<void*>(hi - *stack_size); 183 int pthread_attr_getstack(const pthread_attr_t* attr, void** stack_base, size_t* stack_size) { argument 184 *stack_base = attr->stack_base; [all...] |
H A D | pthread_create.cpp | 81 void* stack_base = mmap(NULL, SIGNAL_STACK_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); local 82 if (stack_base != MAP_FAILED) { 85 if (mprotect(stack_base, PAGE_SIZE, PROT_NONE) == -1) { 86 munmap(stack_base, SIGNAL_STACK_SIZE); 90 ss.ss_sp = reinterpret_cast<uint8_t*>(stack_base) + PAGE_SIZE; 94 thread->alternate_signal_stack = stack_base; 99 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, stack_base, PAGE_SIZE, "thread signal stack guard page"); 162 if (attr->stack_base == NULL) { 167 attr->stack_base = __create_thread_mapped_space(mmap_size, attr->guard_size); 168 if (attr->stack_base [all...] |
/bionic/tests/ |
H A D | pthread_test.cpp | 1330 void* stack_base; local 1332 ASSERT_EQ(0, pthread_attr_getstack(&attributes, &stack_base, &stack_size)); 1351 // The high address of the /proc/self/maps [stack] region should equal stack_base + stack_size. 1354 EXPECT_EQ(maps_stack_hi, reinterpret_cast<uint8_t*>(stack_base) + stack_size); 1378 ASSERT_EQ(0, pthread_attr_getstack(&attributes, &stack_base, &stack_size)); 1392 ASSERT_EQ(0, pthread_attr_getstack(&attributes, &stack_base, &stack_size)); 1416 void* stack_base; local 1418 ASSERT_EQ(0, pthread_attr_getstack(&attr, &stack_base, &stack_size)); 1427 ASSERT_EQ(getstack_signal_handler_arg.main_stack_base, stack_base); 1477 void* stack_base; local [all...] |
Completed in 758 milliseconds