/openbmc/linux/mm/ |
H A D | sparse-vmemmap.c | 78 struct vmem_altmap *altmap) in vmemmap_alloc_block_buf() 91 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn() 97 static unsigned long __meminit vmem_altmap_nr_free(struct vmem_altmap *altmap) in vmem_altmap_nr_free() 107 struct vmem_altmap *altmap) in altmap_alloc_block_buf() 145 struct vmem_altmap *altmap, in vmemmap_pte_populate() 246 struct vmem_altmap *altmap, in vmemmap_populate_address() 277 struct vmem_altmap *altmap, in vmemmap_populate_range() 293 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages() 310 int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages() 453 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap()
|
H A D | sparse.c | 429 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() 639 struct vmem_altmap *altmap) in depopulate_section_memmap() 704 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap() 712 struct vmem_altmap *altmap) in depopulate_section_memmap() 780 struct vmem_altmap *altmap) in section_deactivate() 829 unsigned long nr_pages, struct vmem_altmap *altmap, in section_activate() 891 unsigned long nr_pages, struct vmem_altmap *altmap, in sparse_add_section() 926 struct vmem_altmap *altmap) in sparse_remove_section()
|
H A D | memremap.c | 425 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 433 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
|
H A D | memory_hotplug.c | 375 struct vmem_altmap *altmap = params->altmap; in __add_pages() local 574 struct vmem_altmap *altmap) in __remove_pages() 751 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone() 2156 struct vmem_altmap *altmap = NULL; in try_remove_memory() local
|
H A D | mm_init.c | 851 struct vmem_altmap *altmap, int migratetype) in memmap_init_range() 1027 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages() 1070 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device() local
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | init_64.c | 187 bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start, in altmap_cross_boundary() 203 struct vmem_altmap *altmap) in __vmemmap_populate() 277 struct vmem_altmap *altmap) in vmemmap_populate() 320 struct vmem_altmap *altmap) in __vmemmap_free() 379 struct vmem_altmap *altmap) in vmemmap_free()
|
H A D | mem.c | 157 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | init.c | 108 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() 152 int node, struct vmem_altmap *altmap) in vmemmap_populate() 162 void vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | radix_pgtable.c | 691 struct vmem_altmap *altmap, in free_vmemmap_pages() 724 struct vmem_altmap *altmap) in remove_pte_table() 757 struct vmem_altmap *altmap) in remove_pmd_table() 797 struct vmem_altmap *altmap) in remove_pud_table() 831 struct vmem_altmap *altmap) in remove_pagetable() 916 bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap) in vmemmap_can_optimize() 951 struct vmem_altmap *altmap, in radix__vmemmap_pte_populate() 1049 struct vmem_altmap *altmap) in radix__vmemmap_populate() 1135 struct vmem_altmap *altmap, in radix__vmemmap_populate_address() 1335 struct vmem_altmap *altmap) in radix__vmemmap_free()
|
/openbmc/linux/include/linux/ |
H A D | memremap.h | 127 struct vmem_altmap altmap; member 231 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 236 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
|
H A D | memory.h | 80 struct vmem_altmap *altmap; member
|
H A D | memory_hotplug.h | 117 struct vmem_altmap *altmap; member
|
H A D | mm.h | 3797 static inline bool __vmemmap_can_optimize(struct vmem_altmap *altmap, in __vmemmap_can_optimize() 3822 static inline bool vmemmap_can_optimize(struct vmem_altmap *altmap, in vmemmap_can_optimize()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | mmu.c | 815 struct vmem_altmap *altmap) in free_hotplug_page_range() 851 struct vmem_altmap *altmap) in unmap_hotplug_pte_range() 872 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range() 905 struct vmem_altmap *altmap) in unmap_hotplug_pud_range() 938 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range() 956 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range() 1150 struct vmem_altmap *altmap) in vmemmap_populate() 1162 struct vmem_altmap *altmap) in vmemmap_free() 1335 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/openbmc/linux/arch/x86/mm/ |
H A D | init_64.c | 1001 struct vmem_altmap *altmap) in free_hugepage_table() 1108 bool direct, struct vmem_altmap *altmap) in remove_pmd_table() 1157 struct vmem_altmap *altmap, bool direct) in remove_pud_table() 1191 struct vmem_altmap *altmap, bool direct) in remove_p4d_table() 1224 struct vmem_altmap *altmap) in remove_pagetable() 1246 struct vmem_altmap *altmap) in vmemmap_free() 1263 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() 1540 struct vmem_altmap *altmap) in vmemmap_populate()
|
/openbmc/linux/arch/ia64/mm/ |
H A D | discontig.c | 626 struct vmem_altmap *altmap) in vmemmap_populate() 632 struct vmem_altmap *altmap) in vmemmap_free()
|
H A D | init.c | 499 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/openbmc/linux/arch/s390/mm/ |
H A D | vmem.c | 492 struct vmem_altmap *altmap) in vmemmap_populate() 506 struct vmem_altmap *altmap) in vmemmap_free()
|
H A D | init.c | 305 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/openbmc/linux/drivers/base/ |
H A D | memory.c | 758 struct vmem_altmap *altmap, in add_memory_block() 819 struct vmem_altmap *altmap, in add_hotplug_memory_block() 850 struct vmem_altmap *altmap, in create_memory_block_devices()
|
/openbmc/linux/arch/sh/mm/ |
H A D | init.c | 418 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/openbmc/linux/drivers/nvdimm/ |
H A D | pfn_devs.c | 685 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() local
|
/openbmc/linux/arch/sparc/mm/ |
H A D | init_64.c | 2596 int node, struct vmem_altmap *altmap) in vmemmap_populate() 2645 struct vmem_altmap *altmap) in vmemmap_free()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | init.c | 1527 struct vmem_altmap *altmap) in vmemmap_populate()
|