Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/mm/
A Dkaslr.c50 unsigned long size_tb; member
60 return (region->size_tb << TB_SHIFT); in get_padding()
88 kaslr_regions[0].size_tb = 1 << (MAX_PHYSMEM_BITS - TB_SHIFT); in kernel_randomize_memory()
89 kaslr_regions[1].size_tb = VMALLOC_SIZE_TB; in kernel_randomize_memory()
100 if (memory_tb < kaslr_regions[0].size_tb) in kernel_randomize_memory()
101 kaslr_regions[0].size_tb = memory_tb; in kernel_randomize_memory()
107 vmemmap_size = (kaslr_regions[0].size_tb << (TB_SHIFT - PAGE_SHIFT)) * in kernel_randomize_memory()
109 kaslr_regions[2].size_tb = DIV_ROUND_UP(vmemmap_size, 1UL << TB_SHIFT); in kernel_randomize_memory()

Completed in 4 milliseconds