Lines Matching refs:stacksize
329 size_t stacksize, guardsize; in pthread__getstack() local
333 pthread_attr_getstack(attr, &stackbase, &stacksize); in pthread__getstack()
340 stacksize = 0; in pthread__getstack()
343 if (stacksize == 0) in pthread__getstack()
344 stacksize = pthread__stacksize; in pthread__getstack()
348 newthread->pt_stack.ss_size == stacksize && in pthread__getstack()
366 stacksize = ((stacksize - 1) | (pthread__pagesize - 1)) + 1; in pthread__getstack()
368 stackbase = mmap(NULL, stacksize + guardsize, in pthread__getstack()
377 redzone = (char *)stackbase + stacksize; in pthread__getstack()
385 munmap(stackbase, stacksize + guardsize); in pthread__getstack()
388 newthread->pt_stack.ss_size = stacksize; in pthread__getstack()