Searched refs:guardsize (Results 1 – 5 of 5) sorted by relevance
31 size_t guardsize; in _rthread_alloc_stack() local75 stack->guardsize = 1; in _rthread_alloc_stack()81 guardsize = ROUND_TO_PAGE(thread->attr.guard_size); in _rthread_alloc_stack()85 guardsize < thread->attr.guard_size || in _rthread_alloc_stack()86 SIZE_MAX - size < guardsize) { in _rthread_alloc_stack()91 size += guardsize; in _rthread_alloc_stack()102 guard = base + size - guardsize; in _rthread_alloc_stack()110 if (guardsize != 0 && mprotect(guard, guardsize, PROT_NONE) == -1) { in _rthread_alloc_stack()117 stack->guardsize = guardsize; in _rthread_alloc_stack()126 stack->guardsize == _thread_pagesize) { in _rthread_free_stack()[all …]
74 pthread_attr_getguardsize(const pthread_attr_t *attrp, size_t *guardsize) in pthread_attr_getguardsize() argument76 *guardsize = (*attrp)->guard_size; in pthread_attr_getguardsize()82 pthread_attr_setguardsize(pthread_attr_t *attrp, size_t guardsize) in pthread_attr_setguardsize() argument84 (*attrp)->guard_size = guardsize; in pthread_attr_setguardsize()
90 if (thread->stack->guardsize != 1) in pthread_stackseg_np()91 sinfo->ss_size -= thread->stack->guardsize; in pthread_stackseg_np()
46 size_t guardsize; /* size of PROT_NONE zone or */ member
4821 INTERCEPTOR_PTHREAD_ATTR_GET(guardsize, sizeof(SIZE_T))