Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/vm/
Dksm_tests.c457 void *map_ptr, *map_ptr_orig; in ksm_merge_hugepages_time() local
466 map_ptr_orig = mmap(NULL, len + HPAGE_SIZE, PROT_READ | PROT_WRITE, in ksm_merge_hugepages_time()
468 map_ptr = map_ptr_orig + HPAGE_SIZE - (uintptr_t)map_ptr_orig % HPAGE_SIZE; in ksm_merge_hugepages_time()
470 if (map_ptr_orig == MAP_FAILED) in ksm_merge_hugepages_time()
513 munmap(map_ptr_orig, len + HPAGE_SIZE); in ksm_merge_hugepages_time()
518 munmap(map_ptr_orig, len + HPAGE_SIZE); in ksm_merge_hugepages_time()