Searched refs:reloc_offset (Results 1 – 18 of 18) sorted by relevance
/Linux-v6.6/arch/loongarch/kernel/ |
D | relocate.c | 19 #define RELOCATED(x) ((void *)((long)x + reloc_offset)) 22 static unsigned long reloc_offset; variable 157 *new_addr = (unsigned long)reloc_offset; in update_reloc_offset() 176 reloc_offset = (unsigned long)_text - VMLINUX_LOAD_ADDRESS; in relocate_kernel() 190 reloc_offset += random_offset; in relocate_kernel() 195 update_reloc_offset(&reloc_offset, random_offset); in relocate_kernel() 198 if (reloc_offset) in relocate_kernel() 211 if (reloc_offset > 0) { in show_kernel_relocation() 213 pr_cont("Kernel relocated by 0x%lx\n", reloc_offset); in show_kernel_relocation()
|
/Linux-v6.6/arch/x86/boot/tools/ |
D | build.c | 201 u32 reloc_offset = size - PECOFF_RELOC_RESERVE - PECOFF_COMPAT_RESERVE; in update_pecoff_setup_and_reloc() local 203 u32 compat_offset = reloc_offset + PECOFF_RELOC_RESERVE; in update_pecoff_setup_and_reloc() 205 u32 setup_size = reloc_offset - setup_offset; in update_pecoff_setup_and_reloc() 208 update_pecoff_section_header(".reloc", reloc_offset, PECOFF_RELOC_RESERVE); in update_pecoff_setup_and_reloc() 214 put_unaligned_le32(reloc_offset + 10, &buf[reloc_offset]); in update_pecoff_setup_and_reloc() 215 put_unaligned_le32(10, &buf[reloc_offset + 4]); in update_pecoff_setup_and_reloc()
|
/Linux-v6.6/arch/arm64/kvm/hyp/nvhe/ |
D | gen-hyprel.c | 329 static size_t reloc_offset; in emit_rela_abs64() local 341 reloc_offset, HYP_SECTION_SYMBOL_PREFIX, sh_orig_name, in emit_rela_abs64() 344 reloc_offset += 4; in emit_rela_abs64()
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | misc.S | 28 _GLOBAL(reloc_offset) 39 _ASM_NOKPROBE_SYMBOL(reloc_offset)
|
D | early_32.c | 21 unsigned long kva, offset = reloc_offset(); in early_init()
|
D | head_book3s_32.S | 157 bl reloc_offset 172 bl reloc_offset 175 bl reloc_offset 186 bl reloc_offset 1163 bl reloc_offset
|
D | prom_init.c | 3307 unsigned long offset = reloc_offset(); in prom_init()
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | setup.h | 15 extern unsigned long reloc_offset(void);
|
/Linux-v6.6/tools/objtool/include/objtool/ |
D | elf.h | 236 static inline u64 reloc_offset(struct reloc *reloc) in reloc_offset() function 347 return sec_offset_hash(reloc->sec, reloc_offset(reloc)); in reloc_hash()
|
/Linux-v6.6/include/uapi/drm/ |
D | etnaviv_drm.h | 141 __u64 reloc_offset; /* in, offset from start of reloc_bo */ member
|
D | msm_drm.h | 196 __u64 reloc_offset; /* in, offset from start of reloc_bo */ member
|
/Linux-v6.6/tools/objtool/ |
D | elf.c | 285 if (reloc_offset(reloc) >= offset && in find_reloc_by_dest_range() 286 reloc_offset(reloc) < offset + len) { in find_reloc_by_dest_range() 287 if (!r || reloc_offset(reloc) < reloc_offset(r)) in find_reloc_by_dest_range()
|
D | check.c | 515 idx = (reloc_offset(reloc) - sym->offset) / sizeof(unsigned long); in add_pv_ops() 519 off = reloc_offset(reloc) + 1; in add_pv_ops() 2023 if (prev_offset && reloc_offset(reloc) != prev_offset + 8) in add_jump_table() 2048 prev_offset = reloc_offset(reloc); in add_jump_table() 4310 reloc_offset(reloc) + 1, in validate_ibt_insn() 4311 (insn->offset + insn->len) - (reloc_offset(reloc) + 1))) { in validate_ibt_insn() 4396 reloc->sec->base, reloc_offset(reloc), in validate_ibt_data_reloc()
|
/Linux-v6.6/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 300 if (r->reloc_offset > bo->obj->base.size - sizeof(*ptr)) { in submit_reloc() 305 ptr[off] = bo->mapping->iova + r->reloc_offset; in submit_reloc()
|
/Linux-v6.6/arch/powerpc/platforms/powermac/ |
D | sleep.S | 304 bl reloc_offset
|
D | bootx_init.c | 470 unsigned long offset = reloc_offset(); in bootx_init()
|
/Linux-v6.6/arch/riscv/mm/ |
D | init.c | 857 uintptr_t reloc_offset = kernel_map.virt_addr - KERNEL_LINK_ADDR; in relocate_kernel() local 878 relocated_addr += reloc_offset; in relocate_kernel()
|
/Linux-v6.6/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 523 iova += submit_reloc.reloc_offset; in submit_reloc()
|