Home
last modified time | relevance | path

Searched refs:guardsize (Results 1 – 3 of 3) sorted by relevance

/src/lib/libthr/thread/
H A Dthr_stack.c46 size_t guardsize; /* Guard size. */ member
167 mprotect((char *)st->stackaddr + st->guardsize, st->stacksize, in __thr_map_stacks_exec()
170 mprotect((char *)st->stackaddr + st->guardsize, st->stacksize, in __thr_map_stacks_exec()
185 size_t guardsize; in _thr_stack_alloc() local
196 guardsize = round_up(attr->guardsize_attr); in _thr_stack_alloc()
211 (guardsize == _thr_guard_default)) { in _thr_stack_alloc()
226 spare_stack->guardsize == guardsize) { in _thr_stack_alloc()
247 stackaddr = last_stack - stacksize - guardsize; in _thr_stack_alloc()
256 last_stack -= (stacksize + guardsize); in _thr_stack_alloc()
263 if ((stackaddr = mmap(stackaddr, stacksize + guardsize, in _thr_stack_alloc()
[all …]
H A Dthr_attr.c202 size_t * __restrict guardsize) in _thr_attr_getguardsize() argument
205 if (attr == NULL || *attr == NULL || guardsize == NULL) in _thr_attr_getguardsize()
208 *guardsize = (*attr)->guardsize_attr; in _thr_attr_getguardsize()
373 _thr_attr_setguardsize(pthread_attr_t *attr, size_t guardsize) in _thr_attr_setguardsize() argument
379 (*attr)->guardsize_attr = guardsize; in _thr_attr_setguardsize()
/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc4782 INTERCEPTOR_PTHREAD_ATTR_GET(guardsize, sizeof(SIZE_T))