Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dmemremap.h18 struct vmem_altmap { struct
108 struct vmem_altmap altmap;
118 static inline struct vmem_altmap *pgmap_altmap(struct dev_pagemap *pgmap) in pgmap_altmap()
133 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap);
134 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns);
159 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
164 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
Dmemory_hotplug.h16 struct vmem_altmap;
63 struct vmem_altmap *altmap;
127 struct vmem_altmap *altmap);
129 unsigned long nr_pages, struct vmem_altmap *altmap);
347 unsigned long nr_pages, struct vmem_altmap *altmap);
350 unsigned long nr_pages, struct vmem_altmap *altmap);
353 unsigned long map_offset, struct vmem_altmap *altmap);
Dmm.h2199 enum memmap_context, struct vmem_altmap *);
2746 unsigned long nr_pages, int nid, struct vmem_altmap *altmap);
2753 struct vmem_altmap;
2755 void *altmap_alloc_block_buf(unsigned long size, struct vmem_altmap *altmap);
2760 struct vmem_altmap *altmap);
2764 struct vmem_altmap *altmap);
/Linux-v5.4/mm/
Dsparse.c452 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()
673 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in populate_section_memmap()
695 struct vmem_altmap *altmap) in depopulate_section_memmap()
738 struct vmem_altmap *altmap) in section_deactivate()
793 unsigned long nr_pages, struct vmem_altmap *altmap) in section_activate()
861 unsigned long nr_pages, struct vmem_altmap *altmap) in sparse_add_section()
923 struct vmem_altmap *altmap) in sparse_remove_section()
Dsparse-vmemmap.c83 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) in vmem_altmap_next_pfn()
89 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()
249 unsigned long nr_pages, int nid, struct vmem_altmap *altmap) in __populate_section_memmap()
Dmemremap.c366 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
374 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
Dmemory_hotplug.c292 struct vmem_altmap *altmap = restrictions->altmap; in __add_pages()
492 struct vmem_altmap *altmap) in __remove_section()
516 unsigned long nr_pages, struct vmem_altmap *altmap) in __remove_pages()
698 unsigned long nr_pages, struct vmem_altmap *altmap) in move_pfn_range_to_zone()
Dpage_alloc.c5881 struct vmem_altmap *altmap) in memmap_init_zone()
5955 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
/Linux-v5.4/arch/powerpc/mm/
Dinit_64.c175 static bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start, in altmap_cross_boundary()
191 struct vmem_altmap *altmap) in vmemmap_populate()
272 struct vmem_altmap *altmap) in vmemmap_free()
Dmem.c129 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.4/arch/x86/mm/
Dinit_64.c895 struct vmem_altmap *altmap) in free_hugepage_table()
1030 bool direct, struct vmem_altmap *altmap) in remove_pmd_table()
1086 struct vmem_altmap *altmap, bool direct) in remove_pud_table()
1141 struct vmem_altmap *altmap, bool direct) in remove_p4d_table()
1174 struct vmem_altmap *altmap) in remove_pagetable()
1196 struct vmem_altmap *altmap) in vmemmap_free()
1211 struct vmem_altmap *altmap) in arch_remove_memory()
1452 unsigned long end, int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages()
1517 struct vmem_altmap *altmap) in vmemmap_populate()
Dinit_32.c864 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.4/arch/s390/mm/
Dvmem.c214 struct vmem_altmap *altmap) in vmemmap_populate()
300 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c290 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.4/arch/arm64/mm/
Dmmu.c731 struct vmem_altmap *altmap) in vmemmap_populate()
737 struct vmem_altmap *altmap) in vmemmap_populate()
773 struct vmem_altmap *altmap) in vmemmap_free()
1068 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.4/arch/ia64/mm/
Ddiscontig.c657 struct vmem_altmap *altmap) in vmemmap_populate()
663 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c688 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.4/arch/sh/mm/
Dinit.c433 struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v5.4/drivers/nvdimm/
Dpfn_devs.c666 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn()
676 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
/Linux-v5.4/Documentation/vm/
Dmemory-model.rst179 devices. This storage is represented with :c:type:`struct vmem_altmap`
182 `vmem_altmap` along with :c:func:`altmap_alloc_block_buf` helper to
/Linux-v5.4/arch/riscv/mm/
Dinit.c464 struct vmem_altmap *altmap) in vmemmap_populate()
/Linux-v5.4/arch/sparc/mm/
Dinit_64.c2597 int node, struct vmem_altmap *altmap) in vmemmap_populate()
2641 struct vmem_altmap *altmap) in vmemmap_free()