Home
last modified time | relevance | path

Searched refs:relsec (Results 51 - 66 of 66) sorted by relevance

123

/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dmodule.c114 Elf32_Shdr *relsec = sechdrs + relindex; in apply_relocate() local
115 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate()
116 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate()
119 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate()
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dmodule.c790 unsigned int relsec, struct module *mod) in apply_relocate_add()
792 unsigned int i, n = sechdrs[relsec].sh_size / sizeof(Elf64_Rela); in apply_relocate_add()
793 Elf64_Rela *rela = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
798 relsec, n, sechdrs[relsec].sh_info); in apply_relocate_add()
800 target_sec = sechdrs + sechdrs[relsec].sh_info; in apply_relocate_add()
789 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *mod) apply_relocate_add() argument
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dmodule.c791 unsigned int relsec, struct module *mod) in apply_relocate_add()
793 unsigned int i, n = sechdrs[relsec].sh_size / sizeof(Elf64_Rela); in apply_relocate_add()
794 Elf64_Rela *rela = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add()
799 relsec, n, sechdrs[relsec].sh_info); in apply_relocate_add()
801 target_sec = sechdrs + sechdrs[relsec].sh_info; in apply_relocate_add()
790 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *mod) apply_relocate_add() argument
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dmodule_64.c767 unsigned int relsec, in apply_relocate_add()
771 Elf64_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add()
776 pr_debug("Applying ADD relocate section %u to %u\n", relsec, in apply_relocate_add()
777 sechdrs[relsec].sh_info); in apply_relocate_add()
790 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add()
792 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
764 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dkexec.h63 const Elf_Shdr *relsec,
/kernel/linux/linux-5.10/include/linux/
H A Dkexec.h224 * @relsec: Section containing RELAs.
231 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add()
243 * @relsec: Section containing RELs.
250 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations()
230 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) arch_kexec_apply_relocations_add() argument
249 arch_kexec_apply_relocations(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) arch_kexec_apply_relocations() argument
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dkexec.h92 const Elf_Shdr *relsec,
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dkexec.h103 const Elf_Shdr *relsec,
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dvpe.c427 unsigned int relsec, in apply_relocations()
430 Elf32_Rel *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocations()
437 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocations()
441 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocations()
424 apply_relocations(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocations() argument
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dmachine_kexec_file.c301 const Elf_Shdr *relsec, in arch_kexec_apply_relocations_add()
315 relas = (void *)pi->ehdr + relsec->sh_offset; in arch_kexec_apply_relocations_add()
317 for (i = 0; i < relsec->sh_size / sizeof(*relas); i++) { in arch_kexec_apply_relocations_add()
299 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) arch_kexec_apply_relocations_add() argument
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Delf_kexec.c367 const Elf_Shdr *relsec, in arch_kexec_apply_relocations_add()
380 relas = (void *)pi->ehdr + relsec->sh_offset; in arch_kexec_apply_relocations_add()
382 for (i = 0; i < relsec->sh_size / sizeof(*relas); i++) { in arch_kexec_apply_relocations_add()
430 * in purgatory relsec. Handle it like R_RISCV_CALL in arch_kexec_apply_relocations_add()
431 * sym, instead of searching the whole relsec. in arch_kexec_apply_relocations_add()
365 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) arch_kexec_apply_relocations_add() argument
/kernel/linux/linux-6.6/include/linux/
H A Dkexec.h239 * @relsec: Section containing RELAs.
246 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add()
258 * @relsec: Section containing RELs.
265 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations()
245 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) arch_kexec_apply_relocations_add() argument
264 arch_kexec_apply_relocations(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) arch_kexec_apply_relocations() argument
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dvpe.c428 unsigned int relsec, in apply_relocations()
431 Elf32_Rel *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocations()
438 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocations()
442 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocations()
425 apply_relocations(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocations() argument
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dkexec.h198 const Elf_Shdr *relsec,
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dkexec.h199 const Elf_Shdr *relsec,
/kernel/linux/linux-6.6/kernel/livepatch/
H A Dcore.c266 unsigned int relsec, in clear_relocate_add()
263 clear_relocate_add(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) clear_relocate_add() argument

Completed in 13 milliseconds

123