• Home
  • Raw
  • Download

Lines Matching refs:module

118 static struct module *modules;
120 static struct module *find_module(char *modname) in find_module()
122 struct module *mod; in find_module()
130 static struct module *new_module(const char *modname) in new_module()
132 struct module *mod; in new_module()
161 struct module *module; member
205 static struct symbol *new_symbol(const char *name, struct module *module, in new_symbol() argument
213 new->module = module; in new_symbol()
306 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported()
317 s->module->name, in sym_add_exported()
318 is_vmlinux(s->module->name) ?"":".ko"); in sym_add_exported()
321 s->module = mod; in sym_add_exported()
331 static void sym_update_crc(const char *name, struct module *mod, in sym_update_crc()
607 static void handle_modversions(struct module *mod, struct elf_info *info, in handle_modversions()
1911 static void check_sec_ref(struct module *mod, const char *modname, in check_sec_ref()
1945 struct module *mod; in read_symbols()
2096 static void check_exports(struct module *mod) in check_exports()
2103 if (!exp || exp->module == mod) in check_exports()
2119 static void add_header(struct buffer *b, struct module *mod) in add_header()
2170 static int add_versions(struct buffer *b, struct module *mod) in add_versions()
2177 if (!exp || exp->module == mod) { in add_versions()
2190 s->module = exp->module; in add_versions()
2204 if (!s->module) in add_versions()
2226 static void add_depends(struct buffer *b, struct module *mod, in add_depends()
2227 struct module *modules) in add_depends()
2230 struct module *m; in add_depends()
2243 if (!s->module) in add_depends()
2246 if (s->module->seen) in add_depends()
2249 s->module->seen = 1; in add_depends()
2250 p = strrchr(s->module->name, '/'); in add_depends()
2254 p = s->module->name; in add_depends()
2261 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion()
2330 struct module *mod; in read_dump()
2390 symbol->module->name, in write_dump()
2405 struct module *mod; in main()