Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/mm/
Dsparse-vmemmap.c78 struct vmem_altmap *altmap) in vmemmap_alloc_block_buf()
91 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn()
97 static unsigned long __meminit vmem_altmap_nr_free(struct vmem_altmap *altmap) in vmem_altmap_nr_free()
107 struct vmem_altmap *altmap) in altmap_alloc_block_buf()
145 struct vmem_altmap *altmap, in vmemmap_pte_populate()
246 struct vmem_altmap *altmap, in vmemmap_populate_address()
277 struct vmem_altmap *altmap, in vmemmap_populate_range()
293 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages()
310 int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages()
453 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap()
Dsparse.c429 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap()
632 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap()
639 struct vmem_altmap *altmap) in depopulate_section_memmap()
704 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap()
712 struct vmem_altmap *altmap) in depopulate_section_memmap()
780 struct vmem_altmap *altmap) in section_deactivate()
829 unsigned long nr_pages, struct vmem_altmap *altmap, in section_activate()
891 unsigned long nr_pages, struct vmem_altmap *altmap, in sparse_add_section()
926 struct vmem_altmap *altmap) in sparse_remove_section()
Dmemremap.c425 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
433 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
Dmemory_hotplug.c376 struct vmem_altmap *altmap = params->altmap; in __add_pages() local
575 struct vmem_altmap *altmap) in __remove_pages()
752 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone()
2167 struct vmem_altmap *altmap = NULL; in try_remove_memory() local
/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()
847 unsigned long nr_pages, struct vmem_altmap *altmap) in section_activate()
907 unsigned long nr_pages, struct vmem_altmap *altmap) in sparse_add_section()
969 struct vmem_altmap *altmap) in sparse_remove_section()
Dmemremap.c449 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
457 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-6.6/arch/powerpc/mm/
Dinit_64.c187 bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start, in altmap_cross_boundary()
203 struct vmem_altmap *altmap) in __vmemmap_populate()
277 struct vmem_altmap *altmap) in vmemmap_populate()
320 struct vmem_altmap *altmap) in __vmemmap_free()
379 struct vmem_altmap *altmap) in vmemmap_free()
/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-6.6/arch/loongarch/mm/
Dinit.c105 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
149 int node, struct vmem_altmap *altmap) in vmemmap_populate()
159 void vmemmap_free(unsigned long start, unsigned long end, 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-6.6/arch/powerpc/mm/book3s64/
Dradix_pgtable.c691 struct vmem_altmap *altmap, in free_vmemmap_pages()
724 struct vmem_altmap *altmap) in remove_pte_table()
757 struct vmem_altmap *altmap) in remove_pmd_table()
797 struct vmem_altmap *altmap) in remove_pud_table()
831 struct vmem_altmap *altmap) in remove_pagetable()
916 bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap) in vmemmap_can_optimize()
952 struct vmem_altmap *altmap, in radix__vmemmap_pte_populate()
1050 struct vmem_altmap *altmap) in radix__vmemmap_populate()
1149 struct vmem_altmap *altmap, in radix__vmemmap_populate_address()
1349 struct vmem_altmap *altmap) in radix__vmemmap_free()
/kernel/linux/linux-6.6/include/linux/
Dmemremap.h127 struct vmem_altmap altmap; member
231 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
236 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
/kernel/linux/linux-5.10/arch/arm64/mm/
Dmmu.c817 struct vmem_altmap *altmap) in free_hotplug_page_range()
853 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
874 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
907 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
940 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
958 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1141 struct vmem_altmap *altmap) in vmemmap_populate()
1147 struct vmem_altmap *altmap) in vmemmap_populate()
1188 struct vmem_altmap *altmap) in vmemmap_free()
1549 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-6.6/arch/arm64/mm/
Dmmu.c815 struct vmem_altmap *altmap) in free_hotplug_page_range()
851 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
872 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
905 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
938 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
956 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1150 struct vmem_altmap *altmap) in vmemmap_populate()
1165 struct vmem_altmap *altmap) in vmemmap_free()
1340 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/kernel/linux/linux-6.6/arch/x86/mm/
Dinit_64.c1010 struct vmem_altmap *altmap) in free_hugepage_table()
1117 bool direct, struct vmem_altmap *altmap) in remove_pmd_table()
1166 struct vmem_altmap *altmap, bool direct) in remove_pud_table()
1200 struct vmem_altmap *altmap, bool direct) in remove_p4d_table()
1233 struct vmem_altmap *altmap) in remove_pagetable()
1255 struct vmem_altmap *altmap) in vmemmap_free()
1272 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
1549 struct vmem_altmap *altmap) in vmemmap_populate()
/kernel/linux/linux-5.10/arch/loongarch/mm/
Dinit.c112 u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
305 struct vmem_altmap *altmap) in vmemmap_populate()
310 struct vmem_altmap *altmap) in vmemmap_free()
/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-6.6/arch/ia64/mm/
Ddiscontig.c626 struct vmem_altmap *altmap) in vmemmap_populate()
632 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()
Dinit.c305 struct vmem_altmap *altmap) in arch_remove_memory()
/kernel/linux/linux-6.6/arch/s390/mm/
Dvmem.c492 struct vmem_altmap *altmap) in vmemmap_populate()
506 struct vmem_altmap *altmap) in vmemmap_free()
/kernel/linux/linux-6.6/drivers/base/
Dmemory.c758 struct vmem_altmap *altmap, in add_memory_block()
819 struct vmem_altmap *altmap, in add_hotplug_memory_block()
850 struct vmem_altmap *altmap, in create_memory_block_devices()

12