| /Linux-v5.4/include/linux/ |
| D | memremap.h | 18 struct vmem_altmap { struct 108 struct vmem_altmap altmap; 118 static inline struct vmem_altmap *pgmap_altmap(struct dev_pagemap *pgmap) in pgmap_altmap() 133 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap); 134 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns); 159 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 164 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
|
| D | memory_hotplug.h | 16 struct vmem_altmap; 63 struct vmem_altmap *altmap; 127 struct vmem_altmap *altmap); 129 unsigned long nr_pages, struct vmem_altmap *altmap); 347 unsigned long nr_pages, struct vmem_altmap *altmap); 350 unsigned long nr_pages, struct vmem_altmap *altmap); 353 unsigned long map_offset, struct vmem_altmap *altmap);
|
| D | mm.h | 2199 enum memmap_context, struct vmem_altmap *); 2746 unsigned long nr_pages, int nid, struct vmem_altmap *altmap); 2753 struct vmem_altmap; 2755 void *altmap_alloc_block_buf(unsigned long size, struct vmem_altmap *altmap); 2760 struct vmem_altmap *altmap); 2764 struct vmem_altmap *altmap);
|
| /Linux-v5.4/mm/ |
| D | sparse.c | 452 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() 673 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap() 695 struct vmem_altmap *altmap) in depopulate_section_memmap() 738 struct vmem_altmap *altmap) in section_deactivate() 793 unsigned long nr_pages, struct vmem_altmap *altmap) in section_activate() 861 unsigned long nr_pages, struct vmem_altmap *altmap) in sparse_add_section() 923 struct vmem_altmap *altmap) in sparse_remove_section()
|
| D | sparse-vmemmap.c | 83 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn() 89 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() 249 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
|
| D | memremap.c | 366 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 374 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
|
| D | memory_hotplug.c | 292 struct vmem_altmap *altmap = restrictions->altmap; in __add_pages() 492 struct vmem_altmap *altmap) in __remove_section() 516 unsigned long nr_pages, struct vmem_altmap *altmap) in __remove_pages() 698 unsigned long nr_pages, struct vmem_altmap *altmap) in move_pfn_range_to_zone()
|
| D | page_alloc.c | 5881 struct vmem_altmap *altmap) in memmap_init_zone() 5955 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
|
| /Linux-v5.4/arch/powerpc/mm/ |
| D | init_64.c | 175 static bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start, in altmap_cross_boundary() 191 struct vmem_altmap *altmap) in vmemmap_populate() 272 struct vmem_altmap *altmap) in vmemmap_free()
|
| D | mem.c | 129 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.4/arch/x86/mm/ |
| D | init_64.c | 895 struct vmem_altmap *altmap) in free_hugepage_table() 1030 bool direct, struct vmem_altmap *altmap) in remove_pmd_table() 1086 struct vmem_altmap *altmap, bool direct) in remove_pud_table() 1141 struct vmem_altmap *altmap, bool direct) in remove_p4d_table() 1174 struct vmem_altmap *altmap) in remove_pagetable() 1196 struct vmem_altmap *altmap) in vmemmap_free() 1211 struct vmem_altmap *altmap) in arch_remove_memory() 1452 unsigned long end, int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages() 1517 struct vmem_altmap *altmap) in vmemmap_populate()
|
| D | init_32.c | 864 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.4/arch/s390/mm/ |
| D | vmem.c | 214 struct vmem_altmap *altmap) in vmemmap_populate() 300 struct vmem_altmap *altmap) in vmemmap_free()
|
| D | init.c | 290 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.4/arch/arm64/mm/ |
| D | mmu.c | 731 struct vmem_altmap *altmap) in vmemmap_populate() 737 struct vmem_altmap *altmap) in vmemmap_populate() 773 struct vmem_altmap *altmap) in vmemmap_free() 1068 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.4/arch/ia64/mm/ |
| D | discontig.c | 657 struct vmem_altmap *altmap) in vmemmap_populate() 663 struct vmem_altmap *altmap) in vmemmap_free()
|
| D | init.c | 688 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.4/arch/sh/mm/ |
| D | init.c | 433 struct vmem_altmap *altmap) in arch_remove_memory()
|
| /Linux-v5.4/drivers/nvdimm/ |
| D | pfn_devs.c | 666 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() 676 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
|
| /Linux-v5.4/Documentation/vm/ |
| D | memory-model.rst | 179 devices. This storage is represented with :c:type:`struct vmem_altmap` 182 `vmem_altmap` along with :c:func:`altmap_alloc_block_buf` helper to
|
| /Linux-v5.4/arch/riscv/mm/ |
| D | init.c | 464 struct vmem_altmap *altmap) in vmemmap_populate()
|
| /Linux-v5.4/arch/sparc/mm/ |
| D | init_64.c | 2597 int node, struct vmem_altmap *altmap) in vmemmap_populate() 2641 struct vmem_altmap *altmap) in vmemmap_free()
|