Lines Matching refs:modname
165 static struct module *find_module(const char *modname) in find_module() argument
170 if (strcmp(mod->name, modname) == 0) in find_module()
785 static void check_section(const char *modname, struct elf_info *elf, in check_section() argument
797 modname, sec); in check_section()
894 void (*handler)(const char *modname, struct elf_info *elf,
900 static void extable_mismatch_handler(const char *modname, struct elf_info *elf,
1239 static void report_sec_mismatch(const char *modname, in report_sec_mismatch() argument
1257 modname, fromsym, fromsec, tosym, tosec); in report_sec_mismatch()
1261 modname, tosym, tosec); in report_sec_mismatch()
1269 static void default_mismatch_handler(const char *modname, struct elf_info *elf, in default_mismatch_handler() argument
1289 report_sec_mismatch(modname, mismatch, in default_mismatch_handler()
1339 static void report_extable_warnings(const char* modname, struct elf_info* elf, in report_extable_warnings() argument
1360 modname, fromsec, (long)r->r_offset, from_pretty_name, in report_extable_warnings()
1377 static void extable_mismatch_handler(const char* modname, struct elf_info *elf, in extable_mismatch_handler() argument
1386 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec); in extable_mismatch_handler()
1394 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1413 static void check_section_mismatch(const char *modname, struct elf_info *elf, in check_section_mismatch() argument
1421 mismatch->handler(modname, elf, mismatch, in check_section_mismatch()
1424 default_mismatch_handler(modname, elf, mismatch, in check_section_mismatch()
1526 static void section_rela(const char *modname, struct elf_info *elf, in section_rela() argument
1574 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rela()
1578 static void section_rel(const char *modname, struct elf_info *elf, in section_rel() argument
1633 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rel()
1649 static void check_sec_ref(const char *modname, struct elf_info *elf) in check_sec_ref() argument
1656 check_section(modname, elf, &elf->sechdrs[i]); in check_sec_ref()
1659 section_rela(modname, elf, &elf->sechdrs[i]); in check_sec_ref()
1661 section_rel(modname, elf, &elf->sechdrs[i]); in check_sec_ref()
1775 static void read_symbols(const char *modname) in read_symbols() argument
1785 if (!parse_elf(&info, modname)) in read_symbols()
1788 if (!strends(modname, ".o")) { in read_symbols()
1789 error("%s: filename must be suffixed with .o\n", modname); in read_symbols()
1794 mod = new_module(modname, strlen(modname) - strlen(".o")); in read_symbols()
1799 error("missing MODULE_LICENSE() in %s\n", modname); in read_symbols()
1832 check_sec_ref(modname, &info); in read_symbols()
2224 char *symname, *namespace, *modname, *d, *export; in read_dump() local
2233 if (!(modname = strchr(symname, '\t'))) in read_dump()
2235 *modname++ = '\0'; in read_dump()
2236 if (!(export = strchr(modname, '\t'))) in read_dump()
2244 if (*symname == '\0' || *modname == '\0' || *d != '\0') in read_dump()
2256 mod = find_module(modname); in read_dump()
2258 mod = new_module(modname, strlen(modname)); in read_dump()