Searched refs:vmemmap_size (Results 1 – 6 of 6) sorted by relevance
| /linux/arch/s390/boot/ |
| H A D | startup.c | 37 unsigned long __bootdata_preserved(vmemmap_size); 306 unsigned long vmemmap_size, in get_vmem_size() argument 314 round_up(vmemmap_size, rte_size) + in get_vmem_size() 333 vmemmap_size = SECTION_ALIGN_UP(pages) * sizeof(struct page); in setup_kernel_memory_layout() 340 vsize = get_vmem_size(ident_map_size, vmemmap_size, vmalloc_size, _REGION3_SIZE); in setup_kernel_memory_layout() 347 vsize = get_vmem_size(ident_map_size, vmemmap_size, vmalloc_size, _REGION2_SIZE); in setup_kernel_memory_layout() 431 vmemmap_size = SECTION_ALIGN_UP(ident_map_size / PAGE_SIZE) * sizeof(struct page); in setup_kernel_memory_layout() 433 if (vmemmap_start + vmemmap_size > __abs_lowcore) { in setup_kernel_memory_layout() 434 vmemmap_size = SECTION_ALIGN_DOWN(ident_map_size / PAGE_SIZE) * sizeof(struct page); in setup_kernel_memory_layout() 435 ident_map_size = vmemmap_size / sizeof(struct page) * PAGE_SIZE; in setup_kernel_memory_layout()
|
| /linux/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/arch/powerpc/include/asm/ |
| H A D | pgtable.h | 199 static inline bool arch_supports_memmap_on_memory(unsigned long vmemmap_size) in arch_supports_memmap_on_memory() argument 209 return IS_ALIGNED(vmemmap_size, PMD_SIZE); in arch_supports_memmap_on_memory()
|
| /linux/mm/ |
| H A D | memory_hotplug.c | 1344 static inline bool arch_supports_memmap_on_memory(unsigned long vmemmap_size) in arch_supports_memmap_on_memory() argument 1351 return IS_ALIGNED(vmemmap_size, PMD_SIZE); in arch_supports_memmap_on_memory() 1357 unsigned long vmemmap_size = memory_block_memmap_size(); in mhp_supports_memmap_on_memory() local 1387 if (!IS_ALIGNED(vmemmap_size, PAGE_SIZE)) in mhp_supports_memmap_on_memory() 1401 return arch_supports_memmap_on_memory(vmemmap_size); in mhp_supports_memmap_on_memory()
|
| /linux/arch/s390/mm/ |
| H A D | dump_pagetables.c | 339 rc |= add_marker((unsigned long)vmemmap, (unsigned long)vmemmap + vmemmap_size, "vmemmap Area"); in pt_dump_init()
|
| /linux/arch/s390/include/asm/ |
| H A D | pgtable.h | 94 extern unsigned long vmemmap_size;
|