| /Linux-v5.10/include/linux/ |
| 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() 141 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap); 142 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns); 168 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 173 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
|
| D | memory_hotplug.h | 16 struct vmem_altmap; 80 struct vmem_altmap *altmap; 146 struct vmem_altmap *altmap); 148 struct vmem_altmap *altmap); 350 struct vmem_altmap *altmap, int migratetype); 356 unsigned long nr_pages, struct vmem_altmap *altmap); 359 unsigned long map_offset, struct vmem_altmap *altmap);
|
| D | mm.h | 2443 enum meminit_context, struct vmem_altmap *, int migratetype); 3003 unsigned long nr_pages, int nid, struct vmem_altmap *altmap); 3009 struct vmem_altmap *altmap); 3011 struct vmem_altmap; 3013 struct vmem_altmap *altmap); 3016 int node, struct vmem_altmap *altmap); 3018 struct vmem_altmap *altmap); 3022 struct vmem_altmap *altmap);
|
| /Linux-v5.10/mm/ |
| D | sparse-vmemmap.c | 73 struct vmem_altmap *altmap); 77 struct vmem_altmap *altmap) in vmemmap_alloc_block_buf() 90 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn() 96 static unsigned long __meminit vmem_altmap_nr_free(struct vmem_altmap *altmap) in vmem_altmap_nr_free() 106 struct vmem_altmap *altmap) in altmap_alloc_block_buf() 144 struct vmem_altmap *altmap) in vmemmap_pte_populate() 220 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages() 252 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
|
| D | sparse.c | 446 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap() 651 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap() 657 struct vmem_altmap *altmap) in depopulate_section_memmap() 722 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap() 729 struct vmem_altmap *altmap) in depopulate_section_memmap() 797 struct vmem_altmap *altmap) in section_deactivate() 845 unsigned long nr_pages, struct vmem_altmap *altmap) in section_activate() 905 unsigned long nr_pages, struct vmem_altmap *altmap) in sparse_add_section() 967 struct vmem_altmap *altmap) in sparse_remove_section()
|
| D | memremap.c | 433 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 441 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
|
| D | memory_hotplug.c | 315 struct vmem_altmap *altmap = params->altmap; in __add_pages() 511 struct vmem_altmap *altmap) in __remove_section() 533 struct vmem_altmap *altmap) in __remove_pages() 693 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone()
|
| D | page_alloc.c | 6054 struct vmem_altmap *altmap, int migratetype) in memmap_init_zone() 6118 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
|
| /Linux-v5.10/arch/powerpc/mm/ |
| 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()
|
| D | mem.c | 144 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.10/arch/arm64/mm/ |
| D | mmu.c | 776 struct vmem_altmap *altmap) in free_hotplug_page_range() 812 struct vmem_altmap *altmap) in unmap_hotplug_pte_range() 833 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range() 866 struct vmem_altmap *altmap) in unmap_hotplug_pud_range() 899 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range() 917 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range() 1100 struct vmem_altmap *altmap) in vmemmap_populate() 1106 struct vmem_altmap *altmap) in vmemmap_populate() 1147 struct vmem_altmap *altmap) in vmemmap_free() 1487 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.10/arch/x86/mm/ |
| D | init_64.c | 897 struct vmem_altmap *altmap) in free_hugepage_table() 1032 bool direct, struct vmem_altmap *altmap) in remove_pmd_table() 1088 struct vmem_altmap *altmap, bool direct) in remove_pud_table() 1143 struct vmem_altmap *altmap, bool direct) in remove_p4d_table() 1176 struct vmem_altmap *altmap) in remove_pagetable() 1198 struct vmem_altmap *altmap) in vmemmap_free() 1213 struct vmem_altmap *altmap) in arch_remove_memory() 1493 unsigned long end, int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages() 1555 struct vmem_altmap *altmap) in vmemmap_populate()
|
| D | init_32.c | 822 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.10/arch/ia64/mm/ |
| D | discontig.c | 655 struct vmem_altmap *altmap) in vmemmap_populate() 661 struct vmem_altmap *altmap) in vmemmap_free()
|
| D | init.c | 710 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.10/arch/s390/mm/ |
| D | vmem.c | 507 struct vmem_altmap *altmap) in vmemmap_populate() 521 struct vmem_altmap *altmap) in vmemmap_free()
|
| D | init.c | 305 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.10/arch/sh/mm/ |
| D | init.c | 427 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.10/drivers/nvdimm/ |
| 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-v5.10/Documentation/vm/ |
| D | memory-model.rst | 175 devices. This storage is represented with struct vmem_altmap 178 `vmem_altmap` along with :c:func:`vmemmap_alloc_block_buf` helper to
|
| /Linux-v5.10/arch/riscv/mm/ |
| D | init.c | 675 struct vmem_altmap *altmap) in vmemmap_populate()
|
| /Linux-v5.10/arch/sparc/mm/ |
| D | init_64.c | 2582 int node, struct vmem_altmap *altmap) in vmemmap_populate() 2631 struct vmem_altmap *altmap) in vmemmap_free()
|