| /linux/mm/ |
| H A D | sparse-vmemmap.c | 84 struct vmem_altmap *altmap); 88 struct vmem_altmap *altmap) in vmemmap_alloc_block_buf() 101 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn() 107 static unsigned long __meminit vmem_altmap_nr_free(struct vmem_altmap *altmap) in vmem_altmap_nr_free() 117 struct vmem_altmap *altmap) in altmap_alloc_block_buf() 155 struct vmem_altmap *altmap, in vmemmap_pte_populate() 250 struct vmem_altmap *altmap, in vmemmap_populate_address() 282 struct vmem_altmap *altmap, in vmemmap_populate_range() 300 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages() 417 int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages() [all …]
|
| H A D | memory_hotplug.c | 395 struct vmem_altmap *altmap = params->altmap; in __add_pages() 594 struct vmem_altmap *altmap) in __remove_pages() 750 struct vmem_altmap *altmap, int migratetype, in move_pfn_range_to_zone() 1417 struct vmem_altmap *altmap = NULL; in remove_memory_blocks_and_altmaps() 1448 struct vmem_altmap mhp_altmap = { in create_altmaps_and_memory_blocks() 1454 params.altmap = kmemdup(&mhp_altmap, sizeof(struct vmem_altmap), in create_altmaps_and_memory_blocks()
|
| H A D | mm_init.c | 878 struct vmem_altmap *altmap, int migratetype, in memmap_init_range() 1076 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages() 1118 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
|
| H A D | internal.h | 852 unsigned long, enum meminit_context, struct vmem_altmap *, int,
|
| /linux/arch/s390/mm/ |
| H A D | vmem.c | 41 static void vmem_free_pages(unsigned long addr, int order, struct vmem_altmap *altmap) in vmem_free_pages() 170 struct vmem_altmap *altmap) in modify_pte_table() 225 struct vmem_altmap *altmap) in modify_pmd_table() 316 bool add, bool direct, struct vmem_altmap *altmap) in modify_pud_table() 386 bool add, bool direct, struct vmem_altmap *altmap) in modify_p4d_table() 431 bool direct, struct vmem_altmap *altmap) in modify_pagetable() 476 struct vmem_altmap *altmap) in add_pagetable() 482 struct vmem_altmap *altmap) in remove_pagetable() 509 struct vmem_altmap *altmap) in vmemmap_populate() 525 struct vmem_altmap *altmap) in vmemmap_free()
|
| H A D | init.c | 282 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | radix.h | 318 struct vmem_altmap; 324 int node, struct vmem_altmap *altmap); 326 struct vmem_altmap *altmap); 357 bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap);
|
| /linux/include/linux/ |
| H A D | memremap.h | 21 struct vmem_altmap { struct 134 struct vmem_altmap altmap; 154 static inline struct vmem_altmap *pgmap_altmap(struct dev_pagemap *pgmap) in pgmap_altmap()
|
| H A D | memory.h | 90 struct vmem_altmap *altmap; 155 int nid, struct vmem_altmap *altmap,
|
| H A D | mm.h | 4239 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, 4246 struct vmem_altmap *altmap, unsigned long ptpfn, 4249 struct vmem_altmap; 4251 struct vmem_altmap *altmap); 4258 int node, struct vmem_altmap *altmap); 4260 int node, struct vmem_altmap *altmap); 4262 struct vmem_altmap *altmap); 4272 struct vmem_altmap *altmap); 4276 static inline unsigned long vmem_altmap_offset(const struct vmem_altmap *altmap) in vmem_altmap_offset() 4284 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free() [all …]
|
| /linux/arch/loongarch/mm/ |
| H A D | init.c | 96 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() 132 int node, struct vmem_altmap *altmap) in vmemmap_populate() 142 void vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
|
| /linux/Documentation/translations/zh_CN/mm/ |
| H A D | memory-model.rst | 105 配的存储中。这种存储用vmem_altmap结构表示,最终通过一长串的函数调用传递给 106 vmemmap_populate()。vmemmap_populate()实现可以使用 `vmem_altmap` 和
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | radix_pgtable.c | 755 struct vmem_altmap *altmap, in free_vmemmap_pages() 788 struct vmem_altmap *altmap) in remove_pte_table() 821 struct vmem_altmap *altmap) in remove_pmd_table() 861 struct vmem_altmap *altmap) in remove_pud_table() 895 struct vmem_altmap *altmap) in remove_pagetable() 980 bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap) in vmemmap_can_optimize() 1016 struct vmem_altmap *altmap, in radix__vmemmap_pte_populate() 1114 struct vmem_altmap *altmap) in radix__vmemmap_populate() 1220 struct vmem_altmap *altmap, in radix__vmemmap_populate_address() 1420 struct vmem_altmap *altmap) in radix__vmemmap_free()
|
| /linux/arch/x86/mm/ |
| H A D | init_64.c | 1036 struct vmem_altmap *altmap) in free_hugepage_table() 1143 bool direct, struct vmem_altmap *altmap) in remove_pmd_table() 1189 struct vmem_altmap *altmap, bool direct) in remove_pud_table() 1223 struct vmem_altmap *altmap, bool direct) in remove_p4d_table() 1256 struct vmem_altmap *altmap) in remove_pagetable() 1278 struct vmem_altmap *altmap) in vmemmap_free() 1295 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() 1563 struct vmem_altmap *altmap) in vmemmap_populate()
|
| /linux/arch/riscv/mm/ |
| H A D | init.c | 1462 struct vmem_altmap *altmap) in vmemmap_populate() 1638 struct vmem_altmap *altmap) in free_vmemmap_storage() 1659 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pte_mapping() 1681 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pmd_mapping() 1708 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pud_mapping() 1739 bool is_vmemmap, struct vmem_altmap *altmap) in remove_p4d_mapping() 1770 struct vmem_altmap *altmap) in remove_pgd_mapping() 1829 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() 1836 void __ref vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
|
| /linux/arch/arm64/mm/ |
| H A D | mmu.c | 1413 struct vmem_altmap *altmap) in free_hotplug_page_range() 1449 struct vmem_altmap *altmap) in unmap_hotplug_pte_range() 1470 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range() 1503 struct vmem_altmap *altmap) in unmap_hotplug_pud_range() 1536 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range() 1554 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range() 1770 struct vmem_altmap *altmap) in vmemmap_populate() 1785 struct vmem_altmap *altmap) in vmemmap_free() 2004 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | pgtable.h | 180 bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start,
|
| /linux/Documentation/mm/ |
| H A 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/drivers/base/ |
| H A D | memory.c | 792 struct vmem_altmap *altmap, in add_memory_block() 861 int nid, struct vmem_altmap *altmap, in create_memory_block_devices()
|
| /linux/drivers/nvdimm/ |
| H A D | pfn_devs.c | 675 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() 685 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
|
| /linux/arch/sparc/mm/ |
| H A D | init_64.c | 2585 int node, struct vmem_altmap *altmap) in vmemmap_populate()
|