Lines Matching refs:stacksize
45 size_t stacksize; /* Stack size (rounded up). */ 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()
184 size_t stacksize; in _thr_stack_alloc() local
195 stacksize = round_up(attr->stacksize_attr); in _thr_stack_alloc()
210 if ((stacksize == THR_STACK_DEFAULT) && in _thr_stack_alloc()
225 if (spare_stack->stacksize == stacksize && 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()
271 munmap(stackaddr, stacksize + guardsize); in _thr_stack_alloc()
293 spare_stack->stacksize = round_up(attr->stacksize_attr); in _thr_stack_free()
297 if (spare_stack->stacksize == THR_STACK_DEFAULT && in _thr_stack_free()