Home
last modified time | relevance | path

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

/linux-6.6.21/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.c375 struct vmem_altmap *altmap = params->altmap; in __add_pages() local
574 struct vmem_altmap *altmap) in __remove_pages()
751 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone()
2156 struct vmem_altmap *altmap = NULL; in try_remove_memory() local
Dmm_init.c851 struct vmem_altmap *altmap, int migratetype) in memmap_init_range()
1027 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages()
1070 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device() local
/linux-6.6.21/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()
Dmem.c157 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.6.21/arch/loongarch/mm/
Dinit.c108 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
152 int node, struct vmem_altmap *altmap) in vmemmap_populate()
162 void vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
/linux-6.6.21/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()
951 struct vmem_altmap *altmap, in radix__vmemmap_pte_populate()
1049 struct vmem_altmap *altmap) in radix__vmemmap_populate()
1135 struct vmem_altmap *altmap, in radix__vmemmap_populate_address()
1335 struct vmem_altmap *altmap) in radix__vmemmap_free()
/linux-6.6.21/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()
Dmemory.h80 struct vmem_altmap *altmap; member
Dmemory_hotplug.h117 struct vmem_altmap *altmap; member
Dmm.h3791 static inline bool __vmemmap_can_optimize(struct vmem_altmap *altmap, in __vmemmap_can_optimize()
3816 static inline bool vmemmap_can_optimize(struct vmem_altmap *altmap, in vmemmap_can_optimize()
/linux-6.6.21/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()
1162 struct vmem_altmap *altmap) in vmemmap_free()
1335 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.6.21/arch/x86/mm/
Dinit_64.c997 struct vmem_altmap *altmap) in free_hugepage_table()
1104 bool direct, struct vmem_altmap *altmap) in remove_pmd_table()
1153 struct vmem_altmap *altmap, bool direct) in remove_pud_table()
1187 struct vmem_altmap *altmap, bool direct) in remove_p4d_table()
1220 struct vmem_altmap *altmap) in remove_pagetable()
1242 struct vmem_altmap *altmap) in vmemmap_free()
1259 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
1536 struct vmem_altmap *altmap) in vmemmap_populate()
/linux-6.6.21/arch/ia64/mm/
Ddiscontig.c626 struct vmem_altmap *altmap) in vmemmap_populate()
632 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c499 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.6.21/arch/s390/mm/
Dvmem.c492 struct vmem_altmap *altmap) in vmemmap_populate()
506 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c305 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.6.21/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()
/linux-6.6.21/arch/sh/mm/
Dinit.c418 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.6.21/drivers/nvdimm/
Dpfn_devs.c685 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() local
/linux-6.6.21/arch/sparc/mm/
Dinit_64.c2596 int node, struct vmem_altmap *altmap) in vmemmap_populate()
2645 struct vmem_altmap *altmap) in vmemmap_free()
/linux-6.6.21/arch/riscv/mm/
Dinit.c1516 struct vmem_altmap *altmap) in vmemmap_populate()