Home
last modified time | relevance | path

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

/Linux-v6.1/arch/s390/kernel/
Dmodule.c241 int r_type, r_sym; in apply_rela() local
249 r_type = ELF_R_TYPE(rela->r_info); in apply_rela()
253 switch (r_type) { in apply_rela()
264 if (r_type == R_390_8) in apply_rela()
266 else if (r_type == R_390_12) in apply_rela()
268 else if (r_type == R_390_16) in apply_rela()
270 else if (r_type == R_390_20) in apply_rela()
272 else if (r_type == R_390_32) in apply_rela()
274 else if (r_type == R_390_64) in apply_rela()
283 if (r_type == R_390_PC16) in apply_rela()
[all …]
Dmachine_kexec_file.c306 int i, r_type; in arch_kexec_apply_relocations_add() local
358 r_type = ELF64_R_TYPE(relas[i].r_info); in arch_kexec_apply_relocations_add()
360 if (r_type == R_390_PLT32DBL) in arch_kexec_apply_relocations_add()
361 r_type = R_390_PC32DBL; in arch_kexec_apply_relocations_add()
363 ret = arch_kexec_do_relocs(r_type, loc, val, addr); in arch_kexec_apply_relocations_add()
365 pr_err("Unknown rela relocation: %d\n", r_type); in arch_kexec_apply_relocations_add()
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()
/Linux-v6.1/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()
/Linux-v6.1/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 …]
/Linux-v6.1/arch/x86/tools/
Drelocs.c831 unsigned r_type = ELF64_R_TYPE(rel->r_info); in do_reloc64() local
844 switch (r_type) { in do_reloc64()
888 rel_type(r_type), symname); in do_reloc64()
901 if (r_type == R_X86_64_64) in do_reloc64()
909 rel_type(r_type), r_type); in do_reloc64()
921 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc32() local
924 switch (r_type) { in do_reloc32()
947 rel_type(r_type), symname); in do_reloc32()
956 rel_type(r_type), r_type); in do_reloc32()
966 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc_real() local
[all …]
/Linux-v6.1/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)
/Linux-v6.1/drivers/soc/qcom/
Drpmpd.c43 #define DEFINE_RPMPD_PAIR(_platform, _name, _active, r_type, r_key, \ argument
49 .res_type = RPMPD_##r_type, \
57 .res_type = RPMPD_##r_type, \
62 #define DEFINE_RPMPD_CORNER(_platform, _name, r_type, r_id) \ argument
65 .res_type = RPMPD_##r_type, \
70 #define DEFINE_RPMPD_LEVEL(_platform, _name, r_type, r_id) \ argument
73 .res_type = RPMPD_##r_type, \
78 #define DEFINE_RPMPD_VFC(_platform, _name, r_type, r_id) \ argument
81 .res_type = RPMPD_##r_type, \
86 #define DEFINE_RPMPD_VFL(_platform, _name, r_type, r_id) \ argument
[all …]
/Linux-v6.1/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()
/Linux-v6.1/arch/s390/boot/
Dstartup.c85 int r_type, r_sym, rc; in handle_relocs() local
106 r_type = ELF64_R_TYPE(rela->r_info); in handle_relocs()
107 rc = arch_kexec_do_relocs(r_type, (void *) loc, val, 0); in handle_relocs()
/Linux-v6.1/arch/riscv/kernel/
Delf_kexec.c353 int i, r_type; in arch_kexec_apply_relocations_add() local
396 r_type = ELF64_R_TYPE(relas[i].r_info); in arch_kexec_apply_relocations_add()
398 switch (r_type) { in arch_kexec_apply_relocations_add()
438 pr_err("Unknown rela relocation: %d\n", r_type); in arch_kexec_apply_relocations_add()
/Linux-v6.1/arch/s390/include/asm/
Dkexec.h76 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val,
/Linux-v6.1/arch/powerpc/boot/
Drs6000.h233 char r_type[1]; member
/Linux-v6.1/include/uapi/linux/
Dcoff.h344 char r_type[2]; /* Relocation type */ member
/Linux-v6.1/scripts/
Drecordmcount.c461 myElf64_Byte r_type; /* First relocation. */ member
473 .r_mips = { .r_sym = w(sym), .r_type = type } in MIPS64_r_info()
/Linux-v6.1/net/9p/
Dclient.c462 s8 r_type; in p9_parse_header() local
470 err = p9pdu_readf(pdu, 0, "dbw", &r_size, &r_type, &r_tag); in p9_parse_header()
475 *type = r_type; in p9_parse_header()
486 pdu->id = r_type; in p9_parse_header()