• Home
  • Raw
  • Download

Lines Matching refs:module

123 static struct module *modules;
125 static struct module *find_module(const char *modname) in find_module()
127 struct module *mod; in find_module()
135 static struct module *new_module(const char *modname) in new_module()
137 struct module *mod; in new_module()
169 struct module *module; member
216 static struct symbol *new_symbol(const char *name, struct module *module, in new_symbol() argument
224 new->module = module; in new_symbol()
269 static bool module_imports_namespace(struct module *module, in module_imports_namespace() argument
272 return contains_namespace(module->imported_namespaces, namespace); in module_imports_namespace()
384 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported()
394 mod->name, name, s->module->name, in sym_add_exported()
395 is_vmlinux(s->module->name) ? "" : ".ko"); in sym_add_exported()
398 s->module = mod; in sym_add_exported()
408 static void sym_update_crc(const char *name, struct module *mod, in sym_update_crc()
685 static void handle_modversions(struct module *mod, struct elf_info *info, in handle_modversions()
1981 static void check_sec_ref(struct module *mod, const char *modname, in check_sec_ref()
2020 struct module *mod; in read_symbols()
2200 static int check_exports(struct module *mod) in check_exports()
2208 if (!exp || exp->module == mod) { in check_exports()
2246 static int check_modname_len(struct module *mod) in check_modname_len()
2266 static void add_header(struct buffer *b, struct module *mod) in add_header()
2314 static int add_versions(struct buffer *b, struct module *mod) in add_versions()
2321 if (!exp || exp->module == mod) in add_versions()
2323 s->module = exp->module; in add_versions()
2336 if (!s->module) in add_versions()
2358 static void add_depends(struct buffer *b, struct module *mod) in add_depends()
2365 if (s->module) in add_depends()
2366 s->module->seen = is_vmlinux(s->module->name); in add_depends()
2372 if (!s->module) in add_depends()
2375 if (s->module->seen) in add_depends()
2378 s->module->seen = 1; in add_depends()
2379 p = strrchr(s->module->name, '/'); in add_depends()
2383 p = s->module->name; in add_depends()
2390 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion()
2459 struct module *mod; in read_dump()
2527 symbol->module->name, in write_dump()
2539 struct module *mod; in write_namespace_deps_files()
2569 struct module *mod; in main()
2691 if (is_vmlinux(s->module->name) && !s->module->is_dot_o) in main()
2696 s->name, s->module->name, in main()