Home
last modified time | relevance | path

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

/freebsd-14.2/lib/libthr/thread/
H A Dthr_stack.c47 size_t guardsize; /* Guard size. */ member
186 size_t guardsize; in _thr_stack_alloc() local
197 guardsize = round_up(attr->guardsize_attr); in _thr_stack_alloc()
212 (guardsize == _thr_guard_default)) { in _thr_stack_alloc()
227 spare_stack->guardsize == guardsize) { in _thr_stack_alloc()
248 stackaddr = last_stack - stacksize - guardsize; in _thr_stack_alloc()
257 last_stack -= (stacksize + guardsize); in _thr_stack_alloc()
267 (guardsize == 0 || in _thr_stack_alloc()
269 stackaddr += guardsize; in _thr_stack_alloc()
272 munmap(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()
/freebsd-14.2/sys/contrib/openzfs/lib/libtpool/
H A Dthread_pool.c272 size_t guardsize; in pthread_attr_clone() local
273 error = pthread_attr_getguardsize(old_attr, &guardsize); in pthread_attr_clone()
275 error = pthread_attr_setguardsize(attr, guardsize); in pthread_attr_clone()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc4771 INTERCEPTOR_PTHREAD_ATTR_GET(guardsize, sizeof(SIZE_T))