Searched refs:guard_size (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/bionic/ |
D | pthread_attr.cpp | 48 attr->guard_size = PTHREAD_GUARD_SIZE; in pthread_attr_init() 232 int pthread_attr_setguardsize(pthread_attr_t* attr, size_t guard_size) { in pthread_attr_setguardsize() argument 233 attr->guard_size = guard_size; in pthread_attr_setguardsize() 238 int pthread_attr_getguardsize(const pthread_attr_t* attr, size_t* guard_size) { in pthread_attr_getguardsize() argument 239 *guard_size = attr->guard_size; in pthread_attr_getguardsize()
|
D | pthread_create.cpp | 255 const size_t unaligned_guard_size = attr->guard_size; in __allocate_thread() 256 attr->guard_size = __BIONIC_ALIGN(attr->guard_size, PAGE_SIZE); in __allocate_thread() 257 if (attr->guard_size < unaligned_guard_size) return EAGAIN; in __allocate_thread() 259 mapping = __allocate_thread_mapping(attr->stack_size, attr->guard_size); in __allocate_thread()
|
/bionic/libc/include/bits/ |
D | pthread_types.h | 38 size_t guard_size; member
|
/bionic/tests/ |
D | pthread_test.cpp | 759 size_t guard_size; in TEST() local 760 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size)); in TEST() 761 ASSERT_EQ(128U, guard_size); in TEST() 771 size_t guard_size; in TEST() local 772 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size)); in TEST() 773 ASSERT_EQ(32*1024U, guard_size); in TEST() 783 size_t guard_size; in TEST() local 784 ASSERT_EQ(0, pthread_attr_getguardsize(&attributes, &guard_size)); in TEST() 785 ASSERT_EQ(32*1024U + 1, guard_size); in TEST() 797 size_t guard_size; in TEST() local [all …]
|