Home
last modified time | relevance | path

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

/linux/arch/s390/mm/
H A Dvmem.c40 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 Dradix.h318 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 Dmemremap.h21 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 Dmm.h4894 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 Dinit.c122 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 Dinit.c1363 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 Dmemory_hotplug.c387 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 Dmm_init.c877 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 Dpgtable.h190 bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start,
/linux/arch/powerpc/mm/
H A Dmem.c161 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap, in arch_remove_memory()
/linux/drivers/base/
H A Dmemory.c782 struct vmem_altmap *altmap, in memory_block_add_nid_early()
852 int nid, struct vmem_altmap *altmap,
/linux/drivers/nvdimm/
H A Dpfn_devs.c675 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn()
685 struct vmem_altmap __altmap = { in __nvdimm_setup_pfn()