Searched refs:secndx (Results 1 - 5 of 5) sorted by relevance

/linux-master/scripts/mod/
H A Dsymsearch.c146 * Find the syminfo which is in secndx and "nearest" to addr.
154 unsigned int secndx, bool allow_negative,
163 target.section_index = secndx;
188 table[hi].section_index == secndx &&
194 table[hi - 1].section_index == secndx &&
153 symsearch_find_nearest(struct elf_info *elf, Elf_Addr addr, unsigned int secndx, bool allow_negative, Elf_Addr min_distance) argument
H A Dmodpost.h178 unsigned int secndx, bool allow_negative,
H A Dmodpost.c1003 unsigned int secndx)
1005 return symsearch_find_nearest(elf, addr, secndx, false, ~0);
1025 static bool is_executable_section(struct elf_info *elf, unsigned int secndx) argument
1027 if (secndx >= elf->num_sections)
1030 return (elf->sechdrs[secndx].sh_flags & SHF_EXECINSTR) != 0;
1485 unsigned int secndx = sechdr->sh_info; local
1486 const char *secname = sec_name(elf, secndx);
1497 section_rela(mod, elf, secndx, secname,
1500 section_rel(mod, elf, secndx, secname,
1002 find_fromsym(struct elf_info *elf, Elf_Addr addr, unsigned int secndx) argument
/linux-master/scripts/
H A Dinsert-sys-cert.c161 int secndx; local
172 secndx = elf_sym->st_shndx;
173 if (!secndx)
175 sec = &x[secndx];
/linux-master/kernel/livepatch/
H A Dcore.c296 unsigned int symndx, unsigned int secndx,
301 Elf_Shdr *sec = sechdrs + secndx;
325 return apply_relocate_add(sechdrs, strtab, symndx, secndx, pmod);
328 clear_relocate_add(sechdrs, strtab, symndx, secndx, pmod);
334 unsigned int symndx, unsigned int secndx,
338 secndx, objname, true);
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) 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) argument

Completed in 146 milliseconds