| /linux/mm/ |
| H A D | sparse-vmemmap.c | 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() 562 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap()
|
| H A D | memory_hotplug.c | 395 struct vmem_altmap *altmap = params->altmap; in __add_pages() local 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() local
|
| 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() local
|
| /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/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/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 | 1414 struct vmem_altmap *altmap) in free_hotplug_page_range() 1450 struct vmem_altmap *altmap) in unmap_hotplug_pte_range() 1471 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range() 1504 struct vmem_altmap *altmap) in unmap_hotplug_pud_range() 1537 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range() 1555 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range() 1771 struct vmem_altmap *altmap) in vmemmap_populate() 1786 struct vmem_altmap *altmap) in vmemmap_free() 2005 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
| /linux/include/linux/ |
| H A D | memory.h | 90 struct vmem_altmap *altmap; member
|
| H A D | memremap.h | 134 struct vmem_altmap altmap; member
|
| H A D | mm.h | 4272 static inline unsigned long vmem_altmap_offset(const struct vmem_altmap *altmap) in vmem_altmap_offset() 4280 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free() 4286 static inline unsigned long vmem_altmap_offset(const struct vmem_altmap *altmap) in vmem_altmap_offset() 4291 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free() 4299 static inline bool __vmemmap_can_optimize(struct vmem_altmap *altmap, in __vmemmap_can_optimize() 4324 static inline bool vmemmap_can_optimize(struct vmem_altmap *altmap, in vmemmap_can_optimize()
|
| /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() local
|
| /linux/arch/sparc/mm/ |
| H A D | init_64.c | 2585 int node, struct vmem_altmap *altmap) in vmemmap_populate()
|