Searched refs:nr_vmemmap_pages (Results 1 – 3 of 3) sorted by relevance
182 unsigned long nr_vmemmap_pages = mem->nr_vmemmap_pages; in memory_block_online() local196 if (nr_vmemmap_pages) { in memory_block_online()197 ret = mhp_init_memmap_on_memory(start_pfn, nr_vmemmap_pages, zone); in memory_block_online()202 ret = online_pages(start_pfn + nr_vmemmap_pages, in memory_block_online()203 nr_pages - nr_vmemmap_pages, zone, mem->group); in memory_block_online()205 if (nr_vmemmap_pages) in memory_block_online()206 mhp_deinit_memmap_on_memory(start_pfn, nr_vmemmap_pages); in memory_block_online()214 if (nr_vmemmap_pages) in memory_block_online()216 nr_vmemmap_pages); in memory_block_online()226 unsigned long nr_vmemmap_pages = mem->nr_vmemmap_pages; in memory_block_offline() local[all …]
1277 unsigned long nr_vmemmap_pages = size / PAGE_SIZE; in mhp_supports_memmap_on_memory() local1278 unsigned long vmemmap_size = nr_vmemmap_pages * sizeof(struct page); in mhp_supports_memmap_on_memory()1991 return mem->nr_vmemmap_pages; in get_nr_vmemmap_pages_cb()2068 unsigned long nr_vmemmap_pages; in try_remove_memory() local2091 nr_vmemmap_pages = walk_memory_blocks(start, size, NULL, in try_remove_memory()2093 if (nr_vmemmap_pages) { in try_remove_memory()2106 mhp_altmap.alloc = nr_vmemmap_pages; in try_remove_memory()
85 unsigned long nr_vmemmap_pages; member