Searched refs:guard_size (Results 1 - 3 of 3) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_attr.cpp39 attr->guard_size = PAGE_SIZE;
130 int pthread_attr_setguardsize(pthread_attr_t* attr, size_t guard_size) { argument
131 if (guard_size & (PAGE_SIZE - 1) || guard_size < PAGE_SIZE) {
134 attr->guard_size = guard_size;
138 int pthread_attr_getguardsize(pthread_attr_t const* attr, size_t* guard_size) { argument
139 *guard_size = attr->guard_size;
H A Dpthread_create.cpp123 static void* __create_thread_stack(size_t stack_size, size_t guard_size) { argument
135 if (mprotect(stack, guard_size, PROT_NONE) == -1) {
173 thread->attr.stack_base = __create_thread_stack(stack_size, thread->attr.guard_size);
/bionic/libc/include/
H A Dpthread.h76 size_t guard_size; member in struct:__anon36
135 int pthread_attr_setguardsize(pthread_attr_t * attr, size_t guard_size);
136 int pthread_attr_getguardsize(pthread_attr_t const * attr, size_t * guard_size);

Completed in 165 milliseconds