Lines Matching refs:aa_ns

26 struct aa_ns *root_ns;
37 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible()
61 const char *aa_ns_name(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_name()
87 static struct aa_ns *alloc_ns(const char *prefix, const char *name) in alloc_ns()
89 struct aa_ns *ns; in alloc_ns()
137 void aa_free_ns(struct aa_ns *ns) in aa_free_ns()
162 struct aa_ns *aa_findn_ns(struct aa_ns *root, const char *name, size_t n) in aa_findn_ns()
164 struct aa_ns *ns = NULL; in aa_findn_ns()
183 struct aa_ns *aa_find_ns(struct aa_ns *root, const char *name) in aa_find_ns()
200 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n) in __aa_lookupn_ns()
202 struct aa_ns *ns = view; in __aa_lookupn_ns()
231 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n) in aa_lookupn_ns()
233 struct aa_ns *ns = NULL; in aa_lookupn_ns()
242 static struct aa_ns *__aa_create_ns(struct aa_ns *parent, const char *name, in __aa_create_ns()
245 struct aa_ns *ns; in __aa_create_ns()
282 struct aa_ns *__aa_find_or_create_ns(struct aa_ns *parent, const char *name, in __aa_find_or_create_ns()
285 struct aa_ns *ns; in __aa_find_or_create_ns()
308 struct aa_ns *aa_prepare_ns(struct aa_ns *parent, const char *name) in aa_prepare_ns()
310 struct aa_ns *ns; in aa_prepare_ns()
330 static void destroy_ns(struct aa_ns *ns) in destroy_ns()
360 void __aa_remove_ns(struct aa_ns *ns) in __aa_remove_ns()
376 struct aa_ns *ns, *tmp; in __ns_list_release()
404 struct aa_ns *ns = root_ns; in aa_free_root_ns()