Searched refs:map_sz (Results 1 – 1 of 1) sorted by relevance
67 long page_sz, map_sz; in test_hugemmap() local70 map_sz = SAFE_READ_MEMINFO("Hugepagesize:") * 1024 * 2; in test_hugemmap()82 while (range_is_mapped(low_addr, low_addr + map_sz) == 1) { in test_hugemmap()94 while (range_is_mapped(low_addr2, low_addr2 + map_sz) == 1) { in test_hugemmap()101 addr2 = mmap((void *)low_addr2, map_sz, PROT_READ | PROT_WRITE, in test_hugemmap()127 if (munmap(addr2, map_sz) == -1) in test_hugemmap()