/linux-6.12.1/arch/powerpc/kernel/ |
D | module_64.c | 208 const Elf64_Shdr *sechdrs) in get_stubs_size() 258 static int count_pcpu_relocs(const Elf64_Shdr *sechdrs, in count_pcpu_relocs() 289 const Elf64_Shdr *sechdrs, in get_got_size() 378 static Elf64_Sym *find_dot_toc(Elf64_Shdr *sechdrs, in find_dot_toc() 404 Elf64_Shdr *sechdrs, in module_frob_arch_sections() 580 static inline unsigned long my_r2(const Elf64_Shdr *sechdrs, struct module *me) in my_r2() 590 static inline int create_stub(const Elf64_Shdr *sechdrs, in create_stub() 666 static unsigned long stub_for_addr(const Elf64_Shdr *sechdrs, in stub_for_addr() 694 static unsigned long got_for_addr(const Elf64_Shdr *sechdrs, in got_for_addr() 763 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add() [all …]
|
D | module_32.c | 74 const Elf32_Shdr *sechdrs, in get_plt_size() 121 Elf32_Shdr *sechdrs, in module_frob_arch_sections() 159 const Elf32_Shdr *sechdrs, in do_plt_call() 196 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() 322 int module_finalize_ftrace(struct module *module, const Elf_Shdr *sechdrs) in module_finalize_ftrace()
|
D | module.c | 20 const Elf_Shdr *sechdrs, in find_section() 34 const Elf_Shdr *sechdrs, struct module *me) in module_finalize()
|
/linux-6.12.1/arch/x86/kernel/ |
D | module.c | 40 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() 81 static int __write_relocate_add(Elf64_Shdr *sechdrs, in __write_relocate_add() 174 static int write_relocate_add(Elf64_Shdr *sechdrs, in write_relocate_add() 201 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add() 211 void clear_relocate_add(Elf64_Shdr *sechdrs, in clear_relocate_add() 224 const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.12.1/arch/sparc/kernel/ |
D | module.c | 26 Elf_Shdr *sechdrs, in module_frob_arch_sections() 53 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 155 const Elf_Shdr *sechdrs) in do_patch_sections() 178 const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.12.1/arch/m68k/kernel/ |
D | module.c | 22 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() 62 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() 103 const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.12.1/arch/arc/kernel/ |
D | module.c | 26 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 45 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() 132 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | module.c | 191 static int reloc_insn_adrp(struct module *mod, Elf64_Shdr *sechdrs, in reloc_insn_adrp() 218 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add() 440 const Elf_Shdr *sechdrs, in module_init_ftrace_plt() 461 const Elf_Shdr *sechdrs, in module_finalize()
|
D | module-plts.c | 69 u64 module_emit_plt_entry(struct module *mod, Elf64_Shdr *sechdrs, in module_emit_plt_entry() 101 u64 module_emit_veneer_for_adrp(struct module *mod, Elf64_Shdr *sechdrs, in module_emit_veneer_for_adrp() 280 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | module-sections.c | 12 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_got_entry() 38 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_plt_entry() 104 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
D | module.c | 106 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_plt_pcrel() 280 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_b26() 348 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_got_pc() 422 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 494 const Elf_Shdr *sechdrs, struct module *mod) in module_init_ftrace_plt() 511 const Elf_Shdr *sechdrs, struct module *mod) in module_finalize()
|
/linux-6.12.1/include/linux/ |
D | moduleloader.h | 54 static inline int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate() 94 static inline int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
|
/linux-6.12.1/arch/microblaze/kernel/ |
D | module.c | 18 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 91 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.12.1/arch/nios2/kernel/ |
D | module.c | 23 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 112 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.12.1/arch/mips/kernel/ |
D | vpe.c | 183 Elf_Shdr *sechdrs, const char *secstrings) in layout_sections() 424 static int apply_relocations(Elf32_Shdr *sechdrs, in apply_relocations() 476 static void simplify_symbols(Elf_Shdr *sechdrs, in simplify_symbols() 535 static void dump_elfsymbols(Elf_Shdr *sechdrs, unsigned int symindex, in dump_elfsymbols() 549 static int find_vpe_symbols(struct vpe *v, Elf_Shdr *sechdrs, in find_vpe_symbols() 578 Elf_Shdr *sechdrs; in vpe_elfload() local
|
D | module.c | 303 static int __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate() 376 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() 384 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 415 const Elf_Shdr *sechdrs, in module_finalize()
|
/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() 399 const Elf_Shdr *sechdrs, const char *name) in find_mod_section() 414 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.12.1/arch/sh/kernel/ |
D | module.c | 24 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() 91 const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.12.1/arch/s390/kernel/ |
D | module.c | 106 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 427 static int __apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate_add() 453 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 492 const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.12.1/arch/hexagon/kernel/ |
D | module.c | 27 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 67 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | module.h | 75 static inline int get_plt_idx(unsigned long val, Elf_Shdr *sechdrs, const struct mod_section *sec) in get_plt_idx() 89 Elf_Shdr *sechdrs, in get_plt_entry() 103 Elf_Shdr *sechdrs, in get_got_entry()
|
/linux-6.12.1/arch/parisc/kernel/ |
D | module.c | 268 CONST Elf_Shdr *sechdrs, in module_frob_arch_sections() 489 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 634 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 803 const Elf_Shdr *sechdrs) in register_unwind_table() 828 const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-6.12.1/arch/alpha/kernel/ |
D | module.c | 64 module_frob_arch_sections(Elf64_Ehdr *hdr, Elf64_Shdr *sechdrs, in module_frob_arch_sections() 133 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
|
/linux-6.12.1/kernel/ |
D | kexec_file.c | 837 const Elf_Shdr *sechdrs; in kexec_purgatory_setup_kbuf() local 901 Elf_Shdr *sechdrs; in kexec_purgatory_setup_sechdrs() local 971 const Elf_Shdr *sechdrs; in kexec_apply_relocations() local 1080 const Elf_Shdr *sechdrs; in kexec_purgatory_find_symbol() local
|
/linux-6.12.1/arch/openrisc/kernel/ |
D | module.c | 16 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add()
|