Searched refs:nr_vmemmap_pages (Results 1 – 1 of 1) sorted by relevance
1313 unsigned long nr_vmemmap_pages = size / PAGE_SIZE; in mhp_supports_memmap_on_memory() local1314 unsigned long vmemmap_size = nr_vmemmap_pages * sizeof(struct page); in mhp_supports_memmap_on_memory()2121 return mem->nr_vmemmap_pages; in get_nr_vmemmap_pages_cb()2199 unsigned long nr_vmemmap_pages; in try_remove_memory() local2222 nr_vmemmap_pages = walk_memory_blocks(start, size, NULL, in try_remove_memory()2224 if (nr_vmemmap_pages) { in try_remove_memory()2237 mhp_altmap.alloc = nr_vmemmap_pages; in try_remove_memory()