Home
last modified time | relevance | path

Searched defs:altmap (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/mm/
Dsparse-vmemmap.c77 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()
Dsparse.c446 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
652 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap()
658 struct vmem_altmap *altmap) in depopulate_section_memmap()
723 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap()
730 struct vmem_altmap *altmap) in depopulate_section_memmap()
798 struct vmem_altmap *altmap) in section_deactivate()
846 unsigned long nr_pages, struct vmem_altmap *altmap) in section_activate()
906 unsigned long nr_pages, struct vmem_altmap *altmap) in sparse_add_section()
968 struct vmem_altmap *altmap) in sparse_remove_section()
Dmemremap.c448 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
456 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
Dmemory_hotplug.c316 struct vmem_altmap *altmap = params->altmap; in __add_pages() local
512 struct vmem_altmap *altmap) in __remove_section()
534 struct vmem_altmap *altmap) in __remove_pages()
694 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone()
/kernel/linux/linux-4.19/mm/
Dsparse.c386 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()
609 struct vmem_altmap *altmap) in kmalloc_section_memmap()
615 struct vmem_altmap *altmap) in __kfree_section_memmap()
661 struct vmem_altmap *altmap) in sparse_add_one_section()
733 struct vmem_altmap *altmap) in free_section_usemap()
761 struct vmem_altmap *altmap) in sparse_remove_one_section()
Dsparse-vmemmap.c83 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()
Dmemory_hotplug.c251 struct vmem_altmap *altmap, bool want_memblock) in __add_section()
269 unsigned long nr_pages, struct vmem_altmap *altmap, in __add_pages()
480 struct vmem_altmap *altmap) in __remove_section()
506 struct vmem_altmap *altmap) in __remove_pages()
710 unsigned long nr_pages, struct vmem_altmap *altmap) in move_pfn_range_to_zone()
/kernel/linux/linux-4.19/kernel/
Dmemremap.c91 struct vmem_altmap *altmap = &pgmap->altmap; in pfn_first() local
180 struct vmem_altmap *altmap = pgmap->altmap_valid ? in devm_memremap_pages() local
319 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
325 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
/kernel/linux/linux-4.19/include/linux/
Dmemremap.h117 struct vmem_altmap altmap; member
153 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
158 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
/kernel/linux/linux-4.19/arch/x86/mm/
Dinit_64.c781 struct vmem_altmap *altmap, bool want_memblock) in add_pages()
795 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
829 struct vmem_altmap *altmap) in free_hugepage_table()
964 bool direct, struct vmem_altmap *altmap) in remove_pmd_table()
1020 struct vmem_altmap *altmap, bool direct) in remove_pud_table()
1075 struct vmem_altmap *altmap, bool direct) in remove_p4d_table()
1108 struct vmem_altmap *altmap) in remove_pagetable()
1130 struct vmem_altmap *altmap) in vmemmap_free()
1145 struct vmem_altmap *altmap) in arch_remove_memory()
1384 unsigned long end, int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages()
[all …]
Dinit_32.c854 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
864 struct vmem_altmap *altmap) in arch_remove_memory()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dinit_64.c185 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()
/kernel/linux/linux-5.10/include/linux/
Dmemremap.h111 struct vmem_altmap altmap; member
174 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
179 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
/kernel/linux/linux-5.10/arch/arm64/mm/
Dmmu.c778 struct vmem_altmap *altmap) in free_hotplug_page_range()
814 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
835 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
868 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
901 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
919 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1102 struct vmem_altmap *altmap) in vmemmap_populate()
1108 struct vmem_altmap *altmap) in vmemmap_populate()
1149 struct vmem_altmap *altmap) in vmemmap_free()
1505 struct vmem_altmap *altmap) in arch_remove_memory()
/kernel/linux/linux-5.10/arch/x86/mm/
Dinit_64.c897 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()
/kernel/linux/linux-4.19/arch/powerpc/mm/
Dinit_64.c181 struct vmem_altmap *altmap) in vmemmap_populate()
259 struct vmem_altmap *altmap) in vmemmap_free()
Dmem.c121 int __ref arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
143 struct vmem_altmap *altmap) in arch_remove_memory()
/kernel/linux/linux-4.19/arch/s390/mm/
Dinit.c225 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
243 struct vmem_altmap *altmap) in arch_remove_memory()
Dvmem.c215 struct vmem_altmap *altmap) in vmemmap_populate()
301 struct vmem_altmap *altmap) in vmemmap_free()
/kernel/linux/linux-4.19/arch/sh/mm/
Dinit.c422 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
447 struct vmem_altmap *altmap) in arch_remove_memory()
/kernel/linux/linux-4.19/arch/ia64/mm/
Ddiscontig.c656 struct vmem_altmap *altmap) in vmemmap_populate()
662 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c649 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
665 struct vmem_altmap *altmap) in arch_remove_memory()
/kernel/linux/linux-5.10/arch/ia64/mm/
Ddiscontig.c655 struct vmem_altmap *altmap) in vmemmap_populate()
661 struct vmem_altmap *altmap) in vmemmap_free()
/kernel/linux/linux-5.10/arch/s390/mm/
Dvmem.c507 struct vmem_altmap *altmap) in vmemmap_populate()
521 struct vmem_altmap *altmap) in vmemmap_free()
/kernel/linux/linux-4.19/arch/arm64/mm/
Dmmu.c705 struct vmem_altmap *altmap) in vmemmap_populate()
711 struct vmem_altmap *altmap) in vmemmap_populate()
747 struct vmem_altmap *altmap) in vmemmap_free()

12