Home
last modified time | relevance | path

Searched refs:symndx (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/kernel/module/
Dlivepatch.c20 unsigned int size, symndx; in copy_module_elf() local
49 symndx = info->index.sym; in copy_module_elf()
50 mod->klp_info->symndx = symndx; in copy_module_elf()
58 mod->klp_info->sechdrs[symndx].sh_addr = (unsigned long)mod->core_kallsyms.symtab; in copy_module_elf()
/linux-6.1.9/tools/objtool/
Delf.c825 static int read_rel_reloc(struct section *sec, int i, struct reloc *reloc, unsigned int *symndx) in read_rel_reloc() argument
834 *symndx = GELF_R_SYM(reloc->rel.r_info); in read_rel_reloc()
838 static int read_rela_reloc(struct section *sec, int i, struct reloc *reloc, unsigned int *symndx) in read_rela_reloc() argument
847 *symndx = GELF_R_SYM(reloc->rela.r_info); in read_rela_reloc()
856 unsigned int symndx; in read_relocs() local
886 if (read_rel_reloc(sec, i, reloc, &symndx)) in read_relocs()
890 if (read_rela_reloc(sec, i, reloc, &symndx)) in read_relocs()
898 reloc->sym = find_symbol_by_index(elf, symndx); in read_relocs()
901 symndx, sec->name); in read_relocs()
/linux-6.1.9/kernel/livepatch/
Dcore.c194 unsigned int symndx, Elf_Shdr *relasec, in klp_resolve_symbols() argument
221 sym = (Elf_Sym *)sechdrs[symndx].sh_addr + ELF_R_SYM(relas[i].r_info); in klp_resolve_symbols()
289 unsigned int symndx, unsigned int secndx, in klp_apply_section_relocs() argument
312 ret = klp_resolve_symbols(sechdrs, strtab, symndx, sec, sec_objname); in klp_apply_section_relocs()
316 return apply_relocate_add(sechdrs, strtab, symndx, secndx, pmod); in klp_apply_section_relocs()
780 info->symndx, i, obj->name); in klp_apply_object_relocs()
/linux-6.1.9/include/linux/
Dmodule.h359 unsigned int symndx; member
/linux-6.1.9/Documentation/livepatch/
Dmodule-elf-format.rst308 unsigned int symndx; /* The symbol table section index */