Lines Matching refs:module

176 static struct module *find_module(const char *filename, const char *modname)  in find_module()
178 struct module *mod; in find_module()
188 static struct module *new_module(const char *name, size_t namelen) in new_module()
190 struct module *mod; in new_module()
220 struct module *module; member
253 static void sym_add_unresolved(const char *name, struct module *mod, bool weak) in sym_add_unresolved()
263 static struct symbol *sym_find_with_module(const char *name, struct module *mod) in sym_find_with_module()
272 if (strcmp(s->name, name) == 0 && (!mod || s->module == mod)) in sym_find_with_module()
351 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported()
356 if (s && (!external_module || s->module->is_vmlinux || s->module == mod)) { in sym_add_exported()
358 mod->name, name, s->module->name, in sym_add_exported()
359 s->module->is_vmlinux ? "" : ".ko"); in sym_add_exported()
363 s->module = mod; in sym_add_exported()
613 static void handle_symbol(struct module *mod, struct elf_info *info, in handle_symbol()
1066 static void check_export_symbol(struct module *mod, struct elf_info *elf, in check_export_symbol()
1136 static void check_section_mismatch(struct module *mod, struct elf_info *elf, in check_section_mismatch()
1331 static void section_rela(struct module *mod, struct elf_info *elf, in section_rela()
1373 static void section_rel(struct module *mod, struct elf_info *elf, in section_rel()
1422 static void check_sec_ref(struct module *mod, struct elf_info *elf) in check_sec_ref()
1471 static void extract_crcs_for_object(const char *object, struct module *mod) in extract_crcs_for_object()
1533 static void mod_set_crcs(struct module *mod) in mod_set_crcs()
1565 struct module *mod; in read_symbols()
1732 static void check_exports(struct module *mod) in check_exports()
1746 if (exp->module == mod) { in check_exports()
1753 s->module = exp->module; in check_exports()
1795 static void keep_no_trim_symbols(struct module *mod) in keep_no_trim_symbols()
1812 static void check_modname_len(struct module *mod) in check_modname_len()
1825 static void add_header(struct buffer *b, struct module *mod) in add_header()
1855 static void add_exported_symbols(struct buffer *buf, struct module *mod) in add_exported_symbols()
1893 static void add_extended_versions(struct buffer *b, struct module *mod) in add_extended_versions()
1904 if (!s->module) in add_extended_versions()
1918 if (!s->module) in add_extended_versions()
1936 static void add_versions(struct buffer *b, struct module *mod) in add_versions()
1948 if (!s->module) in add_versions()
1972 static void add_depends(struct buffer *b, struct module *mod) in add_depends()
1979 if (s->module) in add_depends()
1980 s->module->seen = s->module->is_vmlinux; in add_depends()
1987 if (!s->module) in add_depends()
1990 if (s->module->seen) in add_depends()
1993 s->module->seen = true; in add_depends()
1994 p = get_basename(s->module->name); in add_depends()
2001 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion()
2067 static void write_vmlinux_export_c_file(struct module *mod) in write_vmlinux_export_c_file()
2080 static void write_mod_c_file(struct module *mod) in write_mod_c_file()
2131 struct module *mod; in read_dump()
2179 struct module *mod; in write_dump()
2201 struct module *mod; in write_namespace_deps_files()
2248 struct module *mod; in main()