Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libthr/thread/
H A Dthr_stack.c48 size_t guardsize; /* Guard size. */ member
198 size_t guardsize; in _thr_stack_alloc() local
209 guardsize = round_up(attr->guardsize_attr); in _thr_stack_alloc()
224 (guardsize == _thr_guard_default)) { in _thr_stack_alloc()
239 spare_stack->guardsize == guardsize) { in _thr_stack_alloc()
260 stackaddr = last_stack - stacksize - guardsize; in _thr_stack_alloc()
269 last_stack -= (stacksize + guardsize); in _thr_stack_alloc()
279 (guardsize == 0 || in _thr_stack_alloc()
281 stackaddr += guardsize; in _thr_stack_alloc()
284 munmap(stackaddr, stacksize + guardsize); in _thr_stack_alloc()
[all …]
H A Dthr_attr.c207 size_t * __restrict guardsize) in _thr_attr_getguardsize() argument
212 if (attr == NULL || *attr == NULL || guardsize == NULL) in _thr_attr_getguardsize()
216 *guardsize = (*attr)->guardsize_attr; in _thr_attr_getguardsize()
425 _thr_attr_setguardsize(pthread_attr_t *attr, size_t guardsize) in _thr_attr_setguardsize() argument
434 (*attr)->guardsize_attr = guardsize; in _thr_attr_setguardsize()
/freebsd-13.1/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-13.1/contrib/apr/include/
H A Dapr_thread_proc.h257 apr_size_t guardsize);
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc4690 INTERCEPTOR_PTHREAD_ATTR_GET(guardsize, sizeof(SIZE_T))