Searched refs:pagesz (Results 1 – 4 of 4) sorted by relevance
23 long pagesz = sysconf(_SC_PAGE_SIZE); in get_unmapped_page() local24 assert(pagesz == 4096 || pagesz == 16384 || pagesz == 65536); in get_unmapped_page()25 ptr = mmap(0, pagesz, PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in get_unmapped_page()27 r = munmap(ptr, pagesz); in get_unmapped_page()
157 int pagesz; /* system's page size */ in setup() local164 if ((pagesz = getpagesize()) < 0) { in setup()170 memsize = (1000 * pagesz); in setup()
31 long i, pagesz = getpagesize(); in alloc_mem() local55 for (i = 0; i < length; i += pagesz) in alloc_mem()
5321 size_t pagesz; in dlvalloc() local5323 pagesz = mparams.page_size; in dlvalloc()5324 return dlmemalign(pagesz, bytes); in dlvalloc()5329 size_t pagesz; in dlpvalloc() local5332 pagesz = mparams.page_size; in dlpvalloc()5333 size = (bytes + pagesz - SIZE_T_ONE) & ~(pagesz - SIZE_T_ONE); in dlpvalloc()5337 return dlmemalign(pagesz, size); in dlpvalloc()