Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dksm_tests.c553 void *map_ptr, *map_ptr_orig; in ksm_merge_hugepages_time() local
562 map_ptr_orig = mmap(NULL, len + HPAGE_SIZE, PROT_READ | PROT_WRITE, in ksm_merge_hugepages_time()
564 map_ptr = map_ptr_orig + HPAGE_SIZE - (uintptr_t)map_ptr_orig % HPAGE_SIZE; in ksm_merge_hugepages_time()
566 if (map_ptr_orig == MAP_FAILED) in ksm_merge_hugepages_time()
609 munmap(map_ptr_orig, len + HPAGE_SIZE); in ksm_merge_hugepages_time()
614 munmap(map_ptr_orig, len + HPAGE_SIZE); in ksm_merge_hugepages_time()