• 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()
2000 static void check_sec_ref(struct module *mod, const char *modname, in check_sec_ref()
2039 struct module *mod; in read_symbols()
2219 static int check_exports(struct module *mod) in check_exports()
2227 if (!exp || exp->module == mod) { in check_exports()
2265 static int check_modname_len(struct module *mod) in check_modname_len()
2285 static void add_header(struct buffer *b, struct module *mod) in add_header()
2337 static int add_versions(struct buffer *b, struct module *mod) in add_versions()
2344 if (!exp || exp->module == mod) in add_versions()
2346 s->module = exp->module; in add_versions()
2359 if (!s->module) in add_versions()
2381 static void add_depends(struct buffer *b, struct module *mod) in add_depends()
2388 if (s->module) in add_depends()
2389 s->module->seen = is_vmlinux(s->module->name); in add_depends()
2395 if (!s->module) in add_depends()
2398 if (s->module->seen) in add_depends()
2401 s->module->seen = 1; in add_depends()
2402 p = strrchr(s->module->name, '/'); in add_depends()
2406 p = s->module->name; in add_depends()
2413 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion()
2482 struct module *mod; in read_dump()
2549 symbol->module->name, in write_dump()
2562 struct module *mod; in write_namespace_deps_files()
2592 struct module *mod; in main()
2714 if (is_vmlinux(s->module->name) && !s->module->is_dot_o) in main()
2719 s->name, s->module->name, in main()