Searched refs:kaslr_regions (Results 1 – 1 of 1) sorted by relevance
51 } kaslr_regions[] = { variable89 kaslr_regions[1].size_tb = VMALLOC_SIZE_TB; in kernel_randomize_memory()95 BUG_ON(kaslr_regions[0].base != &page_offset_base); 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()113 for (i = 0; i < ARRAY_SIZE(kaslr_regions); i++) in kernel_randomize_memory()114 remain_entropy -= get_padding(&kaslr_regions[i]); in kernel_randomize_memory()118 for (i = 0; i < ARRAY_SIZE(kaslr_regions); i++) { in kernel_randomize_memory()125 entropy = remain_entropy / (ARRAY_SIZE(kaslr_regions) - i); in kernel_randomize_memory()129 *kaslr_regions[i].base = vaddr; in kernel_randomize_memory()[all …]
Completed in 3 milliseconds