Home
last modified time | relevance | path

Searched refs:reloc_offset (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/arch/loongarch/kernel/
A Drelocate.c19 #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()
177 reloc_offset = (unsigned long)_text - VMLINUX_LOAD_ADDRESS; in relocate_kernel()
191 reloc_offset += random_offset; in relocate_kernel()
199 update_reloc_offset(&reloc_offset, random_offset); in relocate_kernel()
202 if (reloc_offset) in relocate_kernel()
215 if (reloc_offset > 0) { in show_kernel_relocation()
217 pr_cont("Kernel relocated by 0x%lx\n", reloc_offset); in show_kernel_relocation()
/linux-6.3-rc2/arch/x86/boot/tools/
A Dbuild.c201 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-6.3-rc2/arch/arm64/kvm/hyp/nvhe/
A Dgen-hyprel.c329 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-6.3-rc2/arch/powerpc/kernel/
A Dmisc.S28 _GLOBAL(reloc_offset)
39 _ASM_NOKPROBE_SYMBOL(reloc_offset)
A Dearly_32.c21 unsigned long kva, offset = reloc_offset(); in early_init()
A Dhead_book3s_32.S158 bl reloc_offset
173 bl reloc_offset
176 bl reloc_offset
187 bl reloc_offset
1164 bl reloc_offset
A Dprom_init.c3307 unsigned long offset = reloc_offset(); in prom_init()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dsetup.h16 extern unsigned long reloc_offset(void);
/linux-6.3-rc2/include/uapi/drm/
A Detnaviv_drm.h141 __u64 reloc_offset; /* in, offset from start of reloc_bo */ member
A Dmsm_drm.h187 __u64 reloc_offset; /* in, offset from start of reloc_bo */ member
/linux-6.3-rc2/drivers/gpu/drm/etnaviv/
A Detnaviv_gem_submit.c300 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-6.3-rc2/arch/powerpc/platforms/powermac/
A Dsleep.S304 bl reloc_offset
A Dbootx_init.c470 unsigned long offset = reloc_offset(); in bootx_init()
/linux-6.3-rc2/drivers/gpu/drm/msm/
A Dmsm_gem_submit.c494 iova += submit_reloc.reloc_offset; in submit_reloc()

Completed in 23 milliseconds