• Home
  • Raw
  • Download

Lines Matching refs:module

155 static struct module *modules;
157 static struct module *find_module(const char *modname) in find_module()
159 struct module *mod; in find_module()
167 static struct module *new_module(const char *modname) in new_module()
169 struct module *mod; in new_module()
194 struct module *module; member
237 static struct symbol *new_symbol(const char *name, struct module *module, in new_symbol() argument
286 static bool module_imports_namespace(struct module *module, in module_imports_namespace() argument
289 return contains_namespace(module->imported_namespaces, namespace); in module_imports_namespace()
417 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported()
424 } else if (!external_module || s->module->is_vmlinux || in sym_add_exported()
425 s->module == mod) { in sym_add_exported()
427 mod->name, name, s->module->name, in sym_add_exported()
428 s->module->is_vmlinux ? "" : ".ko"); in sym_add_exported()
431 s->module = mod; in sym_add_exported()
675 static void handle_modversion(const struct module *mod, in handle_modversion()
699 static void handle_symbol(struct module *mod, struct elf_info *info, in handle_symbol()
1977 static void check_sec_ref(struct module *mod, const char *modname, in check_sec_ref()
2016 struct module *mod; in read_symbols()
2199 static void check_exports(struct module *mod) in check_exports()
2206 if (!exp || exp->module == mod) { in check_exports()
2233 static void check_modname_len(struct module *mod) in check_modname_len()
2249 static void add_header(struct buffer *b, struct module *mod) in add_header()
2316 static void add_versions(struct buffer *b, struct module *mod) in add_versions()
2322 if (!exp || exp->module == mod) in add_versions()
2324 s->module = exp->module; in add_versions()
2337 if (!s->module) in add_versions()
2356 static void add_depends(struct buffer *b, struct module *mod) in add_depends()
2363 if (s->module) in add_depends()
2364 s->module->seen = s->module->is_vmlinux; in add_depends()
2370 if (!s->module) in add_depends()
2373 if (s->module->seen) in add_depends()
2376 s->module->seen = 1; in add_depends()
2377 p = strrchr(s->module->name, '/'); in add_depends()
2381 p = s->module->name; in add_depends()
2388 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion()
2468 struct module *mod; in read_dump()
2514 if (!symbol->module->from_dump) { in write_dump()
2518 symbol->module->name, in write_dump()
2531 struct module *mod; in write_namespace_deps_files()
2559 struct module *mod; in main()
2675 s->name, s->module->name, in main()