Lines Matching refs:pagesz
62 #define NPOOLPAGES (128*1024/pagesz)
97 static int pagesz; /* page size */ variable
123 if (pagesz == 0) in __crt_malloc()
124 pagesz = pagesizes[0]; in __crt_malloc()
204 if (sz < pagesz) { in morecore()
205 amt = pagesz; in morecore()
212 if (morepages(amt / pagesz + NPOOLPAGES) == 0 && in morecore()
214 morepages(amt / pagesz) == 0) in morecore()
265 if (onb < (u_int)pagesz) in __crt_realloc()
268 onb += pagesz - sizeof(*op); in __crt_realloc()
272 if (i < pagesz) in __crt_realloc()
275 i += pagesz - sizeof(*op); in __crt_realloc()
292 if (pagepool_end - pagepool_start > pagesz) { in morepages()
293 addr = roundup2(pagepool_start, pagesz); in morepages()
304 (uintptr_t)pagepool_start, pagesz); in morepages()
306 addr = mmap(0, n * pagesz, PROT_READ | PROT_WRITE, in morepages()
318 pagepool_end = pagepool_start + n * pagesz; in morepages()