Lines Matching refs:module
111 static struct module *modules;
113 static struct module *find_module(char *modname) in find_module()
115 struct module *mod; in find_module()
123 static struct module *new_module(char *modname) in new_module()
125 struct module *mod; in new_module()
156 struct module *module; member
200 static struct symbol *new_symbol(const char *name, struct module *module, in new_symbol() argument
208 new->module = module; in new_symbol()
301 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported()
312 s->module->name, in sym_add_exported()
313 is_vmlinux(s->module->name) ?"":".ko"); in sym_add_exported()
316 s->module = mod; in sym_add_exported()
326 static void sym_update_crc(const char *name, struct module *mod, in sym_update_crc()
586 static void handle_modversions(struct module *mod, struct elf_info *info, in handle_modversions()
1659 static void check_sec_ref(struct module *mod, const char *modname, in check_sec_ref()
1681 struct module *mod; in read_symbols()
1811 static void check_exports(struct module *mod) in check_exports()
1818 if (!exp || exp->module == mod) in check_exports()
1834 static void add_header(struct buffer *b, struct module *mod) in add_header()
1866 static int add_versions(struct buffer *b, struct module *mod) in add_versions()
1873 if (!exp || exp->module == mod) { in add_versions()
1886 s->module = exp->module; in add_versions()
1900 if (!s->module) in add_versions()
1915 static void add_depends(struct buffer *b, struct module *mod, in add_depends()
1916 struct module *modules) in add_depends()
1919 struct module *m; in add_depends()
1932 if (!s->module) in add_depends()
1935 if (s->module->seen) in add_depends()
1938 s->module->seen = 1; in add_depends()
1939 p = strrchr(s->module->name, '/'); in add_depends()
1943 p = s->module->name; in add_depends()
1950 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion()
2019 struct module *mod; in read_dump()
2077 symbol->module->name, in write_dump()
2092 struct module *mod; in main()