Home
last modified time | relevance | path

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

/linux/arch/mips/kernel/
H A Drelocate.c27 #define RELOCATED(x) ((void *)((long)x + offset)) macro
164 loc_new = RELOCATED(loc_orig); in do_relocations()
183 etable_start = RELOCATED(&__start___ex_table); in relocate_exception_table()
184 etable_end = RELOCATED(&__stop___ex_table); in relocate_exception_table()
281 return RELOCATED(dest); in determine_relocation_address()
312 unsigned long *new_addr = (unsigned long *)RELOCATED(addr); in update_kaslr_offset()
373 if (fdt_phys >= virt_to_phys(RELOCATED(&_text)) && in relocate_kernel()
374 fdt_phys <= virt_to_phys(RELOCATED(&_end))) { in relocate_kernel()
376 RELOCATED(ALIGN((long)&_end, PAGE_SIZE)); in relocate_kernel()
379 fdt_relocated_ = RELOCATED(&plat_fdt_relocated); in relocate_kernel()
[all …]
/linux/arch/loongarch/kernel/
H A Drelocate.c20 #define RELOCATED(x) ((void *)((long)x + reloc_offset)) macro
38 relocated_addr = (Elf64_Addr)RELOCATED(relocated_addr); in relocate_relative()
39 *(Elf64_Addr *)RELOCATED(addr) = relocated_addr; in relocate_relative()