• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/scripts/mod/

Lines Matching defs:modname

88 static int is_vmlinux(const char *modname)
92 myname = strrchr(modname, '/');
96 myname = modname;
113 static struct module *find_module(char *modname)
118 if (strcmp(mod->name, modname) == 0)
123 static struct module *new_module(char *modname)
130 p = NOFAIL(strdup(modname));
808 static void check_section(const char *modname, struct elf_info *elf,
820 modname, sec);
1252 static void report_sec_mismatch(const char *modname,
1283 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec,
1404 static void check_section_mismatch(const char *modname, struct elf_info *elf,
1426 report_sec_mismatch(modname, mismatch,
1508 static void section_rela(const char *modname, struct elf_info *elf,
1548 check_section_mismatch(modname, elf, &r, sym, fromsec);
1552 static void section_rel(const char *modname, struct elf_info *elf,
1606 check_section_mismatch(modname, elf, &r, sym, fromsec);
1622 static void check_sec_ref(struct module *mod, const char *modname,
1630 check_section(modname, elf, &elf->sechdrs[i]);
1633 section_rela(modname, elf, &elf->sechdrs[i]);
1635 section_rel(modname, elf, &elf->sechdrs[i]);
1639 static void read_symbols(char *modname)
1648 if (!parse_elf(&info, modname))
1651 mod = new_module(modname);
1655 if (is_vmlinux(modname)) {
1661 if (info.modinfo && !license && !is_vmlinux(modname))
1664 "more information\n", modname);
1682 if (!is_vmlinux(modname) ||
1683 (is_vmlinux(modname) && vmlinux_section_warnings))
1684 check_sec_ref(mod, modname, &info);
1688 maybe_frob_rcs_version(modname, version, info.modinfo,
1690 if (version || (all_versions && !is_vmlinux(modname)))
1691 get_src_version(modname, mod->srcversion,
1980 char *symname, *modname, *d, *export, *end;
1988 if (!(modname = strchr(symname, '\t')))
1990 *modname++ = '\0';
1991 if ((export = strchr(modname, '\t')) != NULL)
1996 if (*symname == '\0' || *modname == '\0' || *d != '\0')
1998 mod = find_module(modname);
2000 if (is_vmlinux(modname))
2002 mod = new_module(modname);