Searched defs:guard_size (Results 1 - 2 of 2) sorted by relevance

/bionic/libc/include/
H A Dpthread.h72 size_t guard_size; member in struct:__anon30
131 int pthread_attr_setguardsize(pthread_attr_t * attr, size_t guard_size);
132 int pthread_attr_getguardsize(pthread_attr_t const * attr, size_t * guard_size);
/bionic/libc/bionic/
H A Dpthread.c88 .guard_size = PAGE_SIZE,
239 static void *mkstack(size_t size, size_t guard_size) argument
255 if(mprotect(stack, guard_size, PROT_NONE)){
322 stack = mkstack(stackSize, attr->guard_size);
487 int pthread_attr_setguardsize(pthread_attr_t * attr, size_t guard_size) argument
489 if (guard_size & (PAGE_SIZE - 1) || guard_size < PAGE_SIZE) {
493 attr->guard_size = guard_size;
497 int pthread_attr_getguardsize(pthread_attr_t const * attr, size_t * guard_size) argument
[all...]

Completed in 1022 milliseconds