/Linux-v4.19/include/linux/ |
D | memremap.h | 20 struct vmem_altmap { struct 116 struct vmem_altmap altmap; 130 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap); 131 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns); 151 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 156 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
|
D | memory_hotplug.h | 16 struct vmem_altmap; 111 struct vmem_altmap *altmap); 113 unsigned long nr_pages, struct vmem_altmap *altmap); 118 struct vmem_altmap *altmap, bool want_memblock); 122 unsigned long nr_pages, struct vmem_altmap *altmap, in add_pages() 129 struct vmem_altmap *altmap, bool want_memblock); 328 struct vmem_altmap *altmap, bool want_memblock); 330 unsigned long nr_pages, struct vmem_altmap *altmap); 335 unsigned long start_pfn, struct vmem_altmap *altmap); 337 unsigned long map_offset, struct vmem_altmap *altmap);
|
D | mm.h | 2154 enum memmap_context, struct vmem_altmap *); 2668 struct vmem_altmap *altmap); 2675 struct vmem_altmap; 2677 void *altmap_alloc_block_buf(unsigned long size, struct vmem_altmap *altmap); 2682 struct vmem_altmap *altmap); 2686 struct vmem_altmap *altmap);
|
/Linux-v4.19/mm/ |
D | sparse.c | 386 struct vmem_altmap *altmap) in sparse_mem_map_populate() 566 struct vmem_altmap *altmap) in kmalloc_section_memmap() 572 struct vmem_altmap *altmap) in __kfree_section_memmap() 611 struct vmem_altmap *altmap) in kmalloc_section_memmap() 617 struct vmem_altmap *altmap) in __kfree_section_memmap() 665 unsigned long start_pfn, struct vmem_altmap *altmap) in sparse_add_one_section() 742 struct vmem_altmap *altmap) in free_section_usemap() 770 unsigned long map_offset, struct vmem_altmap *altmap) in sparse_remove_one_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 struct vmem_altmap *altmap) in sparse_mem_map_populate()
|
D | memory_hotplug.c | 250 struct vmem_altmap *altmap, bool want_memblock) in __add_section() 274 unsigned long nr_pages, struct vmem_altmap *altmap, in __add_pages() 518 unsigned long map_offset, struct vmem_altmap *altmap) in __remove_section() 552 unsigned long nr_pages, struct vmem_altmap *altmap) in __remove_pages() 782 unsigned long nr_pages, struct vmem_altmap *altmap) in move_pfn_range_to_zone()
|
D | page_alloc.c | 5459 struct vmem_altmap *altmap) in memmap_init_zone()
|
/Linux-v4.19/kernel/ |
D | memremap.c | 91 struct vmem_altmap *altmap = &pgmap->altmap; in pfn_first() 175 struct vmem_altmap *altmap = pgmap->altmap_valid ? in devm_memremap_pages() 288 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset() 294 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
|
/Linux-v4.19/arch/x86/mm/ |
D | init_64.c | 787 struct vmem_altmap *altmap, bool want_memblock) in add_pages() 801 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory() 835 struct vmem_altmap *altmap) in free_hugepage_table() 970 bool direct, struct vmem_altmap *altmap) in remove_pmd_table() 1026 struct vmem_altmap *altmap, bool direct) in remove_pud_table() 1081 struct vmem_altmap *altmap, bool direct) in remove_p4d_table() 1114 struct vmem_altmap *altmap) in remove_pagetable() 1136 struct vmem_altmap *altmap) in vmemmap_free() 1151 int __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() 1401 unsigned long end, int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages() [all …]
|
D | init_32.c | 854 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory() 864 int arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/Linux-v4.19/arch/s390/mm/ |
D | init.c | 225 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory() 243 int arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
D | vmem.c | 215 struct vmem_altmap *altmap) in vmemmap_populate() 301 struct vmem_altmap *altmap) in vmemmap_free()
|
/Linux-v4.19/arch/powerpc/mm/ |
D | init_64.c | 181 struct vmem_altmap *altmap) in vmemmap_populate() 254 struct vmem_altmap *altmap) in vmemmap_free()
|
D | mem.c | 121 int __meminit arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory() 143 int __meminit arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/Linux-v4.19/arch/sh/mm/ |
D | init.c | 422 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory() 447 int arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/Linux-v4.19/arch/ia64/mm/ |
D | discontig.c | 656 struct vmem_altmap *altmap) in vmemmap_populate() 662 struct vmem_altmap *altmap) in vmemmap_free()
|
D | init.c | 649 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory() 665 int arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
|
/Linux-v4.19/arch/arm64/mm/ |
D | mmu.c | 705 struct vmem_altmap *altmap) in vmemmap_populate() 711 struct vmem_altmap *altmap) in vmemmap_populate() 747 struct vmem_altmap *altmap) in vmemmap_free()
|
/Linux-v4.19/drivers/nvdimm/ |
D | pfn_devs.c | 547 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() 555 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
|
/Linux-v4.19/arch/sparc/mm/ |
D | init_64.c | 2631 int node, struct vmem_altmap *altmap) in vmemmap_populate() 2675 struct vmem_altmap *altmap) in vmemmap_free()
|