Home
last modified time | relevance | path

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

/linux-6.14.4/mm/
Dsparse-vmemmap.c79 struct vmem_altmap *altmap) in vmemmap_alloc_block_buf()
92 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn()
98 static unsigned long __meminit vmem_altmap_nr_free(struct vmem_altmap *altmap) in vmem_altmap_nr_free()
108 struct vmem_altmap *altmap) in altmap_alloc_block_buf()
146 struct vmem_altmap *altmap, in vmemmap_pte_populate()
240 struct vmem_altmap *altmap, in vmemmap_populate_address()
271 struct vmem_altmap *altmap, in vmemmap_populate_range()
287 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages()
304 int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages()
447 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap()
Dsparse.c423 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap()
631 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap()
638 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()
927 struct vmem_altmap *altmap) in sparse_remove_section()
Dmemory_hotplug.c394 struct vmem_altmap *altmap = params->altmap; in __add_pages() local
593 struct vmem_altmap *altmap) in __remove_pages()
773 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone()
1427 struct vmem_altmap *altmap = NULL; in remove_memory_blocks_and_altmaps() local
Dmm_init.c854 struct vmem_altmap *altmap, int migratetype) in memmap_init_range()
1036 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages()
1079 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device() local
/linux-6.14.4/arch/s390/mm/
Dvmem.c39 static void vmem_free_pages(unsigned long addr, int order, struct vmem_altmap *altmap) in vmem_free_pages()
167 struct vmem_altmap *altmap) in modify_pte_table()
222 struct vmem_altmap *altmap) in modify_pmd_table()
313 bool add, bool direct, struct vmem_altmap *altmap) in modify_pud_table()
379 bool add, bool direct, struct vmem_altmap *altmap) in modify_p4d_table()
424 bool direct, struct vmem_altmap *altmap) in modify_pagetable()
463 struct vmem_altmap *altmap) in add_pagetable()
469 struct vmem_altmap *altmap) in remove_pagetable()
496 struct vmem_altmap *altmap) in vmemmap_populate()
512 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c302 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.14.4/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.c160 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.14.4/arch/loongarch/mm/
Dinit.c109 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
153 int node, struct vmem_altmap *altmap) in vmemmap_populate()
163 void vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
/linux-6.14.4/arch/powerpc/mm/book3s64/
Dradix_pgtable.c755 struct vmem_altmap *altmap, in free_vmemmap_pages()
788 struct vmem_altmap *altmap) in remove_pte_table()
821 struct vmem_altmap *altmap) in remove_pmd_table()
861 struct vmem_altmap *altmap) in remove_pud_table()
895 struct vmem_altmap *altmap) in remove_pagetable()
980 bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap) in vmemmap_can_optimize()
1015 struct vmem_altmap *altmap, in radix__vmemmap_pte_populate()
1113 struct vmem_altmap *altmap) in radix__vmemmap_populate()
1199 struct vmem_altmap *altmap, in radix__vmemmap_populate_address()
1399 struct vmem_altmap *altmap) in radix__vmemmap_free()
/linux-6.14.4/arch/arm64/mm/
Dmmu.c820 struct vmem_altmap *altmap) in free_hotplug_page_range()
856 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
877 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
910 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
943 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
961 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1177 struct vmem_altmap *altmap) in vmemmap_populate()
1192 struct vmem_altmap *altmap) in vmemmap_free()
1372 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.14.4/arch/x86/mm/
Dinit_64.c1017 struct vmem_altmap *altmap) in free_hugepage_table()
1124 bool direct, struct vmem_altmap *altmap) in remove_pmd_table()
1173 struct vmem_altmap *altmap, bool direct) in remove_pud_table()
1207 struct vmem_altmap *altmap, bool direct) in remove_p4d_table()
1240 struct vmem_altmap *altmap) in remove_pagetable()
1262 struct vmem_altmap *altmap) in vmemmap_free()
1279 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
1542 struct vmem_altmap *altmap) in vmemmap_populate()
/linux-6.14.4/arch/riscv/mm/
Dinit.c1454 struct vmem_altmap *altmap) in vmemmap_populate()
1630 struct vmem_altmap *altmap) in free_vmemmap_storage()
1651 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pte_mapping()
1673 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pmd_mapping()
1700 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pud_mapping()
1731 bool is_vmemmap, struct vmem_altmap *altmap) in remove_p4d_mapping()
1762 struct vmem_altmap *altmap) in remove_pgd_mapping()
1821 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
1828 void __ref vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
/linux-6.14.4/drivers/base/
Dmemory.c779 struct vmem_altmap *altmap, in add_memory_block()
840 struct vmem_altmap *altmap, in add_hotplug_memory_block()
871 struct vmem_altmap *altmap, in create_memory_block_devices()
/linux-6.14.4/include/linux/
Dmemremap.h128 struct vmem_altmap altmap; member
Dmemory.h80 struct vmem_altmap *altmap; member
Dmemory_hotplug.h85 struct vmem_altmap *altmap; member
Dmm.h3867 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
3875 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
3881 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
3886 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
3894 static inline bool __vmemmap_can_optimize(struct vmem_altmap *altmap, in __vmemmap_can_optimize()
3919 static inline bool vmemmap_can_optimize(struct vmem_altmap *altmap, in vmemmap_can_optimize()
/linux-6.14.4/drivers/nvdimm/
Dpfn_devs.c686 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() local
/linux-6.14.4/arch/sparc/mm/
Dinit_64.c2589 int node, struct vmem_altmap *altmap) in vmemmap_populate()