Home
last modified time | relevance | path

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

/linux/arch/mips/kernel/
H A Dvpe.c427 unsigned int symindex, in apply_relocations() argument
445 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocations()
478 unsigned int symindex, in simplify_symbols() argument
483 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in simplify_symbols()
485 unsigned int i, n = sechdrs[symindex].sh_size / sizeof(Elf_Sym); in simplify_symbols()
536 static void dump_elfsymbols(Elf_Shdr *sechdrs, unsigned int symindex, in dump_elfsymbols() argument
539 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in dump_elfsymbols()
540 unsigned int i, n = sechdrs[symindex].sh_size / sizeof(Elf_Sym); in dump_elfsymbols()
551 unsigned int symindex, const char *strtab, in find_vpe_symbols() argument
554 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in find_vpe_symbols()
[all …]
H A Dmodule.c304 unsigned int symindex, unsigned int relsec, in __apply_relocate() argument
329 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in __apply_relocate()
377 unsigned int symindex, unsigned int relsec, in apply_relocate() argument
380 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, false); in apply_relocate()
385 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument
388 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, true); in apply_relocate_add()
/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()
/linux/arch/powerpc/kernel/
H A Dmodule_64.c269 unsigned int symindex, unsigned int pcpu) in count_pcpu_relocs() argument
281 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in count_pcpu_relocs()
303 unsigned int i, symindex = 0; in get_got_size() local
307 symindex = i; in get_got_size()
311 WARN_ON_ONCE(!symindex); in get_got_size()
341 if (IS_ENABLED(CONFIG_SMP) && symindex) in get_got_size()
346 symindex, me->arch.pcpu_section); in get_got_size()
407 unsigned int symindex) in find_dot_toc() argument
412 syms = (Elf64_Sym *)sechdrs[symindex].sh_addr; in find_dot_toc()
413 numsyms = sechdrs[symindex].sh_size / sizeof(Elf64_Sym); in find_dot_toc()
[all …]
/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()
/linux/arch/parisc/kernel/
H A Dmodule.c491 unsigned int symindex, in apply_relocate_add() argument
516 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
636 unsigned int symindex, in apply_relocate_add() argument
660 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
836 int symindex __maybe_unused = -1; in module_finalize()
863 symindex = i; in module_finalize()
925 if (symindex != -1 && !strcmp(secname, FTRACE_CALLSITE_SECTION)) { in module_finalize()
929 strtab, symindex, in module_finalize()
933 strtab, symindex, in module_finalize()
/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()
/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()
/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()
/linux/arch/nios2/kernel/
H A Dmodule.c24 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument
42 = ((Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/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()
/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()
/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()
/linux/include/linux/
H A Dlivepatch.h215 unsigned int symindex, unsigned int secindex,
229 unsigned int symindex, unsigned int secindex, in klp_apply_section_relocs() argument
/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()
/linux/arch/loongarch/kernel/
H A Dmodule.c474 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument
498 sym = (Elf_Sym *)sechdrs[symindex].sh_addr + ELF_R_SYM(rel[i].r_info); in apply_relocate_add()
538 (Elf_Sym *)sechdrs[symindex].sh_addr + ELF_R_SYM(rel[j].r_info); in apply_relocate_add()
/linux/arch/arm/kernel/
H A Dmodule.c76 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() argument
79 Elf32_Shdr *symsec = sechdrs + symindex; in apply_relocate()
/linux/arch/arm64/kernel/
H A Dmodule.c233 unsigned int symindex, in apply_relocate_add() argument
251 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux/arch/riscv/kernel/
H A Dmodule.c767 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument
797 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
839 (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux/kernel/livepatch/
H A Dcore.c269 unsigned int symindex, in clear_relocate_add() argument