Home
last modified time | relevance | path

Searched defs:altmap (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/kernel/
Dmemremap.c91 struct vmem_altmap *altmap = &pgmap->altmap; in pfn_first() local
175 struct vmem_altmap *altmap = pgmap->altmap_valid ? in devm_memremap_pages() local
288 unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
294 void vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) in vmem_altmap_free()
/Linux-v4.19/mm/
Dsparse.c386 struct vmem_altmap *altmap) in sparse_mem_map_populate()
566 struct vmem_altmap *altmap) in kmalloc_section_memmap()
572 struct vmem_altmap *altmap) in __kfree_section_memmap()
611 struct vmem_altmap *altmap) in kmalloc_section_memmap()
617 struct vmem_altmap *altmap) in __kfree_section_memmap()
665 unsigned long start_pfn, struct vmem_altmap *altmap) in sparse_add_one_section()
742 struct vmem_altmap *altmap) in free_section_usemap()
770 unsigned long map_offset, struct vmem_altmap *altmap) in sparse_remove_one_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 struct vmem_altmap *altmap) in sparse_mem_map_populate()
Dmemory_hotplug.c250 struct vmem_altmap *altmap, bool want_memblock) in __add_section()
274 unsigned long nr_pages, struct vmem_altmap *altmap, in __add_pages()
518 unsigned long map_offset, struct vmem_altmap *altmap) in __remove_section()
552 unsigned long nr_pages, struct vmem_altmap *altmap) in __remove_pages()
782 unsigned long nr_pages, struct vmem_altmap *altmap) in move_pfn_range_to_zone()
Dpage_alloc.c5459 struct vmem_altmap *altmap) in memmap_init_zone()
/Linux-v4.19/include/linux/
Dmemremap.h116 struct vmem_altmap altmap; member
151 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) in vmem_altmap_offset()
156 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free()
Dmemory_hotplug.h122 unsigned long nr_pages, struct vmem_altmap *altmap, in add_pages()
/Linux-v4.19/arch/x86/mm/
Dinit_64.c787 struct vmem_altmap *altmap, bool want_memblock) in add_pages()
801 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
835 struct vmem_altmap *altmap) in free_hugepage_table()
970 bool direct, struct vmem_altmap *altmap) in remove_pmd_table()
1026 struct vmem_altmap *altmap, bool direct) in remove_pud_table()
1081 struct vmem_altmap *altmap, bool direct) in remove_p4d_table()
1114 struct vmem_altmap *altmap) in remove_pagetable()
1136 struct vmem_altmap *altmap) in vmemmap_free()
1151 int __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
1401 unsigned long end, int node, struct vmem_altmap *altmap) in vmemmap_populate_hugepages()
[all …]
Dinit_32.c854 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
864 int arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v4.19/arch/powerpc/mm/
Dinit_64.c181 struct vmem_altmap *altmap) in vmemmap_populate()
254 struct vmem_altmap *altmap) in vmemmap_free()
Dmem.c121 int __meminit arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
143 int __meminit arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v4.19/arch/s390/mm/
Dinit.c225 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
243 int arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
Dvmem.c215 struct vmem_altmap *altmap) in vmemmap_populate()
301 struct vmem_altmap *altmap) in vmemmap_free()
/Linux-v4.19/arch/sh/mm/
Dinit.c422 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
447 int arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v4.19/arch/ia64/mm/
Ddiscontig.c656 struct vmem_altmap *altmap) in vmemmap_populate()
662 struct vmem_altmap *altmap) in vmemmap_free()
Dinit.c649 int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory()
665 int arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory()
/Linux-v4.19/arch/arm64/mm/
Dmmu.c705 struct vmem_altmap *altmap) in vmemmap_populate()
711 struct vmem_altmap *altmap) in vmemmap_populate()
747 struct vmem_altmap *altmap) in vmemmap_free()
/Linux-v4.19/drivers/nvdimm/
Dpfn_devs.c547 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() local
/Linux-v4.19/arch/sparc/mm/
Dinit_64.c2631 int node, struct vmem_altmap *altmap) in vmemmap_populate()
2675 struct vmem_altmap *altmap) in vmemmap_free()