Lines Matching refs:namespace

213 	char *namespace;  member
292 char namespace[]; member
295 static bool contains_namespace(struct list_head *head, const char *namespace) in contains_namespace() argument
300 if (!strcmp(list->namespace, namespace)) in contains_namespace()
307 static void add_namespace(struct list_head *head, const char *namespace) in add_namespace() argument
311 if (!contains_namespace(head, namespace)) { in add_namespace()
313 strlen(namespace) + 1)); in add_namespace()
314 strcpy(ns_entry->namespace, namespace); in add_namespace()
354 static void sym_update_namespace(const char *symname, const char *namespace) in sym_update_namespace() argument
364 namespace, symname); in sym_update_namespace()
368 free(s->namespace); in sym_update_namespace()
369 s->namespace = namespace[0] ? NOFAIL(strdup(namespace)) : NULL; in sym_update_namespace()
1780 char *namespace; in read_symbols() local
1808 namespace = get_modinfo(&info, "import_ns"); in read_symbols()
1809 while (namespace) { in read_symbols()
1810 add_namespace(&mod->imported_namespaces, namespace); in read_symbols()
1811 namespace = get_next_modinfo(&info, "import_ns", in read_symbols()
1812 namespace); in read_symbols()
1936 if (exp->namespace && in check_exports()
1937 !contains_namespace(&mod->imported_namespaces, exp->namespace)) { in check_exports()
1940 basename, exp->name, exp->namespace); in check_exports()
1941 add_namespace(&mod->missing_namespaces, exp->namespace); in check_exports()
2224 char *symname, *namespace, *modname, *d, *export; in read_dump() local
2239 if (!(namespace = strchr(export, '\t'))) in read_dump()
2241 *namespace++ = '\0'; in read_dump()
2263 sym_update_namespace(symname, namespace); in read_dump()
2285 sym->namespace ?: ""); in write_dump()
2306 buf_printf(&ns_deps_buf, " %s", ns->namespace); in write_namespace_deps_files()