Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/base/
Dmemory.c182 unsigned long nr_vmemmap_pages = mem->nr_vmemmap_pages; in memory_block_online() local
196 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 …]
/linux-5.19.10/mm/
Dmemory_hotplug.c1279 unsigned long nr_vmemmap_pages = size / PAGE_SIZE; in mhp_supports_memmap_on_memory() local
1280 unsigned long vmemmap_size = nr_vmemmap_pages * sizeof(struct page); in mhp_supports_memmap_on_memory()
1995 return mem->nr_vmemmap_pages; in get_nr_vmemmap_pages_cb()
2072 unsigned long nr_vmemmap_pages; in try_remove_memory() local
2095 nr_vmemmap_pages = walk_memory_blocks(start, size, NULL, in try_remove_memory()
2097 if (nr_vmemmap_pages) { in try_remove_memory()
2110 mhp_altmap.alloc = nr_vmemmap_pages; in try_remove_memory()
/linux-5.19.10/include/linux/
Dmemory.h85 unsigned long nr_vmemmap_pages; member