Lines Matching refs:namespace

219 	char *namespace;  member
283 char namespace[]; member
286 static bool contains_namespace(struct list_head *head, const char *namespace) in contains_namespace() argument
294 if (!namespace[0]) in contains_namespace()
298 if (!strcmp(list->namespace, namespace)) in contains_namespace()
305 static void add_namespace(struct list_head *head, const char *namespace) in add_namespace() argument
309 if (!contains_namespace(head, namespace)) { in add_namespace()
310 ns_entry = xmalloc(sizeof(*ns_entry) + strlen(namespace) + 1); in add_namespace()
311 strcpy(ns_entry->namespace, namespace); in add_namespace()
350 bool gpl_only, const char *namespace) in sym_add_exported() argument
363 s->namespace = xstrdup(namespace); in sym_add_exported()
1562 char *namespace; in read_symbols() local
1598 namespace = get_modinfo(&info, "import_ns"); in read_symbols()
1599 while (namespace) { in read_symbols()
1600 add_namespace(&mod->imported_namespaces, namespace); in read_symbols()
1601 namespace = get_next_modinfo(&info, "import_ns", in read_symbols()
1602 namespace); in read_symbols()
1714 if (!contains_namespace(&mod->imported_namespaces, exp->namespace)) { in check_exports()
1717 basename, exp->name, exp->namespace); in check_exports()
1718 add_namespace(&mod->missing_namespaces, exp->namespace); in check_exports()
1821 sym->is_gpl_only ? "_gpl" : "", sym->namespace); in add_exported_symbols()
2083 char *symname, *namespace, *modname, *d, *export; in read_dump() local
2098 if (!(namespace = strchr(export, '\t'))) in read_dump()
2100 *namespace++ = '\0'; in read_dump()
2120 s = sym_add_exported(symname, mod, gpl_only, namespace); in read_dump()
2146 sym->namespace); in write_dump()
2167 buf_printf(&ns_deps_buf, " %s", ns->namespace); in write_namespace_deps_files()