/openbmc/linux/include/linux/ |
H A D | moduleloader.h | 57 unsigned int symindex, 63 unsigned int symindex, in apply_relocate() argument 80 unsigned int symindex, 96 unsigned int symindex, 103 unsigned int symindex, in apply_relocate_add() argument
|
H A D | livepatch.h | 235 unsigned int symindex, unsigned int secindex, 249 unsigned int symindex, unsigned int secindex, in klp_apply_section_relocs() argument
|
/openbmc/linux/arch/mips/kernel/ |
H A D | vpe.c | 426 unsigned int symindex, in apply_relocations() argument 444 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocations() 477 unsigned int symindex, in simplify_symbols() argument 482 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in simplify_symbols() 538 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in dump_elfsymbols() 553 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in find_vpe_symbols() 616 symindex = strindex = 0; in vpe_elfload() 634 symindex = i; in vpe_elfload() 688 symindex, i, &mod); in vpe_elfload() 691 symindex, i, &mod); in vpe_elfload() [all …]
|
H A D | module.c | 315 unsigned int symindex, unsigned int relsec, in __apply_relocate() argument 340 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in __apply_relocate() 388 unsigned int symindex, unsigned int relsec, in apply_relocate() argument 391 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, false); in apply_relocate() 396 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument 399 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, true); in apply_relocate_add()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | module.c | 93 unsigned int symindex, in apply_relocate() argument 110 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate() 134 unsigned int symindex, in __write_relocate_add() argument 159 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in __write_relocate_add() 227 unsigned int symindex, in write_relocate_add() argument 241 ret = __write_relocate_add(sechdrs, strtab, symindex, relsec, me, in write_relocate_add() 254 unsigned int symindex, in apply_relocate_add() argument 258 return write_relocate_add(sechdrs, strtab, symindex, relsec, me, true); in apply_relocate_add() 264 unsigned int symindex, in clear_relocate_add() argument 268 write_relocate_add(sechdrs, strtab, symindex, relsec, me, false); in clear_relocate_add()
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | module.c | 24 unsigned int symindex, in apply_relocate() argument 41 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate() 64 unsigned int symindex, in apply_relocate_add() argument 81 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | module_64.c | 260 unsigned int symindex, unsigned int pcpu) in count_pcpu_relocs() argument 272 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in count_pcpu_relocs() 294 unsigned int i, symindex = 0; in get_got_size() local 298 symindex = i; in get_got_size() 302 WARN_ON_ONCE(!symindex); in get_got_size() 332 if (IS_ENABLED(CONFIG_SMP) && symindex) in get_got_size() 337 symindex, me->arch.pcpu_section); in get_got_size() 380 unsigned int symindex) in find_dot_toc() argument 385 syms = (Elf64_Sym *)sechdrs[symindex].sh_addr; in find_dot_toc() 766 unsigned int symindex, in apply_relocate_add() argument [all …]
|
H A D | module_32.c | 198 unsigned int symindex, in apply_relocate_add() argument 216 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/openbmc/linux/arch/openrisc/kernel/ |
H A D | module.c | 18 unsigned int symindex, in apply_relocate_add() argument 37 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/openbmc/linux/arch/microblaze/kernel/ |
H A D | module.c | 19 unsigned int symindex, unsigned int relsec, struct module *module) in apply_relocate_add() argument 35 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr + in apply_relocate_add()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | module.c | 26 unsigned int symindex, in apply_relocate_add() argument 45 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/openbmc/linux/arch/csky/kernel/ |
H A D | module.c | 50 unsigned int symindex, unsigned int relsec, struct module *me) in apply_relocate_add() argument 62 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/openbmc/linux/arch/nios2/kernel/ |
H A D | module.c | 44 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument 62 = ((Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | module.c | 503 unsigned int symindex, in apply_relocate_add() argument 528 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 648 unsigned int symindex, in apply_relocate_add() argument 672 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 848 int symindex __maybe_unused = -1; in module_finalize() 875 symindex = i; in module_finalize() 937 if (symindex != -1 && !strcmp(secname, FTRACE_CALLSITE_SECTION)) { in module_finalize() 941 strtab, symindex, in module_finalize() 945 strtab, symindex, in module_finalize()
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | module.c | 49 unsigned int symindex, in apply_relocate_add() argument 65 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/openbmc/linux/arch/hexagon/kernel/ |
H A D | module.c | 68 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument 78 Elf32_Sym *sym_base = (Elf32_Sym *) sechdrs[symindex].sh_addr; in apply_relocate_add()
|
/openbmc/linux/arch/arc/kernel/ |
H A D | module.c | 47 unsigned int symindex, /* sec index for sym tbl */ in apply_relocate_add() argument 63 sym_sec = (Elf32_Sym *) sechdrs[symindex].sh_addr; in apply_relocate_add()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | module.c | 85 unsigned int symindex, in apply_relocate_add() argument 109 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | module.c | 341 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument 360 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 401 (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | module.c | 464 unsigned int symindex, unsigned int relsec, in __apply_relocate_add() argument 477 symtab = (Elf_Sym *) sechdrs[symindex].sh_addr; in __apply_relocate_add() 490 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument 499 return __apply_relocate_add(sechdrs, strtab, symindex, relsec, me, in apply_relocate_add()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | module.c | 134 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument 147 symtab = (Elf64_Sym *)sechdrs[symindex].sh_addr; in apply_relocate_add()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | module.c | 110 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() argument 113 Elf32_Shdr *symsec = sechdrs + symindex; in apply_relocate()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | module.c | 346 unsigned int symindex, in apply_relocate_add() argument 364 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | module.c | 422 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument 443 sym = (Elf_Sym *)sechdrs[symindex].sh_addr + ELF_R_SYM(rel[i].r_info); in apply_relocate_add()
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | module.c | 790 apply_relocate_add (Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate_add() argument 834 ((Elf64_Sym *) sechdrs[symindex].sh_addr in apply_relocate_add()
|