Searched refs:guard_size (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/bionic/ |
D | pthread_attr.cpp | 45 attr->guard_size = PAGE_SIZE; in pthread_attr_init() 160 int pthread_attr_setguardsize(pthread_attr_t* attr, size_t guard_size) { in pthread_attr_setguardsize() argument 161 attr->guard_size = guard_size; in pthread_attr_setguardsize() 165 int pthread_attr_getguardsize(const pthread_attr_t* attr, size_t* guard_size) { in pthread_attr_getguardsize() argument 166 *guard_size = attr->guard_size; in pthread_attr_getguardsize()
|
D | pthread_create.cpp | 155 attr->guard_size = BIONIC_ALIGN(attr->guard_size, PAGE_SIZE); in __allocate_thread() 156 attr->stack_base = __create_thread_mapped_space(mmap_size, attr->guard_size); in __allocate_thread()
|
D | libc_init_common.cpp | 95 main_thread.attr.guard_size = 0; // The main thread has no guard page. in __libc_init_tls()
|
/bionic/libc/include/machine/ |
D | pthread_types.h | 40 size_t guard_size; member
|
/bionic/tests/ |
D | pthread_test.cpp | 594 size_t guard_size; in TEST() local 595 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size)); in TEST() 596 ASSERT_EQ(128U, guard_size); in TEST() 601 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size)); in TEST() 602 ASSERT_EQ(32*1024U, guard_size); in TEST() 606 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size)); in TEST() 607 ASSERT_EQ(32*1024U + 1, guard_size); in TEST() 1144 size_t guard_size; in TEST() local 1145 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size)); in TEST() 1146 ASSERT_EQ(0U, guard_size); // The main thread has no guard page. in TEST()
|