| /kernel/linux/linux-6.6/drivers/nvdimm/ |
| H A D | pfn_devs.c | 685 struct vmem_altmap *altmap = &pgmap->altmap; in __nvdimm_setup_pfn() local
|
| /kernel/linux/linux-5.10/arch/x86/mm/ |
| H A D | init_32.c | 821 arch_remove_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap) arch_remove_memory() argument
|
| H A D | init_64.c | 896 free_hugepage_table(struct page *page, struct vmem_altmap *altmap) free_hugepage_table() argument 1031 remove_pmd_table(pmd_t *pmd_start, unsigned long addr, unsigned long end, bool direct, struct vmem_altmap *altmap) remove_pmd_table() argument 1087 remove_pud_table(pud_t *pud_start, unsigned long addr, unsigned long end, struct vmem_altmap *altmap, bool direct) remove_pud_table() argument 1142 remove_p4d_table(p4d_t *p4d_start, unsigned long addr, unsigned long end, struct vmem_altmap *altmap, bool direct) remove_p4d_table() argument 1175 remove_pagetable(unsigned long start, unsigned long end, bool direct, struct vmem_altmap *altmap) remove_pagetable() argument 1197 vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) vmemmap_free() argument 1212 arch_remove_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap) arch_remove_memory() argument 1492 vmemmap_populate_hugepages(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) vmemmap_populate_hugepages() argument 1554 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) vmemmap_populate() argument [all...] |
| /kernel/linux/linux-5.10/arch/riscv/mm/ |
| H A D | init.c | 775 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) vmemmap_populate() argument
|
| /kernel/linux/linux-5.10/arch/ia64/mm/ |
| H A D | init.c | 713 arch_remove_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap) arch_remove_memory() argument
|
| /kernel/linux/linux-5.10/mm/ |
| H A D | sparse.c | 445 __populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap) __populate_section_memmap() argument 651 populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap) populate_section_memmap() argument 657 depopulate_section_memmap(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) depopulate_section_memmap() argument 722 populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap) populate_section_memmap() argument 729 depopulate_section_memmap(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) depopulate_section_memmap() argument 797 section_deactivate(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) section_deactivate() argument 846 section_activate(int nid, unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) section_activate() argument 906 sparse_add_section(int nid, unsigned long start_pfn, unsigned long nr_pages, struct vmem_altmap *altmap) sparse_add_section() argument 967 sparse_remove_section(struct mem_section *ms, unsigned long pfn, unsigned long nr_pages, unsigned long map_offset, struct vmem_altmap *altmap) sparse_remove_section() argument [all...] |
| H A D | memory_hotplug.c | 316 struct vmem_altmap *altmap = params->altmap; in __add_pages() local 510 __remove_section(unsigned long pfn, unsigned long nr_pages, unsigned long map_offset, struct vmem_altmap *altmap) __remove_section() argument 533 __remove_pages(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) __remove_pages() argument 692 move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn, unsigned long nr_pages, struct vmem_altmap *altmap, int migratetype) move_pfn_range_to_zone() argument [all...] |
| H A D | page_alloc.c | 6278 struct vmem_altmap *altmap = pgmap_altmap(pgmap); in memmap_init_zone_device() local 6211 memmap_init_zone(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) memmap_init_zone() argument [all...] |
| /kernel/linux/linux-6.6/mm/ |
| 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) __populate_section_memmap() argument 631 populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) populate_section_memmap() argument 638 depopulate_section_memmap(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) depopulate_section_memmap() argument 703 populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) populate_section_memmap() argument 711 depopulate_section_memmap(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) depopulate_section_memmap() argument 779 section_deactivate(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) section_deactivate() argument 828 section_activate(int nid, unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) section_activate() argument 890 sparse_add_section(int nid, unsigned long start_pfn, unsigned long nr_pages, struct vmem_altmap *altmap, struct dev_pagemap *pgmap) sparse_add_section() argument 925 sparse_remove_section(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) sparse_remove_section() argument [all...] |
| H A D | mm_init.c | 1027 static inline unsigned long compound_nr_pages(struct vmem_altmap *altmap, in compound_nr_pages() argument 1070 struct vmem_altmap *altmap in memmap_init_zone_device() local 848 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) memmap_init_range() argument [all...] |
| H A D | memory_hotplug.c | 376 struct vmem_altmap *altmap = params->altmap; in __add_pages() local 574 __remove_pages(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap) __remove_pages() argument 750 move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn, unsigned long nr_pages, struct vmem_altmap *altmap, int migratetype) move_pfn_range_to_zone() argument 2163 struct vmem_altmap *altmap = NULL; try_remove_memory() local [all...] |
| /kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/ |
| H A D | radix_pgtable.c | 690 free_vmemmap_pages(struct page *page, struct vmem_altmap *altmap, int order) free_vmemmap_pages() argument 722 remove_pte_table(pte_t *pte_start, unsigned long addr, unsigned long end, bool direct, struct vmem_altmap *altmap) remove_pte_table() argument 755 remove_pmd_table(pmd_t *pmd_start, unsigned long addr, unsigned long end, bool direct, struct vmem_altmap *altmap) remove_pmd_table() argument 795 remove_pud_table(pud_t *pud_start, unsigned long addr, unsigned long end, bool direct, struct vmem_altmap *altmap) remove_pud_table() argument 830 remove_pagetable(unsigned long start, unsigned long end, bool direct, struct vmem_altmap *altmap) remove_pagetable() argument 916 vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap) vmemmap_can_optimize() argument 949 radix__vmemmap_pte_populate(pmd_t *pmdp, unsigned long addr, int node, struct vmem_altmap *altmap, struct page *reuse) radix__vmemmap_pte_populate() argument 1048 radix__vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) radix__vmemmap_populate() argument 1134 radix__vmemmap_populate_address(unsigned long addr, int node, struct vmem_altmap *altmap, struct page *reuse) radix__vmemmap_populate_address() argument 1334 radix__vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) radix__vmemmap_free() argument [all...] |
| /kernel/linux/linux-6.6/drivers/base/ |
| H A D | memory.c | 757 add_memory_block(unsigned long block_id, unsigned long state, struct vmem_altmap *altmap, struct memory_group *group) add_memory_block() argument 818 add_hotplug_memory_block(unsigned long block_id, struct vmem_altmap *altmap, struct memory_group *group) add_hotplug_memory_block() argument 849 create_memory_block_devices(unsigned long start, unsigned long size, struct vmem_altmap *altmap, struct memory_group *group) create_memory_block_devices() argument [all...] |
| /kernel/linux/linux-6.6/arch/x86/mm/ |
| H A D | init_64.c | 996 free_hugepage_table(struct page *page, struct vmem_altmap *altmap) free_hugepage_table() argument 1103 remove_pmd_table(pmd_t *pmd_start, unsigned long addr, unsigned long end, bool direct, struct vmem_altmap *altmap) remove_pmd_table() argument 1152 remove_pud_table(pud_t *pud_start, unsigned long addr, unsigned long end, struct vmem_altmap *altmap, bool direct) remove_pud_table() argument 1186 remove_p4d_table(p4d_t *p4d_start, unsigned long addr, unsigned long end, struct vmem_altmap *altmap, bool direct) remove_p4d_table() argument 1219 remove_pagetable(unsigned long start, unsigned long end, bool direct, struct vmem_altmap *altmap) remove_pagetable() argument 1241 vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) vmemmap_free() argument 1259 arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) arch_remove_memory() argument 1535 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) vmemmap_populate() argument [all...] |
| /kernel/linux/linux-5.10/arch/arm64/mm/ |
| H A D | mmu.c | 868 PAGE_SIZE, altmap); in unmap_hotplug_pte_range() local 897 PMD_SIZE, altmap); in unmap_hotplug_pmd_range() local 930 PUD_SIZE, altmap); in unmap_hotplug_pud_range() local 816 free_hotplug_page_range(struct page *page, size_t size, struct vmem_altmap *altmap) free_hotplug_page_range() argument 851 unmap_hotplug_pte_range(pmd_t *pmdp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) unmap_hotplug_pte_range() argument 872 unmap_hotplug_pmd_range(pud_t *pudp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) unmap_hotplug_pmd_range() argument 905 unmap_hotplug_pud_range(p4d_t *p4dp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) unmap_hotplug_pud_range() argument 938 unmap_hotplug_p4d_range(pgd_t *pgdp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) unmap_hotplug_p4d_range() argument 957 unmap_hotplug_range(unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) unmap_hotplug_range() argument 1140 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) vmemmap_populate() argument 1146 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) vmemmap_populate() argument 1187 vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) vmemmap_free() argument 1548 arch_remove_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap) arch_remove_memory() argument [all...] |
| /kernel/linux/linux-6.6/arch/arm64/mm/ |
| H A D | mmu.c | 866 PAGE_SIZE, altmap); in unmap_hotplug_pte_range() local 895 PMD_SIZE, altmap); in unmap_hotplug_pmd_range() local 928 PUD_SIZE, altmap); in unmap_hotplug_pud_range() local 814 free_hotplug_page_range(struct page *page, size_t size, struct vmem_altmap *altmap) free_hotplug_page_range() argument 849 unmap_hotplug_pte_range(pmd_t *pmdp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) unmap_hotplug_pte_range() argument 870 unmap_hotplug_pmd_range(pud_t *pudp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) unmap_hotplug_pmd_range() argument 903 unmap_hotplug_pud_range(p4d_t *p4dp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) unmap_hotplug_pud_range() argument 936 unmap_hotplug_p4d_range(pgd_t *pgdp, unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) unmap_hotplug_p4d_range() argument 955 unmap_hotplug_range(unsigned long addr, unsigned long end, bool free_mapped, struct vmem_altmap *altmap) unmap_hotplug_range() argument 1149 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) vmemmap_populate() argument 1161 vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) vmemmap_free() argument 1335 arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) arch_remove_memory() argument [all...] |
| /kernel/linux/linux-6.6/arch/riscv/mm/ |
| H A D | init.c | 1515 vmemmap_populate(unsigned long start, unsigned long end, int node, struct vmem_altmap *altmap) vmemmap_populate() argument
|
| /kernel/linux/linux-5.10/arch/sparc/mm/ |
| H A D | init_64.c | 2581 vmemmap_populate(unsigned long vstart, unsigned long vend, int node, struct vmem_altmap *altmap) vmemmap_populate() argument 2630 vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) vmemmap_free() argument
|
| /kernel/linux/linux-6.6/arch/sparc/mm/ |
| H A D | init_64.c | 2595 vmemmap_populate(unsigned long vstart, unsigned long vend, int node, struct vmem_altmap *altmap) vmemmap_populate() argument 2644 vmemmap_free(unsigned long start, unsigned long end, struct vmem_altmap *altmap) vmemmap_free() argument
|
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | mm.h | 3818 static inline bool __vmemmap_can_optimize(struct vmem_altmap *altmap, in __vmemmap_can_optimize() argument 3843 static inline bool vmemmap_can_optimize(struct vmem_altmap *altmap, in vmemmap_can_optimize() argument [all...] |