Home
last modified time | relevance | path

Searched refs:vmemmap (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-6.6/include/asm-generic/
H A Dmemory_model.h37 #define __pfn_to_page(pfn) (vmemmap + (pfn))
38 #define __page_to_pfn(page) (unsigned long)((page) - vmemmap)
/kernel/linux/linux-5.10/include/asm-generic/
H A Dmemory_model.h54 #define __pfn_to_page(pfn) (vmemmap + (pfn))
55 #define __page_to_pfn(page) (unsigned long)((page) - vmemmap)
/kernel/linux/linux-5.10/arch/powerpc/mm/
H A Dpgtable_64.c92 struct page *vmemmap; variable
93 EXPORT_SYMBOL(vmemmap); variable
H A Dinit_64.c67 * Given an address within the vmemmap, determine the page that
75 unsigned long offset = vmemmap_addr - ((unsigned long)(vmemmap)); in vmemmap_subsection_start()
83 * Since memory is added in sub-section chunks, before creating a new vmemmap
86 * vmemmap area using 16MB pages which will cover a memory range of 16G. Such
89 * If any subsection in the 16G range mapped by vmemmap is valid we consider the
90 * vmemmap populated (There is a page table entry already present). We can't do
92 * vmemmap details in linux page table.
113 * vmemmap virtual address space management does not have a traditonal page
116 * format. 'vmemmap_list' maintains the entire vmemmap physical mapping at
216 * This vmemmap rang in vmemmap_populate()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/mm/
H A Dpgtable_64.c91 struct page *vmemmap; variable
92 EXPORT_SYMBOL(vmemmap); variable
H A Dinit_64.c69 * Given an address within the vmemmap, determine the page that
77 unsigned long offset = vmemmap_addr - ((unsigned long)(vmemmap)); in vmemmap_subsection_start()
85 * Since memory is added in sub-section chunks, before creating a new vmemmap
88 * vmemmap area using 16MB pages which will cover a memory range of 16G. Such
91 * If any subsection in the 16G range mapped by vmemmap is valid we consider the
92 * vmemmap populated (There is a page table entry already present). We can't do
94 * vmemmap details in linux page table.
115 * vmemmap virtual address space management does not have a traditional page
118 * format. 'vmemmap_list' maintains the entire vmemmap physical mapping at
218 * This vmemmap rang in __vmemmap_populate()
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dsetup.c119 struct page *vmemmap; variable
120 EXPORT_SYMBOL(vmemmap); variable
582 /* Split remaining virtual space between 1:1 mapping & vmemmap array */ in setup_memory_end()
584 /* vmemmap contains a multiple of PAGES_PER_SECTION struct pages */ in setup_memory_end()
589 vmemmap = (struct page *) tmp; in setup_memory_end()
591 /* Take care that memory_end is set and <= vmemmap */ in setup_memory_end()
592 memory_end = min(memory_end ?: max_physmem_end, (unsigned long)vmemmap); in setup_memory_end()
598 /* move vmemmap above kasan shadow only if stands in a way */ in setup_memory_end()
599 if (KASAN_SHADOW_END > (unsigned long)vmemmap && in setup_memory_end()
600 (unsigned long)vmemmap in setup_memory_end()
[all...]
/kernel/linux/linux-5.10/arch/s390/mm/
H A Ddump_pagetables.c49 [VMEMMAP_NR] = {0, "vmemmap Area Start"},
50 [VMEMMAP_END_NR] = {0, "vmemmap Area End"},
261 address_markers[VMEMMAP_NR].start_address = (unsigned long) vmemmap; in pt_dump_init()
262 address_markers[VMEMMAP_END_NR].start_address = (unsigned long)vmemmap + vmemmap_size; in pt_dump_init()
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dmm.py102 self.vmemmap = gdb.Value(self.VMEMMAP_START).cast(utils.get_page_type().pointer()) - (self.memstart_addr >> self.PAGE_SHIFT)
256 return int(page.cast(utils.get_page_type().pointer()) - self.vmemmap.cast(utils.get_page_type().pointer()))
262 return (self.vmemmap + pfn).cast(utils.get_page_type().pointer())
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dpgtable-64.h85 #define vmemmap ((struct page *)((VMALLOC_END + PMD_SIZE) & PMD_MASK)) macro
86 #define VMEMMAP_END ((unsigned long)vmemmap + VMEMMAP_SIZE - 1)
/kernel/linux/linux-6.6/arch/s390/boot/
H A Dstartup.c26 struct page *__bootdata_preserved(vmemmap);
182 /* vmemmap contains a multiple of PAGES_PER_SECTION struct pages */ in setup_kernel_memory_layout()
219 /* split remaining virtual space between 1:1 mapping & vmemmap array */ in setup_kernel_memory_layout()
227 /* make sure identity map doesn't overlay with vmemmap */ in setup_kernel_memory_layout()
230 /* make sure vmemmap doesn't overlay with vmalloc area */ in setup_kernel_memory_layout()
232 vmemmap = (struct page *)vmemmap_start; in setup_kernel_memory_layout()
/kernel/linux/linux-6.6/arch/s390/mm/
H A Ddump_pagetables.c65 [VMEMMAP_NR] = {0, "vmemmap Area Start"},
66 [VMEMMAP_END_NR] = {0, "vmemmap Area End"},
301 address_markers[VMEMMAP_NR].start_address = (unsigned long) vmemmap; in pt_dump_init()
302 address_markers[VMEMMAP_END_NR].start_address = (unsigned long)vmemmap + vmemmap_size; in pt_dump_init()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dpgtable_64.h256 #define vmemmap ((struct page *)VMEMMAP_START) macro
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dpgtable_64.h257 #define vmemmap ((struct page *)VMEMMAP_START) macro
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dpgtable.h103 #define vmemmap ((struct page *)((VMALLOC_END + PMD_SIZE) & PMD_MASK)) macro
104 #define VMEMMAP_END ((unsigned long)vmemmap + VMEMMAP_SIZE - 1)
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A DMakefile48 TEST_GEN_FILES += hugepage-vmemmap
H A Drun_vmtests.sh221 CATEGORY="hugetlb" run_test ./hugepage-vmemmap
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/64/
H A Dpgtable.h80 #define vmemmap ((struct page *)VMEMMAP_BASE) macro
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dpgtable.h48 * Roughly size the vmemmap space to be large enough to fit enough
50 * position vmemmap directly below the VMALLOC region.
59 * Define vmemmap for pfn_to_page & page_to_pfn calls. Needed if kernel
62 #define vmemmap ((struct page *)VMEMMAP_START) macro
/kernel/linux/linux-6.6/arch/powerpc/include/asm/nohash/64/
H A Dpgtable.h67 #define vmemmap ((struct page *)VMEMMAP_BASE) macro
/kernel/linux/linux-5.10/mm/
H A DMakefile80 obj-$(CONFIG_SPARSEMEM_VMEMMAP) += sparse-vmemmap.o
/kernel/linux/linux-6.6/mm/
H A DMakefile81 obj-$(CONFIG_SPARSEMEM_VMEMMAP) += sparse-vmemmap.o
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dsetup.c167 struct page *vmemmap; variable
168 EXPORT_SYMBOL(vmemmap); variable
/kernel/linux/linux-5.10/arch/ia64/include/asm/
H A Dpgtable.h233 # define vmemmap ((struct page *)VMALLOC_END) macro
/kernel/linux/linux-6.6/arch/ia64/include/asm/
H A Dpgtable.h197 # define vmemmap ((struct page *)VMALLOC_END) macro

Completed in 15 milliseconds

12