Home
last modified time | relevance | path

Searched refs:symindex (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/include/linux/
H A Dmoduleloader.h57 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 Dlivepatch.h235 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 Dvpe.c426 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 Dmodule.c315 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 Dmodule.c93 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 Dmodule.c24 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 Dmodule_64.c260 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 Dmodule_32.c198 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 Dmodule.c18 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 Dmodule.c19 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 Dmodule.c26 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 Dmodule.c50 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 Dmodule.c44 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 Dmodule.c503 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 Dmodule.c49 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 Dmodule.c68 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 Dmodule.c47 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 Dmodule.c85 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 Dmodule.c341 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 Dmodule.c464 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 Dmodule.c134 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 Dmodule.c110 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 Dmodule.c346 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 Dmodule.c422 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 Dmodule.c790 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()

12