Symbol: random_offset
arch/loongarch/kernel/relocate.c
209
unsigned long random_offset;
arch/loongarch/kernel/relocate.c
21
#define RELOCATED_KASLR(x) ((void *)((long)x + random_offset))
arch/loongarch/kernel/relocate.c
217
random_offset = get_random_boot() << 16;
arch/loongarch/kernel/relocate.c
218
random_offset &= (CONFIG_RANDOMIZE_BASE_MAX_OFFSET - 1);
arch/loongarch/kernel/relocate.c
219
if (random_offset < kernel_length)
arch/loongarch/kernel/relocate.c
220
random_offset += ALIGN(kernel_length, 0xffff);
arch/loongarch/kernel/relocate.c
275
static inline void __init update_reloc_offset(unsigned long *addr, long random_offset)
arch/loongarch/kernel/relocate.c
285
unsigned long random_offset = 0;
arch/loongarch/kernel/relocate.c
296
random_offset = (unsigned long)location_new - (unsigned long)(_text);
arch/loongarch/kernel/relocate.c
301
if (random_offset) {
arch/loongarch/kernel/relocate.c
313
reloc_offset += random_offset;
arch/loongarch/kernel/relocate.c
318
update_reloc_offset(&reloc_offset, random_offset);
arch/loongarch/kernel/relocate.c
324
relocate_absolute(random_offset);
arch/loongarch/kernel/relocate.c
326
return random_offset;
arch/loongarch/kernel/relocate.c
61
static inline void __init relocate_absolute(long random_offset)
drivers/firmware/efi/libstub/loongarch.c
28
unsigned int random_offset = 0;
drivers/firmware/efi/libstub/loongarch.c
32
efi_get_random_bytes(sizeof(random_offset), (u8 *)&random_offset);
drivers/firmware/efi/libstub/loongarch.c
33
random_offset ^= (random_get_entropy() << 16);
drivers/firmware/efi/libstub/loongarch.c
34
random_offset &= (CONFIG_RANDOMIZE_BASE_MAX_OFFSET - 1);
drivers/firmware/efi/libstub/loongarch.c
35
random_offset = ALIGN(random_offset + SZ_64K, SZ_64K);
drivers/firmware/efi/libstub/loongarch.c
39
return PHYSADDR(VMLINUX_LOAD_ADDRESS) + random_offset;
drivers/gpu/drm/i915/i915_gem_gtt.c
274
offset = random_offset(start, end,