Home
last modified time | relevance | path

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

/Linux-v5.10/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()
141 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap);
142 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns);
168 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
173 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
Dmemory_hotplug.h16 struct vmem_altmap;
80 struct vmem_altmap *altmap;
146 struct vmem_altmap *altmap);
148 struct vmem_altmap *altmap);
350 struct vmem_altmap *altmap, int migratetype);
356 unsigned long nr_pages, struct vmem_altmap *altmap);
359 unsigned long map_offset, struct vmem_altmap *altmap);
Dmm.h2443 enum meminit_context, struct vmem_altmap *, int migratetype);
3003 unsigned long nr_pages, int nid, struct vmem_altmap *altmap);
3009 struct vmem_altmap *altmap);
3011 struct vmem_altmap;
3013 struct vmem_altmap *altmap);
3016 int node, struct vmem_altmap *altmap);
3018 struct vmem_altmap *altmap);
3022 struct vmem_altmap *altmap);
/Linux-v5.10/mm/
Dsparse-vmemmap.c73 struct vmem_altmap *altmap);
77 struct vmem_altmap *altmap) in vmemmap_alloc_block_buf()
90 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn()
96 static unsigned long __meminit vmem_altmap_nr_free(struct vmem_altmap *altmap) in vmem_altmap_nr_free()
106 struct vmem_altmap *altmap) in altmap_alloc_block_buf()
144 struct vmem_altmap *altmap) in vmemmap_pte_populate()
220 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages()
252 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
Dsparse.c446 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
651 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap()
657 struct vmem_altmap *altmap) in depopulate_section_memmap()
722 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap()
729 struct vmem_altmap *altmap) in depopulate_section_memmap()
797 struct vmem_altmap *altmap) in section_deactivate()
845 unsigned long nr_pages, struct vmem_altmap *altmap) in section_activate()
905 unsigned long nr_pages, struct vmem_altmap *altmap) in sparse_add_section()
967 struct vmem_altmap *altmap) in sparse_remove_section()
Dmemremap.c433 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
441 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
Dmemory_hotplug.c315 struct vmem_altmap *altmap = params->altmap; in __add_pages()
511 struct vmem_altmap *altmap) in __remove_section()
533 struct vmem_altmap *altmap) in __remove_pages()
693 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone()
Dpage_alloc.c6054 struct vmem_altmap *altmap, int migratetype) in memmap_init_zone()
6118 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
/Linux-v5.10/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.c144 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.10/arch/arm64/mm/
Dmmu.c776 struct vmem_altmap *altmap) in free_hotplug_page_range()
812 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
833 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
866 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
899 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
917 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1100 struct vmem_altmap *altmap) in vmemmap_populate()
1106 struct vmem_altmap *altmap) in vmemmap_populate()
1147 struct vmem_altmap *altmap) in vmemmap_free()
1487 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.10/arch/x86/mm/
Dinit_64.c897 struct vmem_altmap *altmap) in free_hugepage_table()
1032 bool direct, struct vmem_altmap *altmap) in remove_pmd_table()
1088 struct vmem_altmap *altmap, bool direct) in remove_pud_table()
1143 struct vmem_altmap *altmap, bool direct) in remove_p4d_table()
1176 struct vmem_altmap *altmap) in remove_pagetable()
1198 struct vmem_altmap *altmap) in vmemmap_free()
1213 struct vmem_altmap *altmap) in arch_remove_memory()
1493 unsigned long end, int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages()
1555 struct vmem_altmap *altmap) in vmemmap_populate()
Dinit_32.c822 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.10/arch/ia64/mm/
Ddiscontig.c655 struct vmem_altmap *altmap) in vmemmap_populate()
661 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c710 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.10/arch/s390/mm/
Dvmem.c507 struct vmem_altmap *altmap) in vmemmap_populate()
521 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c305 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.10/arch/sh/mm/
Dinit.c427 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.10/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.10/Documentation/vm/
Dmemory-model.rst175 devices. This storage is represented with struct vmem_altmap
178 `vmem_altmap` along with :c:func:`vmemmap_alloc_block_buf` helper to
/Linux-v5.10/arch/riscv/mm/
Dinit.c675 struct vmem_altmap *altmap) in vmemmap_populate()
/Linux-v5.10/arch/sparc/mm/
Dinit_64.c2582 int node, struct vmem_altmap *altmap) in vmemmap_populate()
2631 struct vmem_altmap *altmap) in vmemmap_free()