/linux-6.12.1/mm/ |
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() 251 struct vmem_altmap *altmap, in vmemmap_populate_address() 282 struct vmem_altmap *altmap, in vmemmap_populate_range() 298 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages() 315 int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages() 458 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap()
|
D | sparse.c | 426 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap() 634 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap() 641 struct vmem_altmap *altmap) in depopulate_section_memmap() 707 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap() 715 struct vmem_altmap *altmap) in depopulate_section_memmap() 783 struct vmem_altmap *altmap) in section_deactivate() 832 unsigned long nr_pages, struct vmem_altmap *altmap, in section_activate() 894 unsigned long nr_pages, struct vmem_altmap *altmap, in sparse_add_section() 930 struct vmem_altmap *altmap) in sparse_remove_section()
|
D | memory_hotplug.c | 375 struct vmem_altmap *altmap = params->altmap; in __add_pages() local 574 struct vmem_altmap *altmap) in __remove_pages() 746 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone() 1400 struct vmem_altmap *altmap = NULL; in remove_memory_blocks_and_altmaps() local
|
D | mm_init.c | 852 struct vmem_altmap *altmap, int migratetype) in memmap_init_range() 1034 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages() 1077 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device() local
|
/linux-6.12.1/arch/s390/mm/ |
D | vmem.c | 39 static void vmem_free_pages(unsigned long addr, int order, struct vmem_altmap *altmap) in vmem_free_pages() 167 struct vmem_altmap *altmap) in modify_pte_table() 225 struct vmem_altmap *altmap) in modify_pmd_table() 319 bool add, bool direct, struct vmem_altmap *altmap) in modify_pud_table() 387 bool add, bool direct, struct vmem_altmap *altmap) in modify_p4d_table() 432 bool direct, struct vmem_altmap *altmap) in modify_pagetable() 471 struct vmem_altmap *altmap) in add_pagetable() 477 struct vmem_altmap *altmap) in remove_pagetable() 504 struct vmem_altmap *altmap) in vmemmap_populate() 520 struct vmem_altmap *altmap) in vmemmap_free()
|
D | init.c | 293 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/linux-6.12.1/arch/powerpc/mm/ |
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()
|
D | mem.c | 160 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/linux-6.12.1/arch/loongarch/mm/ |
D | init.c | 109 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() 153 int node, struct vmem_altmap *altmap) in vmemmap_populate() 163 void vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
|
/linux-6.12.1/arch/powerpc/mm/book3s64/ |
D | radix_pgtable.c | 767 struct vmem_altmap *altmap, in free_vmemmap_pages() 800 struct vmem_altmap *altmap) in remove_pte_table() 833 struct vmem_altmap *altmap) in remove_pmd_table() 873 struct vmem_altmap *altmap) in remove_pud_table() 907 struct vmem_altmap *altmap) in remove_pagetable() 992 bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap) in vmemmap_can_optimize() 1027 struct vmem_altmap *altmap, in radix__vmemmap_pte_populate() 1125 struct vmem_altmap *altmap) in radix__vmemmap_populate() 1211 struct vmem_altmap *altmap, in radix__vmemmap_populate_address() 1411 struct vmem_altmap *altmap) in radix__vmemmap_free()
|
/linux-6.12.1/arch/arm64/mm/ |
D | mmu.c | 820 struct vmem_altmap *altmap) in free_hotplug_page_range() 856 struct vmem_altmap *altmap) in unmap_hotplug_pte_range() 877 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range() 910 struct vmem_altmap *altmap) in unmap_hotplug_pud_range() 943 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range() 961 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range() 1176 struct vmem_altmap *altmap) in vmemmap_populate() 1188 struct vmem_altmap *altmap) in vmemmap_free() 1367 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/linux-6.12.1/arch/x86/mm/ |
D | init_64.c | 1007 struct vmem_altmap *altmap) in free_hugepage_table() 1114 bool direct, struct vmem_altmap *altmap) in remove_pmd_table() 1163 struct vmem_altmap *altmap, bool direct) in remove_pud_table() 1197 struct vmem_altmap *altmap, bool direct) in remove_p4d_table() 1230 struct vmem_altmap *altmap) in remove_pagetable() 1252 struct vmem_altmap *altmap) in vmemmap_free() 1269 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() 1532 struct vmem_altmap *altmap) in vmemmap_populate()
|
/linux-6.12.1/arch/riscv/mm/ |
D | init.c | 1435 struct vmem_altmap *altmap) in vmemmap_populate() 1610 struct vmem_altmap *altmap) in free_vmemmap_storage() 1631 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pte_mapping() 1653 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pmd_mapping() 1680 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pud_mapping() 1711 bool is_vmemmap, struct vmem_altmap *altmap) in remove_p4d_mapping() 1742 struct vmem_altmap *altmap) in remove_pgd_mapping() 1801 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() 1808 void __ref vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
|
/linux-6.12.1/drivers/base/ |
D | memory.c | 779 struct vmem_altmap *altmap, in add_memory_block() 840 struct vmem_altmap *altmap, in add_hotplug_memory_block() 871 struct vmem_altmap *altmap, in create_memory_block_devices()
|
/linux-6.12.1/include/linux/ |
D | memremap.h | 128 struct vmem_altmap altmap; member
|
D | memory.h | 80 struct vmem_altmap *altmap; member
|
D | memory_hotplug.h | 85 struct vmem_altmap *altmap; member
|
D | mm.h | 3852 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 3860 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free() 3866 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 3871 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free() 3879 static inline bool __vmemmap_can_optimize(struct vmem_altmap *altmap, in __vmemmap_can_optimize() 3904 static inline bool vmemmap_can_optimize(struct vmem_altmap *altmap, in vmemmap_can_optimize()
|
/linux-6.12.1/drivers/nvdimm/ |
D | pfn_devs.c | 685 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() local
|
/linux-6.12.1/arch/sparc/mm/ |
D | init_64.c | 2589 int node, struct vmem_altmap *altmap) in vmemmap_populate()
|