Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap02.c84 long page_sz, map_sz; in main() local
105 map_sz = read_meminfo("Hugepagesize:") * 1024 * 2; in main()
133 while (range_is_mapped(cleanup, low_addr, low_addr + map_sz) == 1) { in main()
147 while (range_is_mapped(cleanup, low_addr2, low_addr2 + map_sz) == 1) { in main()
155 addr2 = mmap((void *)low_addr2, map_sz, PROT_READ | PROT_WRITE, in main()
182 if (munmap(addr2, map_sz) == -1) in main()
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap15.c49 static long map_sz; variable
73 addr = mmap(HIGH_ADDR, map_sz, PROT_READ, in main()
78 munmap(addr, map_sz); in main()
105 map_sz = getpagesize(); in setup()