Searched refs:vmem_altmap (Results 1 – 11 of 11) sorted by relevance
| /linux/arch/s390/mm/ |
| H A D | vmem.c | 41 static void vmem_free_pages(unsigned long addr, int order, struct vmem_altmap *altmap) in vmem_free_pages() 170 struct vmem_altmap *altmap) in modify_pte_table() 225 struct vmem_altmap *altmap) in modify_pmd_table() 316 bool add, bool direct, struct vmem_altmap *altmap) in modify_pud_table() 386 bool add, bool direct, struct vmem_altmap *altmap) in modify_p4d_table() 431 bool direct, struct vmem_altmap *altmap) in modify_pagetable() 476 struct vmem_altmap *altmap) in add_pagetable() 482 struct vmem_altmap *altmap) in remove_pagetable() 509 struct vmem_altmap *altmap) in vmemmap_populate() 525 struct vmem_altmap *altmap) in vmemmap_free()
|
| /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 | 4861 unsigned long nr_pages, int nid, struct vmem_altmap *altmap, 4868 struct vmem_altmap *altmap, unsigned long ptpfn, 4871 struct vmem_altmap; 4873 struct vmem_altmap *altmap); 4880 int node, struct vmem_altmap *altmap); 4882 int node, struct vmem_altmap *altmap); 4884 struct vmem_altmap *altmap); 4893 struct vmem_altmap *altmap); 4897 static inline unsigned long vmem_altmap_offset(const struct vmem_altmap *altmap) in vmem_altmap_offset() 4905 static inline void vmem_altmap_free(struct vmem_altmap *altmap, in vmem_altmap_free() [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() 158 int node, struct vmem_altmap *altmap) in vmemmap_populate() 168 void vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
|
| /linux/arch/riscv/mm/ |
| H A D | init.c | 1351 struct vmem_altmap *altmap) in vmemmap_populate() 1529 struct vmem_altmap *altmap) in free_vmemmap_storage() 1550 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pte_mapping() 1572 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pmd_mapping() 1599 bool is_vmemmap, struct vmem_altmap *altmap) in remove_pud_mapping() 1630 bool is_vmemmap, struct vmem_altmap *altmap) in remove_p4d_mapping() 1661 struct vmem_altmap *altmap) in remove_pgd_mapping() 1720 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) in arch_remove_memory() 1727 void __ref vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) in vmemmap_free()
|
| /linux/mm/ |
| H A D | memory_hotplug.c | 387 struct vmem_altmap *altmap = params->altmap; in __add_pages() 586 struct vmem_altmap *altmap) in __remove_pages() 742 struct vmem_altmap *altmap, int migratetype, in move_pfn_range_to_zone() 1416 struct vmem_altmap *altmap = NULL; in remove_memory_blocks_and_altmaps() 1447 struct vmem_altmap mhp_altmap = { in create_altmaps_and_memory_blocks() 1453 params.altmap = kmemdup(&mhp_altmap, sizeof(struct vmem_altmap), in create_altmaps_and_memory_blocks()
|
| H A D | mm_init.c | 861 struct vmem_altmap *altmap, int migratetype, in memmap_init_range() 1059 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages() 1101 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/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()
|