Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap02.c50 long page_sz, map_sz; in test_hugemmap() local
53 map_sz = SAFE_READ_MEMINFO("Hugepagesize:") * 1024 * 2; in test_hugemmap()
65 while (range_is_mapped(low_addr, low_addr + map_sz) == 1) { in test_hugemmap()
77 while (range_is_mapped(low_addr2, low_addr2 + map_sz) == 1) { in test_hugemmap()
84 addr2 = mmap((void *)low_addr2, map_sz, PROT_READ | PROT_WRITE, in test_hugemmap()
110 if (munmap(addr2, map_sz) == -1) in test_hugemmap()