Searched refs:reloc_offset (Results 1 – 17 of 17) sorted by relevance
/openbmc/linux/arch/loongarch/kernel/ |
H A D | relocate.c | 20 #define RELOCATED(x) ((void *)((long)x + reloc_offset)) 23 static unsigned long reloc_offset; variable 166 *new_addr = (unsigned long)reloc_offset; in update_reloc_offset() 185 reloc_offset = (unsigned long)_text - VMLINUX_LOAD_ADDRESS; in relocate_kernel() 200 reloc_offset += random_offset; in relocate_kernel() 205 update_reloc_offset(&reloc_offset, random_offset); in relocate_kernel() 208 if (reloc_offset) in relocate_kernel() 221 if (reloc_offset > 0) { in show_kernel_relocation() 223 pr_cont("Kernel relocated by 0x%lx\n", reloc_offset); in show_kernel_relocation()
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A 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()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | misc.S | 28 _GLOBAL(reloc_offset) 39 _ASM_NOKPROBE_SYMBOL(reloc_offset)
|
H A D | early_32.c | 21 unsigned long kva, offset = reloc_offset(); in early_init()
|
H A 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
|
H A D | prom_init.c | 3332 unsigned long offset = reloc_offset(); in prom_init()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | setup.h | 15 extern unsigned long reloc_offset(void);
|
/openbmc/linux/tools/objtool/include/objtool/ |
H A 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()
|
/openbmc/linux/include/uapi/drm/ |
H A D | etnaviv_drm.h | 141 __u64 reloc_offset; /* in, offset from start of reloc_bo */ member
|
H A D | msm_drm.h | 196 __u64 reloc_offset; /* in, offset from start of reloc_bo */ member
|
/openbmc/linux/tools/objtool/ |
H A 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()
|
H A 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() 4325 reloc_offset(reloc) + 1, in validate_ibt_insn() 4326 (insn->offset + insn->len) - (reloc_offset(reloc) + 1))) { in validate_ibt_insn() 4411 reloc->sec->base, reloc_offset(reloc), in validate_ibt_data_reloc()
|
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A 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()
|
/openbmc/linux/arch/powerpc/platforms/powermac/ |
H A D | sleep.S | 304 bl reloc_offset
|
H A D | bootx_init.c | 470 unsigned long offset = reloc_offset(); in bootx_init()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | init.c | 885 uintptr_t reloc_offset = kernel_map.virt_addr - KERNEL_LINK_ADDR; in relocate_kernel() local 906 relocated_addr += reloc_offset; in relocate_kernel()
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem_submit.c | 529 iova += submit_reloc.reloc_offset; in submit_reloc()
|