Lines Matching refs:guardsize
329 size_t stacksize, guardsize; in pthread__getstack() local
335 pthread_attr_getguardsize(attr, &guardsize); in pthread__getstack()
337 guardsize = 0; in pthread__getstack()
341 guardsize = pthread__guardsize; in pthread__getstack()
349 newthread->pt_guardsize == guardsize) in pthread__getstack()
367 guardsize = ((guardsize - 1) | (pthread__pagesize - 1)) + 1; in pthread__getstack()
368 stackbase = mmap(NULL, stacksize + guardsize, in pthread__getstack()
381 stackbase2 = (char *)stackbase + guardsize; in pthread__getstack()
383 if (allocated && guardsize && in pthread__getstack()
384 mprotect(redzone, guardsize, PROT_NONE) == -1) { in pthread__getstack()
385 munmap(stackbase, stacksize + guardsize); in pthread__getstack()
390 newthread->pt_guardsize = guardsize; in pthread__getstack()