Lines Matching refs:stacksize
46 size_t stacksize; /* Stack size (rounded up). */ member
168 mprotect((char *)st->stackaddr + st->guardsize, st->stacksize, in __thr_map_stacks_exec()
171 mprotect((char *)st->stackaddr + st->guardsize, st->stacksize, in __thr_map_stacks_exec()
185 size_t stacksize; in _thr_stack_alloc() local
196 stacksize = round_up(attr->stacksize_attr); in _thr_stack_alloc()
211 if ((stacksize == THR_STACK_DEFAULT) && in _thr_stack_alloc()
226 if (spare_stack->stacksize == stacksize && in _thr_stack_alloc()
248 stackaddr = last_stack - stacksize - guardsize; in _thr_stack_alloc()
257 last_stack -= (stacksize + guardsize); in _thr_stack_alloc()
264 if ((stackaddr = mmap(stackaddr, stacksize + guardsize, in _thr_stack_alloc()
272 munmap(stackaddr, stacksize + guardsize); in _thr_stack_alloc()
294 spare_stack->stacksize = round_up(attr->stacksize_attr); in _thr_stack_free()
298 if (spare_stack->stacksize == THR_STACK_DEFAULT && in _thr_stack_free()