• Home
  • Raw
  • Download

Lines Matching refs:module

172 static struct module *find_module(const char *modname)  in find_module()
174 struct module *mod; in find_module()
183 static struct module *new_module(const char *name, size_t namelen) in new_module()
185 struct module *mod; in new_module()
214 struct module *module; member
260 static void sym_add_unresolved(const char *name, struct module *mod, bool weak) in sym_add_unresolved()
270 static struct symbol *sym_find_with_module(const char *name, struct module *mod) in sym_find_with_module()
279 if (strcmp(s->name, name) == 0 && (!mod || s->module == mod)) in sym_find_with_module()
360 static struct symbol *sym_add_exported(const char *name, struct module *mod, in sym_add_exported()
365 if (s && (!external_module || s->module->is_vmlinux || s->module == mod)) { in sym_add_exported()
367 mod->name, name, s->module->name, in sym_add_exported()
368 s->module->is_vmlinux ? "" : ".ko"); in sym_add_exported()
372 s->module = mod; in sym_add_exported()
622 static void handle_symbol(struct module *mod, struct elf_info *info, in handle_symbol()
1076 static void check_export_symbol(struct module *mod, struct elf_info *elf, in check_export_symbol()
1146 static void check_section_mismatch(struct module *mod, struct elf_info *elf, in check_section_mismatch()
1341 static void section_rela(struct module *mod, struct elf_info *elf, in section_rela()
1383 static void section_rel(struct module *mod, struct elf_info *elf, in section_rel()
1432 static void check_sec_ref(struct module *mod, struct elf_info *elf) in check_sec_ref()
1481 static void extract_crcs_for_object(const char *object, struct module *mod) in extract_crcs_for_object()
1549 static void mod_set_crcs(struct module *mod) in mod_set_crcs()
1581 struct module *mod; in read_symbols()
1697 static void check_exports(struct module *mod) in check_exports()
1711 if (exp->module == mod) { in check_exports()
1718 s->module = exp->module; in check_exports()
1769 static void check_modname_len(struct module *mod) in check_modname_len()
1785 static void add_header(struct buffer *b, struct module *mod) in add_header()
1818 static void add_exported_symbols(struct buffer *buf, struct module *mod) in add_exported_symbols()
1856 static void add_extended_versions(struct buffer *b, struct module *mod) in add_extended_versions()
1867 if (!s->module) in add_extended_versions()
1881 if (!s->module) in add_extended_versions()
1899 static void add_versions(struct buffer *b, struct module *mod) in add_versions()
1911 if (!s->module) in add_versions()
1935 static void add_depends(struct buffer *b, struct module *mod) in add_depends()
1942 if (s->module) in add_depends()
1943 s->module->seen = s->module->is_vmlinux; in add_depends()
1950 if (!s->module) in add_depends()
1953 if (s->module->seen) in add_depends()
1956 s->module->seen = true; in add_depends()
1957 p = strrchr(s->module->name, '/'); in add_depends()
1961 p = s->module->name; in add_depends()
1968 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion()
2034 static void write_vmlinux_export_c_file(struct module *mod) in write_vmlinux_export_c_file()
2047 static void write_mod_c_file(struct module *mod) in write_mod_c_file()
2090 struct module *mod; in read_dump()
2138 struct module *mod; in write_dump()
2160 struct module *mod; in write_namespace_deps_files()
2213 struct module *mod = find_module(name); in handle_protected_modules_list()
2227 struct module *mod; in write_protected_exports_c_file()
2279 struct module *mod; in main()