Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H 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()
H A Dmemory_hotplug.h16 struct vmem_altmap;
80 struct vmem_altmap *altmap;
146 struct vmem_altmap *altmap);
148 struct vmem_altmap *altmap);
352 struct vmem_altmap *altmap, int migratetype);
358 unsigned long nr_pages, struct vmem_altmap *altmap);
361 unsigned long map_offset, struct vmem_altmap *altmap);
H A Dmm.h2607 struct vmem_altmap *, int migratetype);
3211 unsigned long nr_pages, int nid, struct vmem_altmap *altmap);
3217 struct vmem_altmap *altmap);
3219 struct vmem_altmap;
3221 struct vmem_altmap *altmap);
3224 int node, struct vmem_altmap *altmap);
3226 struct vmem_altmap *altmap);
3230 struct vmem_altmap *altmap);
/OK3568_Linux_fs/kernel/mm/
H A 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()
H A Dsparse.c446 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
652 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap()
658 struct vmem_altmap *altmap) in depopulate_section_memmap()
723 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap()
730 struct vmem_altmap *altmap) in depopulate_section_memmap()
798 struct vmem_altmap *altmap) in section_deactivate()
846 unsigned long nr_pages, struct vmem_altmap *altmap) in section_activate()
906 unsigned long nr_pages, struct vmem_altmap *altmap) in sparse_add_section()
968 struct vmem_altmap *altmap) in sparse_remove_section()
H A Dmemremap.c449 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
457 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
H A 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()
692 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone()
H A Dpage_alloc.c6298 struct vmem_altmap *altmap, int migratetype) in memmap_init_zone()
6367 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/
H 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()
H A Dmem.c145 struct vmem_altmap *altmap) in arch_remove_memory()
/OK3568_Linux_fs/kernel/arch/arm64/mm/
H A Dmmu.c818 struct vmem_altmap *altmap) in free_hotplug_page_range()
854 struct vmem_altmap *altmap) in unmap_hotplug_pte_range()
875 struct vmem_altmap *altmap) in unmap_hotplug_pmd_range()
908 struct vmem_altmap *altmap) in unmap_hotplug_pud_range()
941 struct vmem_altmap *altmap) in unmap_hotplug_p4d_range()
959 bool free_mapped, struct vmem_altmap *altmap) in unmap_hotplug_range()
1142 struct vmem_altmap *altmap) in vmemmap_populate()
1148 struct vmem_altmap *altmap) in vmemmap_populate()
1192 struct vmem_altmap *altmap) in vmemmap_free()
1558 struct vmem_altmap *altmap) in arch_remove_memory()
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A 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()
H A Dinit_32.c822 struct vmem_altmap *altmap) in arch_remove_memory()
/OK3568_Linux_fs/kernel/arch/ia64/mm/
H A Ddiscontig.c655 struct vmem_altmap *altmap) in vmemmap_populate()
661 struct vmem_altmap *altmap) in vmemmap_free()
H A Dinit.c714 struct vmem_altmap *altmap) in arch_remove_memory()
/OK3568_Linux_fs/kernel/arch/s390/mm/
H A Dvmem.c507 struct vmem_altmap *altmap) in vmemmap_populate()
521 struct vmem_altmap *altmap) in vmemmap_free()
H A Dinit.c305 struct vmem_altmap *altmap) in arch_remove_memory()
/OK3568_Linux_fs/kernel/arch/sh/mm/
H A Dinit.c427 struct vmem_altmap *altmap) in arch_remove_memory()
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Dmemory-model.rst174 devices. This storage is represented with struct vmem_altmap
177 `vmem_altmap` along with :c:func:`vmemmap_alloc_block_buf` helper to
/OK3568_Linux_fs/kernel/drivers/nvdimm/
H A Dpfn_devs.c676 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn()
686 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
/OK3568_Linux_fs/kernel/arch/riscv/mm/
H A Dinit.c683 struct vmem_altmap *altmap) in vmemmap_populate()
/OK3568_Linux_fs/kernel/arch/sparc/mm/
H A Dinit_64.c2582 int node, struct vmem_altmap *altmap) in vmemmap_populate()
2631 struct vmem_altmap *altmap) in vmemmap_free()