Lines Matching refs:stacksize
47 size_t stacksize; /* Stack size (rounded up). */ member
180 mprotect((char *)st->stackaddr + st->guardsize, st->stacksize, in __thr_map_stacks_exec()
183 mprotect((char *)st->stackaddr + st->guardsize, st->stacksize, in __thr_map_stacks_exec()
197 size_t stacksize; in _thr_stack_alloc() local
208 stacksize = round_up(attr->stacksize_attr); in _thr_stack_alloc()
223 if ((stacksize == THR_STACK_DEFAULT) && in _thr_stack_alloc()
238 if (spare_stack->stacksize == stacksize && in _thr_stack_alloc()
260 stackaddr = last_stack - stacksize - guardsize; in _thr_stack_alloc()
269 last_stack -= (stacksize + guardsize); in _thr_stack_alloc()
276 if ((stackaddr = mmap(stackaddr, stacksize + guardsize, in _thr_stack_alloc()
284 munmap(stackaddr, stacksize + guardsize); in _thr_stack_alloc()
306 spare_stack->stacksize = round_up(attr->stacksize_attr); in _thr_stack_free()
310 if (spare_stack->stacksize == THR_STACK_DEFAULT && in _thr_stack_free()