• Home
  • Raw
  • Download

Lines Matching refs:modname

152 static struct module *find_module(const char *modname)  in find_module()  argument
157 if (strcmp(mod->name, modname) == 0) in find_module()
162 static struct module *new_module(const char *modname) in new_module() argument
166 mod = NOFAIL(malloc(sizeof(*mod) + strlen(modname) + 1)); in new_module()
170 strcpy(mod->name, modname); in new_module()
171 mod->is_vmlinux = (strcmp(modname, "vmlinux") == 0); in new_module()
901 static void check_section(const char *modname, struct elf_info *elf, in check_section() argument
913 modname, sec); in check_section()
1030 void (*handler)(const char *modname, struct elf_info *elf,
1036 static void extable_mismatch_handler(const char *modname, struct elf_info *elf,
1440 static void report_sec_mismatch(const char *modname, in report_sec_mismatch() argument
1461 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1580 static void default_mismatch_handler(const char *modname, struct elf_info *elf, in default_mismatch_handler() argument
1603 report_sec_mismatch(modname, mismatch, in default_mismatch_handler()
1655 static void report_extable_warnings(const char* modname, struct elf_info* elf, in report_extable_warnings() argument
1676 modname, fromsec, (long)r->r_offset, from_pretty_name, in report_extable_warnings()
1693 static void extable_mismatch_handler(const char* modname, struct elf_info *elf, in extable_mismatch_handler() argument
1702 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec); in extable_mismatch_handler()
1710 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1729 static void check_section_mismatch(const char *modname, struct elf_info *elf, in check_section_mismatch() argument
1737 mismatch->handler(modname, elf, mismatch, in check_section_mismatch()
1740 default_mismatch_handler(modname, elf, mismatch, in check_section_mismatch()
1837 static void section_rela(const char *modname, struct elf_info *elf, in section_rela() argument
1879 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rela()
1883 static void section_rel(const char *modname, struct elf_info *elf, in section_rel() argument
1939 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rel()
1955 static void check_sec_ref(struct module *mod, const char *modname, in check_sec_ref() argument
1963 check_section(modname, elf, &elf->sechdrs[i]); in check_sec_ref()
1966 section_rela(modname, elf, &elf->sechdrs[i]); in check_sec_ref()
1968 section_rel(modname, elf, &elf->sechdrs[i]); in check_sec_ref()
1988 static void read_symbols(const char *modname) in read_symbols() argument
1998 if (!parse_elf(&info, modname)) in read_symbols()
2005 tmp = NOFAIL(strdup(modname)); in read_symbols()
2017 warn("missing MODULE_LICENSE() in %s\n", modname); in read_symbols()
2071 check_sec_ref(mod, modname, &info); in read_symbols()
2076 get_src_version(modname, mod->srcversion, in read_symbols()
2446 char *symname, *namespace, *modname, *d, *export; in read_dump() local
2454 if (!(modname = strchr(symname, '\t'))) in read_dump()
2456 *modname++ = '\0'; in read_dump()
2457 if (!(export = strchr(modname, '\t'))) in read_dump()
2465 if (*symname == '\0' || *modname == '\0' || *d != '\0') in read_dump()
2467 mod = find_module(modname); in read_dump()
2469 mod = new_module(modname); in read_dump()