/linux/include/linux/ |
A D | memremap.h | 19 struct vmem_altmap { struct 111 struct vmem_altmap altmap; 126 static inline struct vmem_altmap *pgmap_altmap(struct dev_pagemap *pgmap) in pgmap_altmap() 142 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap); 143 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns); 174 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 179 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
|
A D | memory_hotplug.h | 17 struct vmem_altmap; 67 struct vmem_altmap *altmap; 138 extern void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap); 140 struct vmem_altmap *altmap); 336 struct vmem_altmap *altmap, int migratetype); 342 unsigned long nr_pages, struct vmem_altmap *altmap); 345 unsigned long map_offset, struct vmem_altmap *altmap);
|
A D | mm.h | 2585 struct vmem_altmap *, int migratetype); 3194 unsigned long nr_pages, int nid, struct vmem_altmap *altmap); 3200 struct vmem_altmap *altmap); 3202 struct vmem_altmap; 3204 struct vmem_altmap *altmap); 3207 int node, struct vmem_altmap *altmap); 3209 struct vmem_altmap *altmap); 3213 struct vmem_altmap *altmap);
|
/linux/mm/ |
A D | sparse-vmemmap.c | 427 struct vmem_altmap *altmap); 431 struct vmem_altmap *altmap) in vmemmap_alloc_block_buf() 444 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn() 450 static unsigned long __meminit vmem_altmap_nr_free(struct vmem_altmap *altmap) in vmem_altmap_nr_free() 460 struct vmem_altmap *altmap) in altmap_alloc_block_buf() 498 struct vmem_altmap *altmap) in vmemmap_pte_populate() 574 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages() 606 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
|
A D | sparse.c | 430 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap() 632 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap() 638 struct vmem_altmap *altmap) in depopulate_section_memmap() 703 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap() 710 struct vmem_altmap *altmap) in depopulate_section_memmap() 778 struct vmem_altmap *altmap) in section_deactivate() 826 unsigned long nr_pages, struct vmem_altmap *altmap) in section_activate() 886 unsigned long nr_pages, struct vmem_altmap *altmap) in sparse_add_section() 948 struct vmem_altmap *altmap) in sparse_remove_section()
|
A D | memory_hotplug.c | 310 struct vmem_altmap *altmap = params->altmap; in __add_pages() 497 struct vmem_altmap *altmap) in __remove_section() 519 struct vmem_altmap *altmap) in __remove_pages() 681 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone() 1347 struct vmem_altmap mhp_altmap = {}; in add_memory_resource() 2122 struct vmem_altmap mhp_altmap = {}; in try_remove_memory() 2123 struct vmem_altmap *altmap = NULL; in try_remove_memory()
|
A D | memremap.c | 451 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 459 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
|
A D | page_alloc.c | 6508 struct vmem_altmap *altmap, int migratetype) in memmap_init_range() 6572 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
|
/linux/arch/powerpc/mm/ |
A D | init_64.c | 185 static bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start, in altmap_cross_boundary() 201 struct vmem_altmap *altmap) in vmemmap_populate() 306 struct vmem_altmap *altmap) in vmemmap_free()
|
A D | mem.c | 122 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/linux/arch/arm64/mm/ |
A D | mmu.c | 797 struct vmem_altmap *altmap) in free_hotplug_page_range() 833 struct vmem_altmap *altmap) in unmap_hotplug_pte_range() 854 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range() 887 struct vmem_altmap *altmap) in unmap_hotplug_pud_range() 920 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range() 938 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range() 1120 struct vmem_altmap *altmap) in vmemmap_populate() 1127 struct vmem_altmap *altmap) in vmemmap_populate() 1174 struct vmem_altmap *altmap) in vmemmap_free() 1511 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/linux/arch/x86/mm/ |
A D | init_64.c | 996 struct vmem_altmap *altmap) in free_hugepage_table() 1103 bool direct, struct vmem_altmap *altmap) in remove_pmd_table() 1152 struct vmem_altmap *altmap, bool direct) in remove_pud_table() 1186 struct vmem_altmap *altmap, bool direct) in remove_p4d_table() 1219 struct vmem_altmap *altmap) in remove_pagetable() 1241 struct vmem_altmap *altmap) in vmemmap_free() 1258 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() 1536 unsigned long end, int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages() 1604 struct vmem_altmap *altmap) in vmemmap_populate()
|
/linux/arch/ia64/mm/ |
A D | discontig.c | 633 struct vmem_altmap *altmap) in vmemmap_populate() 639 struct vmem_altmap *altmap) in vmemmap_free()
|
A D | init.c | 487 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/linux/arch/s390/mm/ |
A D | vmem.c | 509 struct vmem_altmap *altmap) in vmemmap_populate() 523 struct vmem_altmap *altmap) in vmemmap_free()
|
A D | init.c | 307 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/linux/Documentation/vm/ |
A D | memory-model.rst | 133 devices. This storage is represented with struct vmem_altmap 136 `vmem_altmap` along with :c:func:`vmemmap_alloc_block_buf` helper to
|
/linux/arch/sh/mm/ |
A D | init.c | 417 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/linux/drivers/nvdimm/ |
A D | pfn_devs.c | 676 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() 686 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
|
/linux/arch/riscv/mm/ |
A D | init.c | 852 struct vmem_altmap *altmap) in vmemmap_populate()
|
/linux/arch/sparc/mm/ |
A D | init_64.c | 2582 int node, struct vmem_altmap *altmap) in vmemmap_populate() 2631 struct vmem_altmap *altmap) in vmemmap_free()
|