Searched refs:vmemmap_size (Results 1 – 6 of 6) sorted by relevance
/linux/arch/s390/boot/ |
H A D | startup.c | 30 unsigned long __bootdata_preserved(vmemmap_size); 242 unsigned long vmemmap_size, in get_vmem_size() argument 250 round_up(vmemmap_size, rte_size) + in get_vmem_size() 269 vmemmap_size = SECTION_ALIGN_UP(pages) * sizeof(struct page); in setup_kernel_memory_layout() 275 vsize = get_vmem_size(ident_map_size, vmemmap_size, vmalloc_size, _REGION3_SIZE); in setup_kernel_memory_layout() 282 vsize = get_vmem_size(ident_map_size, vmemmap_size, vmalloc_size, _REGION2_SIZE); in setup_kernel_memory_layout() 366 vmemmap_size = SECTION_ALIGN_UP(ident_map_size / PAGE_SIZE) * sizeof(struct page); in setup_kernel_memory_layout() 368 if (vmemmap_start + vmemmap_size > __abs_lowcore) { in setup_kernel_memory_layout() 369 vmemmap_size = SECTION_ALIGN_DOWN(ident_map_size / PAGE_SIZE) * sizeof(struct page); in setup_kernel_memory_layout() 370 ident_map_size = vmemmap_size / sizeof(struct page) * PAGE_SIZE; in setup_kernel_memory_layout()
|
/linux/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/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/arch/s390/mm/ |
H A D | dump_pagetables.c | 302 rc |= add_marker((unsigned long)vmemmap, (unsigned long)vmemmap + vmemmap_size, "vmemmap Area"); in pt_dump_init()
|
/linux/arch/s390/kernel/ |
H A D | setup.c | 174 unsigned long __bootdata_preserved(vmemmap_size);
|
/linux/arch/s390/include/asm/ |
H A D | pgtable.h | 91 extern unsigned long vmemmap_size;
|