Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dmemremap.h21 struct vmem_altmap { struct
127 struct vmem_altmap altmap;
147 static inline struct vmem_altmap *pgmap_altmap(struct dev_pagemap *pgmap) in pgmap_altmap()
199 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap);
200 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns);
231 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
236 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
Dmemory_hotplug.h16 struct vmem_altmap;
115 struct vmem_altmap *altmap;
185 extern void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap);
187 struct vmem_altmap *altmap);
343 struct vmem_altmap *altmap, int migratetype);
348 unsigned long nr_pages, struct vmem_altmap *altmap,
352 unsigned long map_offset, struct vmem_altmap *altmap);
Dmm.h2608 struct vmem_altmap *, int migratetype);
3255 unsigned long nr_pages, int nid, struct vmem_altmap *altmap,
3262 struct vmem_altmap *altmap, struct page *reuse);
3264 struct vmem_altmap;
3266 struct vmem_altmap *altmap);
3269 int node, struct vmem_altmap *altmap);
3271 struct vmem_altmap *altmap);
3275 struct vmem_altmap *altmap);
/linux-6.1.9/mm/
Dsparse-vmemmap.c74 struct vmem_altmap *altmap);
78 struct vmem_altmap *altmap) in vmemmap_alloc_block_buf()
91 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn()
97 static unsigned long __meminit vmem_altmap_nr_free(struct vmem_altmap *altmap) in vmem_altmap_nr_free()
107 struct vmem_altmap *altmap) in altmap_alloc_block_buf()
145 struct vmem_altmap *altmap, in vmemmap_pte_populate()
236 struct vmem_altmap *altmap, in vmemmap_populate_address()
267 struct vmem_altmap *altmap, in vmemmap_populate_range()
283 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages()
377 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()
633 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap()
640 struct vmem_altmap *altmap) in depopulate_section_memmap()
705 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, in populate_section_memmap()
713 struct vmem_altmap *altmap) in depopulate_section_memmap()
781 struct vmem_altmap *altmap) in section_deactivate()
829 unsigned long nr_pages, struct vmem_altmap *altmap, in section_activate()
891 unsigned long nr_pages, struct vmem_altmap *altmap, in sparse_add_section()
927 struct vmem_altmap *altmap) in sparse_remove_section()
Dmemory_hotplug.c308 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()
689 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone()
1323 struct vmem_altmap mhp_altmap = {}; in add_memory_resource()
2066 struct vmem_altmap mhp_altmap = {}; in try_remove_memory()
2067 struct vmem_altmap *altmap = NULL; in try_remove_memory()
Dmemremap.c425 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
433 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
Dpage_alloc.c6739 struct vmem_altmap *altmap, int migratetype) in memmap_init_range()
6852 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages()
6895 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dmemory-model.rst105 配的存储中。这种存储用vmem_altmap结构表示,最终通过一长串的函数调用传递给
106 vmemmap_populate()。vmemmap_populate()实现可以使用 `vmem_altmap` 和
/linux-6.1.9/arch/powerpc/mm/
Dinit_64.c186 static bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start, in altmap_cross_boundary()
202 struct vmem_altmap *altmap) in vmemmap_populate()
307 struct vmem_altmap *altmap) in vmemmap_free()
Dmem.c157 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.1.9/arch/x86/mm/
Dinit_64.c997 struct vmem_altmap *altmap) in free_hugepage_table()
1104 bool direct, struct vmem_altmap *altmap) in remove_pmd_table()
1153 struct vmem_altmap *altmap, bool direct) in remove_pud_table()
1187 struct vmem_altmap *altmap, bool direct) in remove_p4d_table()
1220 struct vmem_altmap *altmap) in remove_pagetable()
1242 struct vmem_altmap *altmap) in vmemmap_free()
1259 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
1537 unsigned long end, int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages()
1605 struct vmem_altmap *altmap) in vmemmap_populate()
/linux-6.1.9/arch/arm64/mm/
Dmmu.c866 struct vmem_altmap *altmap) in free_hotplug_page_range()
902 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
923 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
956 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
989 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
1007 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1188 struct vmem_altmap *altmap) in vmemmap_populate()
1238 struct vmem_altmap *altmap) in vmemmap_free()
1571 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.1.9/arch/ia64/mm/
Ddiscontig.c626 struct vmem_altmap *altmap) in vmemmap_populate()
632 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c485 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.1.9/arch/loongarch/mm/
Dinit.c134 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.1.9/arch/s390/mm/
Dinit.c302 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
Dvmem.c508 struct vmem_altmap *altmap) in vmemmap_populate()
522 struct vmem_altmap *altmap) in vmemmap_free()
/linux-6.1.9/Documentation/mm/
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-6.1.9/arch/sh/mm/
Dinit.c417 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.1.9/drivers/nvdimm/
Dpfn_devs.c678 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn()
688 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
/linux-6.1.9/arch/sparc/mm/
Dinit_64.c2583 int node, struct vmem_altmap *altmap) in vmemmap_populate()
2632 struct vmem_altmap *altmap) in vmemmap_free()
/linux-6.1.9/arch/riscv/mm/
Dinit.c1240 struct vmem_altmap *altmap) in vmemmap_populate()