Home
last modified time | relevance | path

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

/linux/include/linux/
A 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()
A Dmemory_hotplug.h17 struct vmem_altmap;
67 struct vmem_altmap *altmap;
138 extern void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap);
140 struct vmem_altmap *altmap);
336 struct vmem_altmap *altmap, int migratetype);
342 unsigned long nr_pages, struct vmem_altmap *altmap);
345 unsigned long map_offset, struct vmem_altmap *altmap);
A Dmm.h2585 struct vmem_altmap *, int migratetype);
3194 unsigned long nr_pages, int nid, struct vmem_altmap *altmap);
3200 struct vmem_altmap *altmap);
3202 struct vmem_altmap;
3204 struct vmem_altmap *altmap);
3207 int node, struct vmem_altmap *altmap);
3209 struct vmem_altmap *altmap);
3213 struct vmem_altmap *altmap);
/linux/mm/
A 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()
A 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()
A Dmemory_hotplug.c310 struct vmem_altmap *altmap = params->altmap; in __add_pages()
497 struct vmem_altmap *altmap) in __remove_section()
519 struct vmem_altmap *altmap) in __remove_pages()
681 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone()
1347 struct vmem_altmap mhp_altmap = {}; in add_memory_resource()
2122 struct vmem_altmap mhp_altmap = {}; in try_remove_memory()
2123 struct vmem_altmap *altmap = NULL; in try_remove_memory()
A 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()
A Dpage_alloc.c6508 struct vmem_altmap *altmap, int migratetype) in memmap_init_range()
6572 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
/linux/arch/powerpc/mm/
A 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()
A Dmem.c122 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux/arch/arm64/mm/
A Dmmu.c797 struct vmem_altmap *altmap) in free_hotplug_page_range()
833 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
854 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
887 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
920 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
938 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1120 struct vmem_altmap *altmap) in vmemmap_populate()
1127 struct vmem_altmap *altmap) in vmemmap_populate()
1174 struct vmem_altmap *altmap) in vmemmap_free()
1511 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux/arch/x86/mm/
A 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()
/linux/arch/ia64/mm/
A Ddiscontig.c633 struct vmem_altmap *altmap) in vmemmap_populate()
639 struct vmem_altmap *altmap) in vmemmap_free()
A Dinit.c487 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux/arch/s390/mm/
A Dvmem.c509 struct vmem_altmap *altmap) in vmemmap_populate()
523 struct vmem_altmap *altmap) in vmemmap_free()
A Dinit.c307 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux/Documentation/vm/
A 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/arch/sh/mm/
A Dinit.c417 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux/drivers/nvdimm/
A Dpfn_devs.c676 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn()
686 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
/linux/arch/riscv/mm/
A Dinit.c852 struct vmem_altmap *altmap) in vmemmap_populate()
/linux/arch/sparc/mm/
A Dinit_64.c2582 int node, struct vmem_altmap *altmap) in vmemmap_populate()
2631 struct vmem_altmap *altmap) in vmemmap_free()

Completed in 58 milliseconds