Searched refs:module_alloc_base (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/arch/arm64/kernel/ |
D | kaslr.c | 22 u64 __ro_after_init module_alloc_base; variable 84 module_alloc_base = (u64)_etext - MODULES_VSIZE; in kaslr_early_init() 85 __flush_dcache_area(&module_alloc_base, sizeof(module_alloc_base)); in kaslr_early_init() 150 module_alloc_base = max((u64)_end + offset - SZ_2G, in kaslr_early_init() 161 module_alloc_base = (u64)_etext + offset - MODULES_VSIZE; in kaslr_early_init() 165 module_alloc_base += (module_range * (seed & ((1 << 21) - 1))) >> 21; in kaslr_early_init() 166 module_alloc_base &= PAGE_MASK; in kaslr_early_init() 168 __flush_dcache_area(&module_alloc_base, sizeof(module_alloc_base)); in kaslr_early_init()
|
D | module.c | 24 u64 module_alloc_end = module_alloc_base + MODULES_VSIZE; in module_alloc() 36 p = __vmalloc_node_range(size, MODULE_ALIGN, module_alloc_base, in module_alloc() 51 p = __vmalloc_node_range(size, MODULE_ALIGN, module_alloc_base, in module_alloc() 52 module_alloc_base + SZ_2G, GFP_KERNEL, in module_alloc()
|
/Linux-v5.4/arch/arm64/include/asm/ |
D | module.h | 36 extern u64 module_alloc_base; 38 #define module_alloc_base ((u64)_etext - MODULES_VSIZE) macro
|