Home
last modified time | relevance | path

Searched refs:r_type (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/arch/s390/kernel/
Dmodule.c230 int r_type, r_sym; in apply_rela() local
238 r_type = ELF_R_TYPE(rela->r_info); in apply_rela()
242 switch (r_type) { in apply_rela()
253 if (r_type == R_390_8) in apply_rela()
255 else if (r_type == R_390_12) in apply_rela()
257 else if (r_type == R_390_16) in apply_rela()
259 else if (r_type == R_390_20) in apply_rela()
261 else if (r_type == R_390_32) in apply_rela()
263 else if (r_type == R_390_64) in apply_rela()
272 if (r_type == R_390_PC16) in apply_rela()
[all …]
Dmachine_kexec_reloc.c5 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val, in arch_kexec_do_relocs() argument
8 switch (r_type) { in arch_kexec_do_relocs()
Dmachine_kexec_file.c288 int i, r_type; in arch_kexec_apply_relocations_add() local
323 r_type = ELF64_R_TYPE(relas[i].r_info); in arch_kexec_apply_relocations_add()
324 ret = arch_kexec_do_relocs(r_type, loc, val, addr); in arch_kexec_apply_relocations_add()
326 pr_err("Unknown rela relocation: %d\n", r_type); in arch_kexec_apply_relocations_add()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dmodule.c33 unsigned long r_type = ELF64_R_TYPE (rela->r_info); in process_reloc_for_got() local
37 if (r_type != R_ALPHA_LITERAL) in process_reloc_for_got()
156 unsigned long r_type = ELF64_R_TYPE (rela[i].r_info); in apply_relocate_add() local
157 unsigned long r_got_offset = r_type >> 8; in apply_relocate_add()
159 r_type &= 0xff; in apply_relocate_add()
169 switch (r_type) { in apply_relocate_add()
257 me->name, r_type); in apply_relocate_add()
263 me->name, r_type, sym->st_shndx); in apply_relocate_add()
267 me->name, r_type, strtab + sym->st_name); in apply_relocate_add()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dmodule.c619 do_reloc (struct module *mod, uint8_t r_type, Elf64_Sym *sym, uint64_t addend, in do_reloc() argument
622 enum reloc_target_format format = (r_type >> FORMAT_SHIFT) & FORMAT_MASK; in do_reloc()
623 enum reloc_value_formula formula = (r_type >> VALUE_SHIFT) & VALUE_MASK; in do_reloc()
642 switch (r_type) { in do_reloc()
670 switch (r_type) { in do_reloc()
689 if (r_type == R_IA64_PCREL21BI) { in do_reloc()
693 reloc_name[r_type], (unsigned long)val); in do_reloc()
702 switch (r_type) { in do_reloc()
707 if (r_type == R_IA64_IPLTMSB) in do_reloc()
733 if (reloc_name[r_type]) in do_reloc()
[all …]
/kernel/linux/linux-5.10/drivers/soc/qcom/
Drpmpd.c40 #define DEFINE_RPMPD_PAIR(_platform, _name, _active, r_type, r_key, \ argument
46 .res_type = RPMPD_##r_type, \
54 .res_type = RPMPD_##r_type, \
59 #define DEFINE_RPMPD_CORNER(_platform, _name, r_type, r_id) \ argument
62 .res_type = RPMPD_##r_type, \
67 #define DEFINE_RPMPD_LEVEL(_platform, _name, r_type, r_id) \ argument
70 .res_type = RPMPD_##r_type, \
75 #define DEFINE_RPMPD_VFC(_platform, _name, r_type, r_id) \ argument
78 .res_type = RPMPD_##r_type, \
83 #define DEFINE_RPMPD_VFL(_platform, _name, r_type, r_id) \ argument
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dmodule.h25 Elf64_Byte r_type; /* First relocation. */ member
34 Elf64_Byte r_type; /* First relocation. */ member
70 #define ELF_MIPS_R_TYPE(rel) ((rel).r_type)
/kernel/linux/linux-5.10/arch/x86/tools/
Drelocs.c772 unsigned r_type = ELF64_R_TYPE(rel->r_info); in do_reloc64() local
785 switch (r_type) { in do_reloc64()
829 rel_type(r_type), symname); in do_reloc64()
842 if (r_type == R_X86_64_64) in do_reloc64()
850 rel_type(r_type), r_type); in do_reloc64()
862 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc32() local
865 switch (r_type) { in do_reloc32()
888 rel_type(r_type), symname); in do_reloc32()
897 rel_type(r_type), r_type); in do_reloc32()
907 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc_real() local
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/tools/
Drelocs_64.c19 Elf64_Byte r_type; /* First relocation. */ member
26 #define ELF_R_TYPE(val) (((Elf64_Mips_Rela *)(&val))->fields.r_type)
Drelocs.c503 unsigned r_type = ELF_R_TYPE(rel->r_info); in do_reloc() local
514 switch (r_type) { in do_reloc()
539 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc()
544 rel_type(r_type), r_type); in do_reloc()
/kernel/linux/linux-5.10/arch/s390/boot/
Dstartup.c93 int r_type, r_sym, rc; in handle_relocs() local
114 r_type = ELF64_R_TYPE(rela->r_info); in handle_relocs()
115 rc = arch_kexec_do_relocs(r_type, (void *) loc, val, 0); in handle_relocs()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dkexec.h76 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val,
/kernel/linux/linux-5.10/arch/powerpc/boot/
Drs6000.h233 char r_type[1]; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dcoff.h190 char r_type[2]; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dcoff.h344 char r_type[2]; /* Relocation type */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dcoff.h198 char r_type[2]; member
/kernel/linux/linux-5.10/scripts/
Drecordmcount.c461 myElf64_Byte r_type; /* First relocation. */ member
473 .r_mips = { .r_sym = w(sym), .r_type = type } in MIPS64_r_info()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_log_priv.h146 uint r_type; /* region's transaction type :4 */ member
Dxfs_log.c345 tic->t_res_arr[tic->t_res_num].r_type = type; in xlog_tic_add_region()
2030 uint r_type = ticket->t_res_arr[i].r_type; in xlog_print_tic_res() local
2032 ((r_type <= 0 || r_type > XLOG_REG_TYPE_MAX) ? in xlog_print_tic_res()
2033 "bad-rtype" : res_type_str[r_type]), in xlog_print_tic_res()
/kernel/linux/linux-5.10/net/9p/
Dclient.c449 int8_t r_type; in p9_parse_header() local
457 err = p9pdu_readf(pdu, 0, "dbw", &r_size, &r_type, &r_tag); in p9_parse_header()
462 *type = r_type; in p9_parse_header()
473 pdu->id = r_type; in p9_parse_header()