Home
last modified time | relevance | path

Searched refs:secndx (Results 1 – 4 of 4) sorted by relevance

/linux/scripts/mod/
H A Dsymsearch.c154 unsigned int secndx, bool allow_negative, in symsearch_find_nearest() argument
163 target.section_index = secndx; in symsearch_find_nearest()
188 table[hi].section_index == secndx && in symsearch_find_nearest()
194 table[hi - 1].section_index == secndx && in symsearch_find_nearest()
H A Dmodpost.c994 unsigned int secndx) in find_fromsym()
996 return symsearch_find_nearest(elf, addr, secndx, false, ~0);
1016 static bool is_executable_section(struct elf_info *elf, unsigned int secndx) in is_executable_section()
1018 if (secndx >= elf->num_sections) in is_executable_section()
1021 return (elf->sechdrs[secndx].sh_flags & SHF_EXECINSTR) != 0;
1450 unsigned int secndx = sechdr->sh_info; in check_sec_ref()
1451 const char *secname = sec_name(elf, secndx); in check_sec_ref()
1462 section_rela(mod, elf, secndx, secname, in check_sec_ref()
1465 section_rel(mod, elf, secndx, secname, in check_sec_ref()
992 find_fromsym(struct elf_info * elf,Elf_Addr addr,unsigned int secndx) find_fromsym() argument
1014 is_executable_section(struct elf_info * elf,unsigned int secndx) is_executable_section() argument
1448 unsigned int secndx = sechdr->sh_info; check_sec_ref() local
/linux/scripts/
H A Dinsert-sys-cert.c161 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()
/linux/kernel/livepatch/
H A Dcore.c300 unsigned int symndx, unsigned int secndx, in klp_write_section_relocs() argument
305 Elf_Shdr *sec = sechdrs + secndx; in klp_write_section_relocs()
329 return apply_relocate_add(sechdrs, strtab, symndx, secndx, pmod); in klp_write_section_relocs()
332 clear_relocate_add(sechdrs, strtab, symndx, secndx, pmod); in klp_write_section_relocs()
338 unsigned int symndx, unsigned int secndx, in klp_apply_section_relocs() argument
342 secndx, objname, true); in klp_apply_section_relocs()