Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/mm/
Dmemory_hotplug.c1277 unsigned long nr_vmemmap_pages = size / PAGE_SIZE; in mhp_supports_memmap_on_memory() local
1278 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() local
2091 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()
/linux-6.1.9/include/linux/
Dmemory.h85 unsigned long nr_vmemmap_pages; member