Home
last modified time | relevance | path

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

/linux/arch/s390/mm/
H A Dvmem.c41 static void vmem_free_pages(unsigned long addr, int order, struct vmem_altmap *altmap) in vmem_free_pages()
170 struct vmem_altmap *altmap) in modify_pte_table()
225 struct vmem_altmap *altmap) in modify_pmd_table()
316 bool add, bool direct, struct vmem_altmap *altmap) in modify_pud_table()
386 bool add, bool direct, struct vmem_altmap *altmap) in modify_p4d_table()
431 bool direct, struct vmem_altmap *altmap) in modify_pagetable()
476 struct vmem_altmap *altmap) in add_pagetable()
482 struct vmem_altmap *altmap) in remove_pagetable()
509 struct vmem_altmap *altmap) in vmemmap_populate()
525 struct vmem_altmap *altmap) in vmemmap_free()
H A Dinit.c281 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()
969 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()
1424 struct vmem_altmap *altmap = NULL; in remove_memory_blocks_and_altmaps() local
H A Dmm_init.c875 struct vmem_altmap *altmap, int migratetype, in memmap_init_range()
1073 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages()
1115 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device() local
/linux/arch/powerpc/mm/
H A Dinit_64.c188 bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start, in altmap_cross_boundary()
204 struct vmem_altmap *altmap) in __vmemmap_populate()
278 struct vmem_altmap *altmap) in vmemmap_populate()
321 struct vmem_altmap *altmap) in __vmemmap_free()
380 struct vmem_altmap *altmap) in vmemmap_free()
H A Dmem.c164 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux/arch/loongarch/mm/
H A Dinit.c92 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
128 int node, struct vmem_altmap *altmap) in vmemmap_populate()
138 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.c756 struct vmem_altmap *altmap, in free_vmemmap_pages()
789 struct vmem_altmap *altmap) in remove_pte_table()
822 struct vmem_altmap *altmap) in remove_pmd_table()
862 struct vmem_altmap *altmap) in remove_pud_table()
896 struct vmem_altmap *altmap) in remove_pagetable()
981 bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap) in vmemmap_can_optimize()
1017 struct vmem_altmap *altmap, in radix__vmemmap_pte_populate()
1115 struct vmem_altmap *altmap) in radix__vmemmap_populate()
1221 struct vmem_altmap *altmap, in radix__vmemmap_populate_address()
1421 struct vmem_altmap *altmap) in radix__vmemmap_free()
/linux/arch/x86/mm/
H A Dinit_64.c1032 struct vmem_altmap *altmap) in free_hugepage_table()
1139 bool direct, struct vmem_altmap *altmap) in remove_pmd_table()
1185 struct vmem_altmap *altmap, bool direct) in remove_pud_table()
1219 struct vmem_altmap *altmap, bool direct) in remove_p4d_table()
1252 struct vmem_altmap *altmap) in remove_pagetable()
1274 struct vmem_altmap *altmap) in vmemmap_free()
1291 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
1559 struct vmem_altmap *altmap) in vmemmap_populate()
/linux/arch/riscv/mm/
H A 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/arch/arm64/mm/
H A Dmmu.c1413 struct vmem_altmap *altmap) in free_hotplug_page_range()
1449 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
1470 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
1503 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
1536 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
1554 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1770 struct vmem_altmap *altmap) in vmemmap_populate()
1785 struct vmem_altmap *altmap) in vmemmap_free()
2004 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux/include/linux/
H A Dmemory.h90 struct vmem_altmap *altmap; member
H A Dmemremap.h134 struct vmem_altmap altmap; member
H A Dmemory_hotplug.h69 struct vmem_altmap *altmap; member
H A Dmm.h4524 static inline unsigned long vmem_altmap_offset(const struct vmem_altmap *altmap) in vmem_altmap_offset()
4532 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
4538 static inline unsigned long vmem_altmap_offset(const struct vmem_altmap *altmap) in vmem_altmap_offset()
4543 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
4551 static inline bool __vmemmap_can_optimize(struct vmem_altmap *altmap, in __vmemmap_can_optimize()
4576 static inline bool vmemmap_can_optimize(struct vmem_altmap *altmap, in vmemmap_can_optimize()
/linux/drivers/base/
H A Dmemory.c792 struct vmem_altmap *altmap, in add_memory_block()
861 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.c2572 int node, struct vmem_altmap *altmap) in vmemmap_populate()