/linux-master/arch/sh/mm/ |
H A D | init.c | 418 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) argument
|
/linux-master/mm/ |
H A D | sparse-vmemmap.c | 91 static unsigned long __meminit vmem_altmap_next_pfn(struct vmem_altmap *altmap) argument 97 static unsigned long __meminit vmem_altmap_nr_free(struct vmem_altmap *altmap) argument 77 vmemmap_alloc_block_buf(unsigned long size, int node, struct vmem_altmap *altmap) argument 106 altmap_alloc_block_buf(unsigned long size, struct vmem_altmap *altmap) argument 144 vmemmap_pte_populate(pmd_t *pmd, unsigned long addr, int node, struct vmem_altmap *altmap, struct page *reuse) argument 245 vmemmap_populate_address(unsigned long addr, int node, struct vmem_altmap *altmap, struct page *reuse) argument 275 vmemmap_populate_range(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap, struct page *reuse) argument 292 vmemmap_populate_basepages(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) argument 309 vmemmap_populate_hugepages(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) argument 452 __populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) argument [all...] |
H A D | sparse.c | 428 __populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) argument 631 populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) argument 638 depopulate_section_memmap(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) argument 703 populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) argument 711 depopulate_section_memmap(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) argument 779 section_deactivate(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) argument 828 section_activate(int nid, unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) argument 890 sparse_add_section(int nid, unsigned long start_pfn, unsigned long nr_pages, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) argument 926 sparse_remove_section(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) argument [all...] |
H A D | memory_hotplug.c | 375 struct vmem_altmap *altmap = params->altmap; local 573 __remove_pages(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) argument 750 move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn, unsigned long nr_pages, struct vmem_altmap *altmap, int migratetype) argument 1401 struct vmem_altmap *altmap = NULL; local [all...] |
H A D | mm_init.c | 1028 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, argument 1071 struct vmem_altmap *altmap local 849 memmap_init_range(unsigned long size, int nid, unsigned long zone, unsigned long start_pfn, unsigned long zone_end_pfn, enum meminit_context context, struct vmem_altmap *altmap, int migratetype) argument [all...] |
/linux-master/arch/loongarch/mm/ |
H A D | init.c | 108 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) argument 162 void vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) argument 151 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) argument
|
/linux-master/arch/powerpc/mm/ |
H A D | mem.c | 158 void __ref arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) argument
|
H A D | init_64.c | 187 bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start, argument 202 __vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) argument 276 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) argument 319 __vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) argument 378 vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) argument [all...] |
/linux-master/arch/s390/mm/ |
H A D | init.c | 296 void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) argument
|
H A D | vmem.c | 36 static void vmem_free_pages(unsigned long addr, int order, struct vmem_altmap *altmap) argument 162 modify_pte_table(pmd_t *pmd, unsigned long addr, unsigned long end, bool add, bool direct, struct vmem_altmap *altmap) argument 220 modify_pmd_table(pud_t *pud, unsigned long addr, unsigned long end, bool add, bool direct, struct vmem_altmap *altmap) argument 315 modify_pud_table(p4d_t *p4d, unsigned long addr, unsigned long end, bool add, bool direct, struct vmem_altmap *altmap) argument 383 modify_p4d_table(pgd_t *pgd, unsigned long addr, unsigned long end, bool add, bool direct, struct vmem_altmap *altmap) argument 428 modify_pagetable(unsigned long start, unsigned long end, bool add, bool direct, struct vmem_altmap *altmap) argument 467 add_pagetable(unsigned long start, unsigned long end, bool direct, struct vmem_altmap *altmap) argument 473 remove_pagetable(unsigned long start, unsigned long end, bool direct, struct vmem_altmap *altmap) argument 500 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) argument 516 vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) argument [all...] |
/linux-master/include/linux/ |
H A D | memory_hotplug.h | 133 struct vmem_altmap *altmap; member in struct:mhp_params
|
H A D | memremap.h | 128 struct vmem_altmap altmap; member in struct:dev_pagemap
|
H A D | memory.h | 80 struct vmem_altmap *altmap; member in struct:memory_block
|
H A D | mm.h | 3897 static inline unsigned long vmem_altmap_offset(struct vmem_altmap *altmap) argument 3905 vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) argument 3911 vmem_altmap_offset(struct vmem_altmap *altmap) argument 3916 vmem_altmap_free(struct vmem_altmap *altmap, unsigned long nr_pfns) argument 3924 __vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap) argument 3949 vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap) argument [all...] |
/linux-master/drivers/nvdimm/ |
H A D | pfn_devs.c | 685 struct vmem_altmap *altmap = &pgmap->altmap; local
|
/linux-master/arch/x86/mm/ |
H A D | init_64.c | 996 free_hugepage_table(struct page *page, struct vmem_altmap *altmap) argument 1103 remove_pmd_table(pmd_t *pmd_start, unsigned long addr, unsigned long end, bool direct, struct vmem_altmap *altmap) argument 1152 remove_pud_table(pud_t *pud_start, unsigned long addr, unsigned long end, struct vmem_altmap *altmap, bool direct) argument 1186 remove_p4d_table(p4d_t *p4d_start, unsigned long addr, unsigned long end, struct vmem_altmap *altmap, bool direct) argument 1219 remove_pagetable(unsigned long start, unsigned long end, bool direct, struct vmem_altmap *altmap) argument 1241 vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) argument 1259 arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) argument 1533 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) argument [all...] |
/linux-master/drivers/base/ |
H A D | memory.c | 778 add_memory_block(unsigned long block_id, unsigned long state, struct vmem_altmap *altmap, struct memory_group *group) argument 839 add_hotplug_memory_block(unsigned long block_id, struct vmem_altmap *altmap, struct memory_group *group) argument 870 create_memory_block_devices(unsigned long start, unsigned long size, struct vmem_altmap *altmap, struct memory_group *group) argument [all...] |
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | radix_pgtable.c | 690 free_vmemmap_pages(struct page *page, struct vmem_altmap *altmap, int order) argument 722 remove_pte_table(pte_t *pte_start, unsigned long addr, unsigned long end, bool direct, struct vmem_altmap *altmap) argument 755 remove_pmd_table(pmd_t *pmd_start, unsigned long addr, unsigned long end, bool direct, struct vmem_altmap *altmap) argument 795 remove_pud_table(pud_t *pud_start, unsigned long addr, unsigned long end, bool direct, struct vmem_altmap *altmap) argument 830 remove_pagetable(unsigned long start, unsigned long end, bool direct, struct vmem_altmap *altmap) argument 916 vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap) argument 949 radix__vmemmap_pte_populate(pmd_t *pmdp, unsigned long addr, int node, struct vmem_altmap *altmap, struct page *reuse) argument 1048 radix__vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) argument 1134 radix__vmemmap_populate_address(unsigned long addr, int node, struct vmem_altmap *altmap, struct page *reuse) argument 1334 radix__vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) argument [all...] |
/linux-master/arch/arm64/mm/ |
H A D | mmu.c | 856 PAGE_SIZE, altmap); local 885 PMD_SIZE, altmap); local 918 PUD_SIZE, altmap); local 804 free_hotplug_page_range(struct page *page, size_t size, struct vmem_altmap *altmap) argument 839 unmap_hotplug_pte_range(pmd_t *pmdp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) argument 860 unmap_hotplug_pmd_range(pud_t *pudp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) argument 893 unmap_hotplug_pud_range(p4d_t *p4dp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) argument 926 unmap_hotplug_p4d_range(pgd_t *pgdp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) argument 945 unmap_hotplug_range(unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) argument 1160 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) argument 1172 vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) argument 1352 arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) argument [all...] |
/linux-master/arch/riscv/mm/ |
H A D | init.c | 1414 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) argument
|
/linux-master/arch/sparc/mm/ |
H A D | init_64.c | 2595 vmemmap_populate(unsigned long vstart, unsigned long vend, int node, struct vmem_altmap *altmap) argument 2644 vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) argument
|