Searched refs:pagesz (Results 1 – 2 of 2) 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()
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()