Home
last modified time | relevance | path

Searched refs:vmemmap_pages (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/mm/
Dhugetlb_vmemmap.c73 unsigned long vmemmap_end, vmemmap_reuse, vmemmap_pages; in hugetlb_vmemmap_alloc() local
79 vmemmap_pages = hugetlb_optimize_vmemmap_pages(h); in hugetlb_vmemmap_alloc()
80 vmemmap_end = vmemmap_addr + (vmemmap_pages << PAGE_SHIFT); in hugetlb_vmemmap_alloc()
103 unsigned long vmemmap_end, vmemmap_reuse, vmemmap_pages; in hugetlb_vmemmap_free() local
105 vmemmap_pages = hugetlb_optimize_vmemmap_pages(h); in hugetlb_vmemmap_free()
106 if (!vmemmap_pages) in hugetlb_vmemmap_free()
115 vmemmap_end = vmemmap_addr + (vmemmap_pages << PAGE_SHIFT); in hugetlb_vmemmap_free()
132 unsigned int vmemmap_pages; in hugetlb_vmemmap_init() local
148 vmemmap_pages = (nr_pages * sizeof(struct page)) >> PAGE_SHIFT; in hugetlb_vmemmap_init()
157 if (likely(vmemmap_pages > RESERVE_VMEMMAP_NR)) in hugetlb_vmemmap_init()
[all …]
Dsparse-vmemmap.c54 struct list_head *vmemmap_pages; member
270 list_add_tail(&page->lru, walk->vmemmap_pages); in vmemmap_remap_pte()
303 page = list_first_entry(walk->vmemmap_pages, struct page, lru); in vmemmap_restore_pte()
328 LIST_HEAD(vmemmap_pages); in vmemmap_remap_free()
332 .vmemmap_pages = &vmemmap_pages, in vmemmap_remap_free()
363 .vmemmap_pages = &vmemmap_pages, in vmemmap_remap_free()
370 free_vmemmap_page_list(&vmemmap_pages); in vmemmap_remap_free()
412 LIST_HEAD(vmemmap_pages); in vmemmap_remap_alloc()
416 .vmemmap_pages = &vmemmap_pages, in vmemmap_remap_alloc()
422 if (alloc_vmemmap_page_list(start, end, gfp_mask, &vmemmap_pages)) in vmemmap_remap_alloc()
/linux-5.19.10/include/linux/
Dmemory.h146 unsigned long vmemmap_pages,
/linux-5.19.10/drivers/base/
Dmemory.c814 unsigned long vmemmap_pages, in create_memory_block_devices() argument
828 ret = add_hotplug_memory_block(block_id, vmemmap_pages, group); in create_memory_block_devices()