Searched refs:guard_size (Results 1 - 5 of 5) sorted by relevance
/bionic/libc/bionic/ |
H A D | pthread_attr.cpp | 44 attr->guard_size = PAGE_SIZE; 158 int pthread_attr_setguardsize(pthread_attr_t* attr, size_t guard_size) { argument 159 attr->guard_size = guard_size; 163 int pthread_attr_getguardsize(const pthread_attr_t* attr, size_t* guard_size) { argument 164 *guard_size = attr->guard_size;
|
H A D | pthread_create.cpp | 118 if (mprotect(stack, thread->attr.guard_size, PROT_NONE) == -1) { 121 thread->attr.guard_size, strerror(errno)); 176 thread->attr.guard_size = BIONIC_ALIGN(thread->attr.guard_size, PAGE_SIZE);
|
H A D | libc_init_common.cpp | 92 main_thread.attr.guard_size = 0; // The main thread has no guard page.
|
/bionic/tests/ |
H A D | pthread_test.cpp | 575 size_t guard_size; local 576 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size)); 577 ASSERT_EQ(128U, guard_size); 582 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size)); 583 ASSERT_EQ(32*1024U, guard_size); 587 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size)); 588 ASSERT_EQ(32*1024U + 1, guard_size); 831 size_t guard_size; local 832 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size)); 833 ASSERT_EQ(0U, guard_size); // Th [all...] |
/bionic/libc/include/ |
H A D | pthread.h | 83 size_t guard_size; member in struct:__anon49
|
Completed in 36 milliseconds