Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/base/
Dmemory.c190 unsigned long nr_vmemmap_pages = 0; in memory_block_online() local
208 nr_vmemmap_pages = mem->altmap->free; in memory_block_online()
211 if (nr_vmemmap_pages) { in memory_block_online()
212 ret = mhp_init_memmap_on_memory(start_pfn, nr_vmemmap_pages, zone); in memory_block_online()
217 ret = online_pages(start_pfn + nr_vmemmap_pages, in memory_block_online()
218 nr_pages - nr_vmemmap_pages, zone, mem->group); in memory_block_online()
220 if (nr_vmemmap_pages) in memory_block_online()
221 mhp_deinit_memmap_on_memory(start_pfn, nr_vmemmap_pages); in memory_block_online()
229 if (nr_vmemmap_pages) in memory_block_online()
231 nr_vmemmap_pages); in memory_block_online()
[all …]
/linux-6.6.21/include/linux/
Dmm.h3795 unsigned long nr_vmemmap_pages; in __vmemmap_can_optimize() local
3801 nr_vmemmap_pages = ((nr_pages * sizeof(struct page)) >> PAGE_SHIFT); in __vmemmap_can_optimize()
3806 return !altmap && (nr_vmemmap_pages > VMEMMAP_RESERVE_NR); in __vmemmap_can_optimize()