/linux-6.12.1/mm/ |
D | sparse-vmemmap.c | 74 struct vmem_altmap *altmap); 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() [all …]
|
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() 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() 1431 struct vmem_altmap mhp_altmap = { in create_altmaps_and_memory_blocks() 1439 params.altmap = kmemdup(&mhp_altmap, sizeof(struct vmem_altmap), in create_altmaps_and_memory_blocks()
|
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()
|
D | internal.h | 756 unsigned long, enum meminit_context, struct vmem_altmap *, int);
|
/linux-6.12.1/include/linux/ |
D | memory_hotplug.h | 16 struct vmem_altmap; 85 struct vmem_altmap *altmap; 156 extern void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap); 158 struct vmem_altmap *altmap); 316 struct vmem_altmap *altmap, int migratetype); 321 unsigned long nr_pages, struct vmem_altmap *altmap, 324 struct vmem_altmap *altmap);
|
D | memremap.h | 21 struct vmem_altmap { struct 128 struct vmem_altmap altmap; 148 static inline struct vmem_altmap *pgmap_altmap(struct dev_pagemap *pgmap) in pgmap_altmap()
|
D | memory.h | 80 struct vmem_altmap *altmap; 156 struct vmem_altmap *altmap,
|
D | mm.h | 3819 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, 3829 struct vmem_altmap *altmap, struct page *reuse); 3831 struct vmem_altmap; 3833 struct vmem_altmap *altmap); 3840 int node, struct vmem_altmap *altmap); 3842 int node, struct vmem_altmap *altmap); 3844 struct vmem_altmap *altmap); 3848 struct vmem_altmap *altmap); 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() [all …]
|
/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/include/asm/book3s/64/ |
D | radix.h | 328 struct vmem_altmap; 334 int node, struct vmem_altmap *altmap); 336 struct vmem_altmap *altmap); 367 bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap);
|
/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/Documentation/translations/zh_CN/mm/ |
D | memory-model.rst | 105 配的存储中。这种存储用vmem_altmap结构表示,最终通过一长串的函数调用传递给 106 vmemmap_populate()。vmemmap_populate()实现可以使用 `vmem_altmap` 和
|
/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/arch/powerpc/include/asm/ |
D | pgtable.h | 193 bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start,
|
/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/Documentation/mm/ |
D | memory-model.rst | 131 devices. This storage is represented with struct vmem_altmap 134 `vmem_altmap` along with :c:func:`vmemmap_alloc_block_buf` helper to
|
/linux-6.12.1/drivers/nvdimm/ |
D | pfn_devs.c | 685 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() 695 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
|
/linux-6.12.1/arch/sparc/mm/ |
D | init_64.c | 2589 int node, struct vmem_altmap *altmap) in vmemmap_populate()
|