Home
last modified time | relevance | path

Searched refs:pagesz (Results 1 – 2 of 2) sorted by relevance

/external/valgrind/tests/
Dsys_mman.h23 long pagesz = sysconf(_SC_PAGE_SIZE); in get_unmapped_page() local
24 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()
/external/dlmalloc/
Dmalloc.c5321 size_t pagesz; in dlvalloc() local
5323 pagesz = mparams.page_size; in dlvalloc()
5324 return dlmemalign(pagesz, bytes); in dlvalloc()
5329 size_t pagesz; in dlpvalloc() local
5332 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()