/linux-master/tools/objtool/arch/loongarch/ |
H A D | special.c | 6 struct reloc *reloc) 11 struct reloc *arch_find_switch_table(struct objtool_file *file, 4 arch_support_alt_relocation(struct special_alt *special_alt, struct instruction *insn, struct reloc *reloc) argument
|
/linux-master/tools/objtool/include/objtool/ |
H A D | elf.h | 46 struct reloc *relocs; 72 struct reloc *relocs; 75 struct reloc { struct 79 struct reloc *sym_next_reloc; 118 struct reloc *elf_init_reloc_text_sym(struct elf *elf, struct section *sec, 124 struct reloc *elf_init_reloc_data_sym(struct elf *elf, struct section *sec, 142 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset); 143 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec, 199 static inline unsigned int reloc_idx(struct reloc *reloc) argument 204 reloc_rel(struct reloc *reloc) argument 211 is_32bit_reloc(struct reloc *reloc) argument 237 reloc_offset(struct reloc *reloc) argument 242 set_reloc_offset(struct elf *elf, struct reloc *reloc, u64 offset) argument 248 reloc_addend(struct reloc *reloc) argument 253 set_reloc_addend(struct elf *elf, struct reloc *reloc, s64 addend) argument 260 reloc_sym(struct reloc *reloc) argument 269 reloc_type(struct reloc *reloc) argument 278 set_reloc_sym(struct elf *elf, struct reloc *reloc, unsigned int sym) argument 288 set_reloc_type(struct elf *elf, struct reloc *reloc, unsigned int type) argument 346 reloc_hash(struct reloc *reloc) argument [all...] |
H A D | special.h | 39 struct reloc *reloc); 40 struct reloc *arch_find_switch_table(struct objtool_file *file,
|
/linux-master/tools/objtool/arch/powerpc/ |
H A D | special.c | 10 struct reloc *reloc) 15 struct reloc *arch_find_switch_table(struct objtool_file *file, 8 arch_support_alt_relocation(struct special_alt *special_alt, struct instruction *insn, struct reloc *reloc) argument
|
/linux-master/arch/riscv/kernel/tests/module_test/ |
H A D | test_uleb128.S | 23 .reloc second, R_RISCV_SET_ULEB128, second 24 .reloc second, R_RISCV_SUB_ULEB128, first 29 .reloc fourth, R_RISCV_SET_ULEB128, fourth 30 .reloc fourth, R_RISCV_SUB_ULEB128, third
|
H A D | test_sub16.S | 18 .reloc sub16, R_RISCV_ADD16, second 19 .reloc sub16, R_RISCV_SUB16, first
|
H A D | test_sub32.S | 18 .reloc sub32, R_RISCV_ADD32, second 19 .reloc sub32, R_RISCV_SUB32, first
|
H A D | test_sub6.S | 18 .reloc sub6, R_RISCV_SET6, second 19 .reloc sub6, R_RISCV_SUB6, first
|
H A D | test_sub64.S | 22 .reloc sub64, R_RISCV_ADD64, second 23 .reloc sub64, R_RISCV_SUB64, first
|
H A D | test_sub8.S | 18 .reloc sub8, R_RISCV_ADD8, second 19 .reloc sub8, R_RISCV_SUB8, first
|
H A D | test_set32.S | 19 .reloc set32, R_RISCV_SET32, set32
|
H A D | test_set16.S | 22 .reloc set16, R_RISCV_SET16, set16
|
H A D | test_set6.S | 22 .reloc set6, R_RISCV_SET6, set6
|
H A D | test_set8.S | 22 .reloc set8, R_RISCV_SET8, set8
|
/linux-master/tools/objtool/arch/x86/ |
H A D | special.c | 43 struct reloc *reloc) 88 struct reloc *arch_find_switch_table(struct objtool_file *file, 91 struct reloc *text_reloc, *rodata_reloc; 41 arch_support_alt_relocation(struct special_alt *special_alt, struct instruction *insn, struct reloc *reloc) argument
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_renderstate.h | 18 const u32 *reloc; member in struct:intel_renderstate_rodata 25 .reloc = gen ## _g ## _null_state_relocs, \
|
/linux-master/tools/objtool/ |
H A D | check.c | 144 static inline struct reloc *insn_jump_table(struct instruction *insn) 497 struct reloc *reloc; local 507 reloc = find_reloc_by_dest_range(file->elf, sym->sec, off, end - off); 508 if (!reloc) 511 func = reloc->sym; 513 func = find_symbol_by_offset(reloc->sym->sec, 514 reloc_addend(reloc)); 516 idx = (reloc_offset(reloc) - sym->offset) / sizeof(unsigned long); 520 off = reloc_offset(reloc) 586 struct reloc *reloc; local 967 struct reloc *reloc; local 1029 struct reloc *reloc; local 1269 struct reloc *reloc; local 1323 struct reloc *reloc; local 1355 struct reloc *reloc = insn_reloc(file, insn); local 1550 struct reloc *reloc; local 1694 struct reloc *reloc; local 1907 struct reloc *reloc = insn_reloc(file, orig_insn); local 2028 struct reloc *reloc = table; local 2129 struct reloc *reloc; local 2229 struct reloc *reloc; local 2328 struct reloc *reloc; local 2352 struct reloc *reloc; local 2388 struct reloc *reloc; local 2435 struct reloc *reloc; local 2463 struct reloc *reloc; local 3385 struct reloc *reloc; local 3404 struct reloc *reloc; local 4329 struct reloc *reloc; local 4421 validate_ibt_data_reloc(struct objtool_file *file, struct reloc *reloc) argument 4454 struct reloc *reloc; local [all...] |
H A D | special.c | 61 static void reloc_to_sec_off(struct reloc *reloc, struct section **sec, argument 64 *sec = reloc->sym->sec; 65 *off = reloc->sym->offset + reloc_addend(reloc); 72 struct reloc *orig_reloc, *new_reloc; 99 WARN_FUNC("can't find orig reloc", sec, offset + entry->orig); 108 WARN_FUNC("can't find new reloc", 121 struct reloc *key_reloc; 125 WARN_FUNC("can't find key reloc", [all...] |
H A D | elf.c | 266 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec, 269 struct reloc *reloc, *r = NULL; local 278 elf_hash_for_each_possible(reloc, reloc, hash, 280 if (reloc->sec != rsec) 283 if (reloc_offset(reloc) >= offset && 284 reloc_offset(reloc) < offset + len) { 285 if (!r || reloc_offset(reloc) < reloc_offset(r)) 286 r = reloc; 579 struct reloc *reloc; local 853 struct reloc *reloc, empty = { 0 }; local 937 struct reloc *reloc; local [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | r200.c | 149 struct radeon_bo_list *reloc; local 166 DRM_ERROR("No reloc for ib[%d]=0x%04X\n", 181 r = radeon_cs_packet_next_reloc(p, &reloc, 0); 183 DRM_ERROR("No reloc for ib[%d]=0x%04X\n", 188 track->zb.robj = reloc->robj; 191 ib[idx] = idx_value + ((u32)reloc->gpu_offset); 194 r = radeon_cs_packet_next_reloc(p, &reloc, 0); 196 DRM_ERROR("No reloc for ib[%d]=0x%04X\n", 201 track->cb[0].robj = reloc->robj; 204 ib[idx] = idx_value + ((u32)reloc [all...] |
H A D | r600_cs.c | 810 * RELOC (P3) - crtc_id in reloc. 910 DRM_ERROR("unknown crtc reloc\n"); 926 DRM_ERROR("No reloc for ib[%d]=0x%04X\n", 969 struct radeon_bo_list *reloc; local 1014 r = radeon_cs_packet_next_reloc(p, &reloc, 0); 1020 ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); 1032 r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); 1041 if (reloc->tiling_flags & RADEON_TILING_MACRO) { 1074 r = radeon_cs_packet_next_reloc(p, &reloc, r600_nomm); 1082 ib[idx] += (u32)((reloc 1629 struct radeon_bo_list *reloc; local [all...] |
/linux-master/scripts/ |
H A D | check_extable.sh | 42 eval $(echo $reloc | sed 's/\([^+]\+\)+\?\(0x[0-9a-f]\+\)\?/symbol="\1"; symbol_offset="\2"/') 109 for reloc in ${suspicious_relocs}; do 112 find_symbol_and_offset_from_reloc ${reloc} 120 # In this case objdump was presenting us with a reloc to a symbol
|
/linux-master/arch/x86/boot/compressed/ |
H A D | misc.c | 202 int *reloc; local 255 for (reloc = output + output_len - sizeof(*reloc); *reloc; reloc--) { 256 long extended = *reloc; 266 while (*--reloc) { 267 long extended = *reloc; 276 for (reloc--; *reloc; relo [all...] |
/linux-master/arch/parisc/kernel/ |
H A D | kexec.c | 76 void (*reloc)(unsigned long head, 89 reloc = (void *)&desc; 92 reloc = (void *)virt; 107 reloc(image->head & PAGE_MASK, image->start, phys);
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_ioctl.c | 202 /* fill out reloc info structs */ 204 struct drm_qxl_reloc reloc; local 207 if (copy_from_user(&reloc, u + i, sizeof(reloc))) { 214 if (reloc.reloc_type != QXL_RELOC_TYPE_BO && reloc.reloc_type != QXL_RELOC_TYPE_SURF) { 215 DRM_DEBUG("unknown reloc type %d\n", reloc.reloc_type); 220 reloc_info[i].type = reloc.reloc_type; 222 if (reloc [all...] |