/kernel/linux/linux-5.10/scripts/ |
H A D | insert-sys-cert.c | 161 int secndx; in get_symbol_from_table() local 172 secndx = elf_sym->st_shndx; in get_symbol_from_table() 173 if (!secndx) in get_symbol_from_table() 175 sec = &x[secndx]; in get_symbol_from_table()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | insert-sys-cert.c | 161 int secndx; in get_symbol_from_table() local 172 secndx = elf_sym->st_shndx; in get_symbol_from_table() 173 if (!secndx) in get_symbol_from_table() 175 sec = &x[secndx]; in get_symbol_from_table()
|
/kernel/linux/linux-6.6/kernel/livepatch/ |
H A D | core.c | 296 unsigned int symndx, unsigned int secndx, in klp_write_section_relocs() 301 Elf_Shdr *sec = sechdrs + secndx; in klp_write_section_relocs() 325 return apply_relocate_add(sechdrs, strtab, symndx, secndx, pmod); in klp_write_section_relocs() 328 clear_relocate_add(sechdrs, strtab, symndx, secndx, pmod); in klp_write_section_relocs() 334 unsigned int symndx, unsigned int secndx, in klp_apply_section_relocs() 338 secndx, objname, true); in klp_apply_section_relocs() 294 klp_write_section_relocs(struct module *pmod, Elf_Shdr *sechdrs, const char *shstrtab, const char *strtab, unsigned int symndx, unsigned int secndx, const char *objname, bool apply) klp_write_section_relocs() argument 332 klp_apply_section_relocs(struct module *pmod, Elf_Shdr *sechdrs, const char *shstrtab, const char *strtab, unsigned int symndx, unsigned int secndx, const char *objname) klp_apply_section_relocs() argument
|
/kernel/linux/linux-6.6/scripts/mod/ |
H A D | modpost.c | 1065 unsigned int secndx, bool allow_negative, in find_nearest_sym() 1074 if (get_secindex(elf, sym) != secndx) in find_nearest_sym() 1107 unsigned int secndx) in find_fromsym() 1109 return find_nearest_sym(elf, addr, secndx, false, ~0); in find_fromsym() 1125 static bool is_executable_section(struct elf_info *elf, unsigned int secndx) in is_executable_section() argument 1127 if (secndx >= elf->num_sections) in is_executable_section() 1130 return (elf->sechdrs[secndx].sh_flags & SHF_EXECINSTR) != 0; in is_executable_section() 1064 find_nearest_sym(struct elf_info *elf, Elf_Addr addr, unsigned int secndx, bool allow_negative, Elf_Addr min_distance) find_nearest_sym() argument 1106 find_fromsym(struct elf_info *elf, Elf_Addr addr, unsigned int secndx) find_fromsym() argument
|
/kernel/linux/linux-5.10/kernel/livepatch/ |
H A D | core.c | 294 unsigned int symndx, unsigned int secndx, in klp_apply_section_relocs() 299 Elf_Shdr *sec = sechdrs + secndx; in klp_apply_section_relocs() 321 return apply_relocate_add(sechdrs, strtab, symndx, secndx, pmod); in klp_apply_section_relocs() 292 klp_apply_section_relocs(struct module *pmod, Elf_Shdr *sechdrs, const char *shstrtab, const char *strtab, unsigned int symndx, unsigned int secndx, const char *objname) klp_apply_section_relocs() argument
|