Home
last modified time | relevance | path

Searched refs:vmemmap_size (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/arch/x86/mm/
H A Dkaslr.c82 unsigned long vmemmap_size; in kernel_randomize_memory() local
120 vmemmap_size = (kaslr_regions[0].size_tb << (TB_SHIFT - PAGE_SHIFT)) * in kernel_randomize_memory()
122 kaslr_regions[2].size_tb = DIV_ROUND_UP(vmemmap_size, 1UL << TB_SHIFT); in kernel_randomize_memory()
/openbmc/linux/arch/s390/boot/
H A Dstartup.c27 unsigned long __bootdata_preserved(vmemmap_size);
182 vmemmap_size = SECTION_ALIGN_UP(pages) * sizeof(struct page); in setup_kernel_memory_layout()
185 vsize = round_up(ident_map_size, _REGION3_SIZE) + vmemmap_size + in setup_kernel_memory_layout()
228 vmemmap_size = SECTION_ALIGN_UP(ident_map_size / PAGE_SIZE) * sizeof(struct page); in setup_kernel_memory_layout()
230 VMALLOC_START = max(vmemmap_start + vmemmap_size, VMALLOC_START); in setup_kernel_memory_layout()
/openbmc/linux/arch/powerpc/include/asm/
H A Dpgtable.h183 static inline bool arch_supports_memmap_on_memory(unsigned long vmemmap_size) in arch_supports_memmap_on_memory() argument
193 return IS_ALIGNED(vmemmap_size, PMD_SIZE); in arch_supports_memmap_on_memory()
/openbmc/linux/mm/
H A Dmemory_hotplug.c1319 static inline bool arch_supports_memmap_on_memory(unsigned long vmemmap_size) in arch_supports_memmap_on_memory() argument
1326 return IS_ALIGNED(vmemmap_size, PMD_SIZE); in arch_supports_memmap_on_memory()
1332 unsigned long vmemmap_size = memory_block_memmap_size(); in mhp_supports_memmap_on_memory() local
1368 if (!IS_ALIGNED(vmemmap_size, PAGE_SIZE)) in mhp_supports_memmap_on_memory()
1382 return arch_supports_memmap_on_memory(vmemmap_size); in mhp_supports_memmap_on_memory()
/openbmc/linux/arch/s390/mm/
H A Ddump_pagetables.c302 address_markers[VMEMMAP_END_NR].start_address = (unsigned long)vmemmap + vmemmap_size; in pt_dump_init()
/openbmc/linux/arch/s390/kernel/
H A Dsetup.c169 unsigned long vmemmap_size; variable
/openbmc/linux/arch/s390/include/asm/
H A Dpgtable.h91 extern unsigned long __bootdata_preserved(vmemmap_size);