Searched refs:vmemmap_size (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/arch/s390/boot/ |
| H A D | startup.c | 33 unsigned long __bootdata_preserved(vmemmap_size); 295 unsigned long vmemmap_size, in get_vmem_size() argument 303 round_up(vmemmap_size, rte_size) + in get_vmem_size() 322 vmemmap_size = SECTION_ALIGN_UP(pages) * sizeof(struct page); in setup_kernel_memory_layout() 328 vsize = get_vmem_size(ident_map_size, vmemmap_size, vmalloc_size, _REGION3_SIZE); in setup_kernel_memory_layout() 335 vsize = get_vmem_size(ident_map_size, vmemmap_size, vmalloc_size, _REGION2_SIZE); in setup_kernel_memory_layout() 419 vmemmap_size = SECTION_ALIGN_UP(ident_map_size / PAGE_SIZE) * sizeof(struct page); in setup_kernel_memory_layout() 421 if (vmemmap_start + vmemmap_size > __abs_lowcore) { in setup_kernel_memory_layout() 422 vmemmap_size = SECTION_ALIGN_DOWN(ident_map_size / PAGE_SIZE) * sizeof(struct page); in setup_kernel_memory_layout() 423 ident_map_size = vmemmap_size / sizeof(struct page) * PAGE_SIZE; in setup_kernel_memory_layout()
|
| /linux-6.15/arch/x86/mm/ |
| H A D | kaslr.c | 86 unsigned long vmemmap_size; in kernel_randomize_memory() local 130 vmemmap_size = (kaslr_regions[0].size_tb << (TB_SHIFT - PAGE_SHIFT)) * in kernel_randomize_memory() 132 kaslr_regions[2].size_tb = DIV_ROUND_UP(vmemmap_size, 1UL << TB_SHIFT); in kernel_randomize_memory()
|
| /linux-6.15/arch/powerpc/include/asm/ |
| H A D | pgtable.h | 202 static inline bool arch_supports_memmap_on_memory(unsigned long vmemmap_size) in arch_supports_memmap_on_memory() argument 212 return IS_ALIGNED(vmemmap_size, PMD_SIZE); in arch_supports_memmap_on_memory()
|
| /linux-6.15/mm/ |
| H A D | memory_hotplug.c | 1355 static inline bool arch_supports_memmap_on_memory(unsigned long vmemmap_size) in arch_supports_memmap_on_memory() argument 1362 return IS_ALIGNED(vmemmap_size, PMD_SIZE); in arch_supports_memmap_on_memory() 1368 unsigned long vmemmap_size = memory_block_memmap_size(); in mhp_supports_memmap_on_memory() local 1398 if (!IS_ALIGNED(vmemmap_size, PAGE_SIZE)) in mhp_supports_memmap_on_memory() 1412 return arch_supports_memmap_on_memory(vmemmap_size); in mhp_supports_memmap_on_memory()
|
| /linux-6.15/arch/s390/mm/ |
| H A D | dump_pagetables.c | 304 rc |= add_marker((unsigned long)vmemmap, (unsigned long)vmemmap + vmemmap_size, "vmemmap Area"); in pt_dump_init()
|
| /linux-6.15/arch/s390/kernel/ |
| H A D | setup.c | 175 unsigned long __bootdata_preserved(vmemmap_size);
|
| /linux-6.15/arch/s390/include/asm/ |
| H A D | pgtable.h | 92 extern unsigned long vmemmap_size;
|