Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/linux/
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
Dlivepatch.h235 unsigned int symindex, unsigned int secindex,
249 unsigned int symindex, unsigned int secindex, in klp_apply_section_relocs() argument
/linux-6.6.21/arch/mips/kernel/
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()
484 unsigned int i, n = sechdrs[symindex].sh_size / sizeof(Elf_Sym); in simplify_symbols()
535 static void dump_elfsymbols(Elf_Shdr *sechdrs, unsigned int symindex, in dump_elfsymbols() argument
538 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in dump_elfsymbols()
539 unsigned int i, n = sechdrs[symindex].sh_size / sizeof(Elf_Sym); in dump_elfsymbols()
550 unsigned int symindex, const char *strtab, in find_vpe_symbols() argument
553 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in find_vpe_symbols()
[all …]
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()
/linux-6.6.21/arch/x86/kernel/
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()
/linux-6.6.21/arch/m68k/kernel/
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-6.6.21/arch/powerpc/kernel/
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()
386 numsyms = sechdrs[symindex].sh_size / sizeof(Elf64_Sym); in find_dot_toc()
[all …]
Dmodule_32.c198 unsigned int symindex, in apply_relocate_add() argument
216 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux-6.6.21/arch/openrisc/kernel/
Dmodule.c18 unsigned int symindex, in apply_relocate_add() argument
37 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux-6.6.21/arch/microblaze/kernel/
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-6.6.21/arch/sh/kernel/
Dmodule.c26 unsigned int symindex, in apply_relocate_add() argument
45 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux-6.6.21/arch/csky/kernel/
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-6.6.21/arch/parisc/kernel/
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()
/linux-6.6.21/arch/nios2/kernel/
Dmodule.c44 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument
62 = ((Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux-6.6.21/arch/xtensa/kernel/
Dmodule.c49 unsigned int symindex, in apply_relocate_add() argument
65 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux-6.6.21/arch/hexagon/kernel/
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-6.6.21/arch/arc/kernel/
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-6.6.21/arch/sparc/kernel/
Dmodule.c85 unsigned int symindex, in apply_relocate_add() argument
109 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux-6.6.21/arch/riscv/kernel/
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()
/linux-6.6.21/arch/s390/kernel/
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()
/linux-6.6.21/arch/alpha/kernel/
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-6.6.21/arch/arm/kernel/
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()
/linux-6.6.21/arch/arm64/kernel/
Dmodule.c346 unsigned int symindex, in apply_relocate_add() argument
364 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux-6.6.21/arch/loongarch/kernel/
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()
/linux-6.6.21/arch/ia64/kernel/
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