Searched refs:relsec (Results 26 - 32 of 32) sorted by relevance

12

/linux-master/include/linux/
H A Dkexec.h237 * @relsec: Section containing RELAs.
244 const Elf_Shdr *relsec, const Elf_Shdr *symtab)
256 * @relsec: Section containing RELs.
263 const Elf_Shdr *relsec, const Elf_Shdr *symtab)
243 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) argument
262 arch_kexec_apply_relocations(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) argument
/linux-master/arch/s390/kernel/
H A Dmachine_kexec_file.c311 const Elf_Shdr *relsec,
325 relas = (void *)pi->ehdr + relsec->sh_offset;
327 for (i = 0; i < relsec->sh_size / sizeof(*relas); i++) {
309 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) argument
/linux-master/arch/riscv/kernel/
H A Delf_kexec.c374 const Elf_Shdr *relsec,
387 relas = (void *)pi->ehdr + relsec->sh_offset;
389 for (i = 0; i < relsec->sh_size / sizeof(*relas); i++) {
437 * in purgatory relsec. Handle it like R_RISCV_CALL
438 * sym, instead of searching the whole relsec.
372 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) argument
/linux-master/arch/x86/include/asm/
H A Dkexec.h198 const Elf_Shdr *relsec,
/linux-master/arch/powerpc/kernel/
H A Dmodule_64.c767 unsigned int relsec,
771 Elf64_Rela *rela = (void *)sechdrs[relsec].sh_addr;
776 pr_debug("Applying ADD relocate section %u to %u\n", relsec,
777 sechdrs[relsec].sh_info);
790 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) {
792 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
764 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) argument
/linux-master/arch/mips/kernel/
H A Dvpe.c427 unsigned int relsec,
430 Elf32_Rel *rel = (void *) sechdrs[relsec].sh_addr;
437 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) {
441 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
424 apply_relocations(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) argument
/linux-master/kernel/livepatch/
H A Dcore.c266 unsigned int relsec,
263 clear_relocate_add(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) argument

Completed in 159 milliseconds

12