Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A 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()
A 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);
A Dmm.h2871 struct vmem_altmap *, int migratetype);
3398 unsigned long nr_pages, int nid, struct vmem_altmap *altmap,
3407 struct vmem_altmap *altmap, struct page *reuse);
3409 struct vmem_altmap;
3411 struct vmem_altmap *altmap);
3418 int node, struct vmem_altmap *altmap);
3420 int node, struct vmem_altmap *altmap);
3422 struct vmem_altmap *altmap);
3426 struct vmem_altmap *altmap);
/linux-6.3-rc2/mm/
A 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()
246 struct vmem_altmap *altmap, in vmemmap_populate_address()
277 struct vmem_altmap *altmap, in vmemmap_populate_range()
293 int node, struct vmem_altmap *altmap) in vmemmap_populate_basepages()
310 int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages()
[all …]
A 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()
A 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()
2064 struct vmem_altmap mhp_altmap = {}; in try_remove_memory()
2065 struct vmem_altmap *altmap = NULL; in try_remove_memory()
A 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()
A Dpage_alloc.c6775 struct vmem_altmap *altmap, int migratetype) in memmap_init_range()
6890 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages()
6931 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
/linux-6.3-rc2/arch/loongarch/mm/
A Dinit.c134 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
178 int node, struct vmem_altmap *altmap) in vmemmap_populate()
188 void vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
/linux-6.3-rc2/Documentation/translations/zh_CN/mm/
A Dmemory-model.rst105 配的存储中。这种存储用vmem_altmap结构表示,最终通过一长串的函数调用传递给
106 vmemmap_populate()。vmemmap_populate()实现可以使用 `vmem_altmap` 和
/linux-6.3-rc2/arch/powerpc/mm/
A 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()
A Dmem.c157 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.3-rc2/arch/arm64/mm/
A Dmmu.c823 struct vmem_altmap *altmap) in free_hotplug_page_range()
859 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
880 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
913 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
946 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
964 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1158 struct vmem_altmap *altmap) in vmemmap_populate()
1170 struct vmem_altmap *altmap) in vmemmap_free()
1503 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.3-rc2/arch/x86/mm/
A 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()
1536 struct vmem_altmap *altmap) in vmemmap_populate()
/linux-6.3-rc2/arch/ia64/mm/
A Ddiscontig.c626 struct vmem_altmap *altmap) in vmemmap_populate()
632 struct vmem_altmap *altmap) in vmemmap_free()
A Dinit.c485 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.3-rc2/arch/s390/mm/
A Dinit.c306 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
A Dvmem.c498 struct vmem_altmap *altmap) in vmemmap_populate()
512 struct vmem_altmap *altmap) in vmemmap_free()
/linux-6.3-rc2/Documentation/mm/
A Dmemory-model.rst131 devices. This storage is represented with struct vmem_altmap
134 `vmem_altmap` along with :c:func:`vmemmap_alloc_block_buf` helper to
/linux-6.3-rc2/arch/sh/mm/
A Dinit.c418 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/linux-6.3-rc2/drivers/nvdimm/
A Dpfn_devs.c680 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn()
690 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
/linux-6.3-rc2/arch/riscv/mm/
A Dinit.c1241 struct vmem_altmap *altmap) in vmemmap_populate()
/linux-6.3-rc2/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 75 milliseconds