Function report |
Source Code:kernel\module.c |
Create Date:2022-07-28 10:58:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:verify_namespace_is_imported
Proto:static int verify_namespace_is_imported(const struct load_info *info, const struct kernel_symbol *sym, struct module *mod)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct load_info * | info | |
const struct kernel_symbol * | sym | |
struct module * | mod |
1407 | namespace = kernel_symbol_namespace(sym) |
1409 | imported_namespace = get_modinfo(info, "import_ns") |
1410 | When imported_namespace cycle |
1411 | If strcmp(namespace, imported_namespace) == 0 Then Return 0 |
1413 | imported_namespace = get_next_modinfo(info, "import_ns", imported_namespace) |
1419 | pr_err("%s: module uses symbol (%s) from namespace %s, but does not import it.\n", Unique handle for this module , kernel_symbol_name(sym), namespace) |
1424 | Return -EINVAL |
1427 | Return 0 |
Name | Describe |
---|---|
resolve_symbol | Resolve a symbol for this module. I.e. if we find one, record usage. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |