/linux-6.12.1/include/linux/ |
D | moduleloader.h | 50 unsigned int symindex, 56 unsigned int symindex, in apply_relocate() argument 73 unsigned int symindex, 89 unsigned int symindex, 96 unsigned int symindex, in apply_relocate_add() argument
|
D | livepatch.h | 235 unsigned int symindex, unsigned int secindex, 249 unsigned int symindex, unsigned int secindex, in klp_apply_section_relocs() argument
|
/linux-6.12.1/arch/mips/kernel/ |
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() 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 …]
|
D | module.c | 304 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-6.12.1/arch/x86/kernel/ |
D | module.c | 42 unsigned int symindex, in apply_relocate() argument 59 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate() 83 unsigned int symindex, in __write_relocate_add() argument 108 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in __write_relocate_add() 176 unsigned int symindex, in write_relocate_add() argument 190 ret = __write_relocate_add(sechdrs, strtab, symindex, relsec, me, in write_relocate_add() 203 unsigned int symindex, in apply_relocate_add() argument 207 return write_relocate_add(sechdrs, strtab, symindex, relsec, me, true); in apply_relocate_add() 213 unsigned int symindex, in clear_relocate_add() argument 217 write_relocate_add(sechdrs, strtab, symindex, relsec, me, false); in clear_relocate_add()
|
/linux-6.12.1/arch/m68k/kernel/ |
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()
|
/linux-6.12.1/arch/powerpc/kernel/ |
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() 386 numsyms = sechdrs[symindex].sh_size / sizeof(Elf64_Sym); in find_dot_toc() [all …]
|
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()
|
/linux-6.12.1/arch/microblaze/kernel/ |
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()
|
/linux-6.12.1/arch/openrisc/kernel/ |
D | module.c | 18 unsigned int symindex, in apply_relocate_add() argument 37 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux-6.12.1/arch/sh/kernel/ |
D | module.c | 26 unsigned int symindex, in apply_relocate_add() argument 45 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux-6.12.1/arch/csky/kernel/ |
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()
|
/linux-6.12.1/arch/parisc/kernel/ |
D | module.c | 491 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-6.12.1/arch/nios2/kernel/ |
D | module.c | 24 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument 42 = ((Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux-6.12.1/arch/hexagon/kernel/ |
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()
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | module.c | 49 unsigned int symindex, in apply_relocate_add() argument 65 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux-6.12.1/arch/arc/kernel/ |
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()
|
/linux-6.12.1/arch/sparc/kernel/ |
D | module.c | 55 unsigned int symindex, in apply_relocate_add() argument 79 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux-6.12.1/arch/s390/kernel/ |
D | module.c | 428 unsigned int symindex, unsigned int relsec, in __apply_relocate_add() argument 441 symtab = (Elf_Sym *) sechdrs[symindex].sh_addr; in __apply_relocate_add() 454 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument 463 return __apply_relocate_add(sechdrs, strtab, symindex, relsec, me, in apply_relocate_add()
|
/linux-6.12.1/arch/alpha/kernel/ |
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()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | module.c | 220 unsigned int symindex, in apply_relocate_add() argument 238 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux-6.12.1/arch/arm/kernel/ |
D | module.c | 76 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-6.12.1/arch/riscv/kernel/ |
D | module.c | 777 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument 807 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 849 (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | module.c | 423 unsigned int symindex, unsigned int relsec, in apply_relocate_add() argument 444 sym = (Elf_Sym *)sechdrs[symindex].sh_addr + ELF_R_SYM(rel[i].r_info); in apply_relocate_add()
|
/linux-6.12.1/kernel/livepatch/ |
D | core.c | 265 unsigned int symindex, in clear_relocate_add() argument
|