Home
last modified time | relevance | path

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

/linux/arch/s390/mm/
H A Dvmem.c40 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()
H A Dinit.c282 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux/mm/
H A Dsparse-vmemmap.c88 struct vmem_altmap *altmap) in vmemmap_alloc_block_buf()
101 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn()
107 static unsigned long __meminit vmem_altmap_nr_free(struct vmem_altmap *altmap) in vmem_altmap_nr_free()
117 struct vmem_altmap *altmap) in altmap_alloc_block_buf()
155 struct vmem_altmap *altmap, in vmemmap_pte_populate()
250 struct vmem_altmap *altmap, in vmemmap_populate_address()
282 struct vmem_altmap *altmap, in vmemmap_populate_range()
300 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages()
417 int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages()
562 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap()
H A Dsparse.c418 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in __populate_section_memmap()
670 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap()
677 struct vmem_altmap *altmap) in depopulate_section_memmap()
742 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap()
750 struct vmem_altmap *altmap) in depopulate_section_memmap()
818 struct vmem_altmap *altmap) in section_deactivate()
871 unsigned long nr_pages, struct vmem_altmap *altmap, in section_activate()
934 unsigned long nr_pages, struct vmem_altmap *altmap, in sparse_add_section()
970 struct vmem_altmap *altmap) in sparse_remove_section()
H A Dmemory_hotplug.c395 struct vmem_altmap *altmap = params->altmap; in __add_pages() local
594 struct vmem_altmap *altmap) in __remove_pages()
750 struct vmem_altmap *altmap, int migratetype, in move_pfn_range_to_zone()
1426 struct vmem_altmap *altmap = NULL; in remove_memory_blocks_and_altmaps() local
H A Dmm_init.c878 struct vmem_altmap *altmap, int migratetype, in memmap_init_range() argument
1076 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages() argument
1118 struct vmem_altmap *altmap in memmap_init_zone_device() local
[all...]
/linux/arch/loongarch/mm/
H A Dinit.c98 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
134 int node, struct vmem_altmap *altmap) in vmemmap_populate()
144 void vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
/linux/arch/powerpc/mm/book3s64/
H A 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()
1016 struct vmem_altmap *altmap, in radix__vmemmap_pte_populate()
1114 struct vmem_altmap *altmap) in radix__vmemmap_populate()
1220 struct vmem_altmap *altmap, in radix__vmemmap_populate_address()
1420 struct vmem_altmap *altmap) in radix__vmemmap_free()
/linux/arch/x86/mm/
H A Dinit_64.c1039 struct vmem_altmap *altmap) in free_hugepage_table()
1146 bool direct, struct vmem_altmap *altmap) in remove_pmd_table()
1192 struct vmem_altmap *altmap, bool direct) in remove_pud_table()
1226 struct vmem_altmap *altmap, bool direct) in remove_p4d_table()
1259 struct vmem_altmap *altmap) in remove_pagetable()
1281 struct vmem_altmap *altmap) in vmemmap_free()
1298 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
1566 struct vmem_altmap *altmap) in vmemmap_populate()
/linux/arch/riscv/mm/
H A Dinit.c1462 struct vmem_altmap *altmap) in vmemmap_populate()
1638 struct vmem_altmap *altmap) in free_vmemmap_storage()
1659 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pte_mapping()
1681 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pmd_mapping()
1708 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pud_mapping()
1739 bool is_vmemmap, struct vmem_altmap *altmap) in remove_p4d_mapping()
1770 struct vmem_altmap *altmap) in remove_pgd_mapping()
1829 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
1836 void __ref vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
/linux/arch/arm64/mm/
H A Dmmu.c1314 struct vmem_altmap *altmap) in free_hotplug_page_range()
1350 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
1371 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
1404 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
1437 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
1455 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1671 struct vmem_altmap *altmap) in vmemmap_populate()
1686 struct vmem_altmap *altmap) in vmemmap_free()
1900 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux/include/linux/
H A Dmemremap.h128 struct vmem_altmap altmap; member
H A Dmemory.h80 struct vmem_altmap *altmap; member
H A Dmm.h3950 static inline unsigned long vmem_altmap_offset(const struct vmem_altmap *altmap) in vmem_altmap_offset()
3958 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
3964 static inline unsigned long vmem_altmap_offset(const struct vmem_altmap *altmap) in vmem_altmap_offset()
3969 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
3977 static inline bool __vmemmap_can_optimize(struct vmem_altmap *altmap, in __vmemmap_can_optimize()
4002 static inline bool vmemmap_can_optimize(struct vmem_altmap *altmap, in vmemmap_can_optimize()
/linux/drivers/base/
H A Dmemory.c813 struct vmem_altmap *altmap, in add_memory_block()
882 int nid, struct vmem_altmap *altmap, in create_memory_block_devices()
/linux/drivers/nvdimm/
H A Dpfn_devs.c675 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() local
/linux/arch/sparc/mm/
H A Dinit_64.c2585 int node, struct vmem_altmap *altmap) in vmemmap_populate()