| /linux/arch/s390/mm/ |
| H A D | vmem.c | 40 static void vmem_free_pages(unsigned long addr, int order, struct vmem_altmap *altmap) 169 struct vmem_altmap *altmap) in modify_pte_table() 225 struct vmem_altmap *altmap) in modify_pmd_table() 318 bool add, bool direct, struct vmem_altmap *altmap) in modify_pud_table() 389 bool add, bool direct, struct vmem_altmap *altmap) in modify_p4d_table() 435 bool direct, struct vmem_altmap *altmap) in modify_pagetable() 481 struct vmem_altmap *altmap) in remove_pagetable() 487 struct vmem_altmap *altmap) 514 struct vmem_altmap *altmap) in vmemmap_populate() 530 struct vmem_altmap *altma in vmemmap_free() [all...] |
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | radix.h | 318 struct vmem_altmap; 324 int node, struct vmem_altmap *altmap); 326 struct vmem_altmap *altmap); 357 bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap);
|
| /linux/include/linux/ |
| H A D | memremap.h | 21 struct vmem_altmap { struct 134 struct vmem_altmap altmap; 154 static inline struct vmem_altmap *pgmap_altmap(struct dev_pagemap *pgmap) in pgmap_altmap()
|
| H A D | mm.h | 4894 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, 4897 struct vmem_altmap; in vmem_altmap_offset() 4899 struct vmem_altmap *altmap); in vmem_altmap_offset() 4906 int node, struct vmem_altmap *altmap); in vmem_altmap_free() 4908 int node, struct vmem_altmap *altmap); in vmem_altmap_free() 4910 struct vmem_altmap *altmap); 4919 struct vmem_altmap *altmap); in vmem_altmap_free() 4923 static inline unsigned long vmem_altmap_offset(const struct vmem_altmap *altmap) 4931 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in __vmemmap_can_optimize() 4937 static inline unsigned long vmem_altmap_offset(const struct vmem_altmap *altma in __vmemmap_can_optimize() [all...] |
| /linux/arch/loongarch/mm/ |
| H A D | init.c | 122 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap, in arch_remove_memory() 144 int node, struct vmem_altmap *altmap) in vmemmap_check_pmd() 154 void vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_populate()
|
| /linux/arch/riscv/mm/ |
| H A D | init.c | 1363 struct vmem_altmap *altmap) in vmemmap_set_pmd() 1541 struct vmem_altmap *altmap) in free_pud_table() 1562 bool is_vmemmap, struct vmem_altmap *altmap) in free_vmemmap_storage() 1584 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pte_mapping() 1611 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pmd_mapping() 1642 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pud_mapping() 1673 struct vmem_altmap *altmap) in remove_p4d_mapping() 1732 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap, in arch_add_memory() 1740 void __ref vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in arch_add_memory()
|
| /linux/mm/ |
| H A D | memory_hotplug.c | 387 struct vmem_altmap *altmap = params->altmap; in __add_pages() 587 struct vmem_altmap *altmap, struct dev_pagemap *pgmap) in __remove_pages() 743 struct vmem_altmap *altmap, int migratetype, in move_pfn_range_to_zone() 1406 static void altmap_free(struct vmem_altmap *altmap) in remove_memory_blocks_and_altmaps() 1423 struct vmem_altmap *altmap = NULL; in remove_memory_blocks_and_altmaps() 1451 struct vmem_altmap mhp_altmap = { in create_altmaps_and_memory_blocks() 1457 params.altmap = kmemdup(&mhp_altmap, sizeof(struct vmem_altmap), in create_altmaps_and_memory_blocks()
|
| H A D | mm_init.c | 877 struct vmem_altmap *altmap, int migratetype, in memmap_init_range() 1063 struct vmem_altmap *altmap, in compound_nr_pages() 1111 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | pgtable.h | 190 bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start,
|
| /linux/arch/powerpc/mm/ |
| H A D | mem.c | 161 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap, in arch_remove_memory()
|
| /linux/drivers/base/ |
| H A D | memory.c | 782 struct vmem_altmap *altmap, in memory_block_add_nid_early() 852 int nid, struct vmem_altmap *altmap,
|
| /linux/drivers/nvdimm/ |
| H A D | pfn_devs.c | 675 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() 685 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()
|