Home
last modified time | relevance | path

Searched refs:vmem_altmap (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.15/include/linux/
Dmemremap.h19 struct vmem_altmap { struct
111 struct vmem_altmap altmap;
126 static inline struct vmem_altmap *pgmap_altmap(struct dev_pagemap *pgmap) in pgmap_altmap()
142 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap);
143 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns);
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()
Dmemory_hotplug.h17 struct vmem_altmap;
67 struct vmem_altmap *altmap;
141 extern void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap);
143 struct vmem_altmap *altmap);
339 struct vmem_altmap *altmap, int migratetype);
345 unsigned long nr_pages, struct vmem_altmap *altmap);
348 unsigned long map_offset, struct vmem_altmap *altmap);
Dmm.h2476 struct vmem_altmap *, int migratetype);
3087 unsigned long nr_pages, int nid, struct vmem_altmap *altmap);
3093 struct vmem_altmap *altmap);
3095 struct vmem_altmap;
3097 struct vmem_altmap *altmap);
3100 int node, struct vmem_altmap *altmap);
3102 struct vmem_altmap *altmap);
3106 struct vmem_altmap *altmap);
/Linux-v5.15/mm/
Dsparse-vmemmap.c427 struct vmem_altmap *altmap);
431 struct vmem_altmap *altmap) in vmemmap_alloc_block_buf()
444 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn()
450 static unsigned long __meminit vmem_altmap_nr_free(struct vmem_altmap *altmap) in vmem_altmap_nr_free()
460 struct vmem_altmap *altmap) in altmap_alloc_block_buf()
498 struct vmem_altmap *altmap) in vmemmap_pte_populate()
574 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages()
606 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
Dsparse.c430 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()
638 struct vmem_altmap *altmap) in depopulate_section_memmap()
703 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap()
710 struct vmem_altmap *altmap) in depopulate_section_memmap()
778 struct vmem_altmap *altmap) in section_deactivate()
826 unsigned long nr_pages, struct vmem_altmap *altmap) in section_activate()
886 unsigned long nr_pages, struct vmem_altmap *altmap) in sparse_add_section()
948 struct vmem_altmap *altmap) in sparse_remove_section()
Dmemory_hotplug.c311 struct vmem_altmap *altmap = params->altmap; in __add_pages()
498 struct vmem_altmap *altmap) in __remove_section()
520 struct vmem_altmap *altmap) in __remove_pages()
694 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone()
1360 struct vmem_altmap mhp_altmap = {}; in add_memory_resource()
2148 struct vmem_altmap mhp_altmap = {}; in try_remove_memory()
2149 struct vmem_altmap *altmap = NULL; in try_remove_memory()
Dmemremap.c451 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
459 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
Dpage_alloc.c6502 struct vmem_altmap *altmap, int migratetype) in memmap_init_range()
6566 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
/Linux-v5.15/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()
Dmem.c122 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.15/arch/arm64/mm/
Dmmu.c796 struct vmem_altmap *altmap) in free_hotplug_page_range()
832 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
853 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
886 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
919 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
937 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1119 struct vmem_altmap *altmap) in vmemmap_populate()
1126 struct vmem_altmap *altmap) in vmemmap_populate()
1173 struct vmem_altmap *altmap) in vmemmap_free()
1505 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.15/arch/x86/mm/
Dinit_64.c996 struct vmem_altmap *altmap) in free_hugepage_table()
1103 bool direct, struct vmem_altmap *altmap) in remove_pmd_table()
1152 struct vmem_altmap *altmap, bool direct) in remove_pud_table()
1186 struct vmem_altmap *altmap, bool direct) in remove_p4d_table()
1219 struct vmem_altmap *altmap) in remove_pagetable()
1241 struct vmem_altmap *altmap) in vmemmap_free()
1258 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
1536 unsigned long end, int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages()
1604 struct vmem_altmap *altmap) in vmemmap_populate()
Dinit_32.c804 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.15/arch/ia64/mm/
Ddiscontig.c633 struct vmem_altmap *altmap) in vmemmap_populate()
639 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c487 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.15/arch/s390/mm/
Dvmem.c508 struct vmem_altmap *altmap) in vmemmap_populate()
522 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c310 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.15/Documentation/vm/
Dmemory-model.rst133 devices. This storage is represented with struct vmem_altmap
136 `vmem_altmap` along with :c:func:`vmemmap_alloc_block_buf` helper to
/Linux-v5.15/arch/sh/mm/
Dinit.c417 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.15/drivers/nvdimm/
Dpfn_devs.c676 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn()
686 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
/Linux-v5.15/arch/riscv/mm/
Dinit.c853 struct vmem_altmap *altmap) in vmemmap_populate()
/Linux-v5.15/arch/sparc/mm/
Dinit_64.c2582 int node, struct vmem_altmap *altmap) in vmemmap_populate()
2631 struct vmem_altmap *altmap) in vmemmap_free()