Lines Matching refs:aa_ns
29 struct aa_ns *root_ns;
40 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible()
64 const char *aa_ns_name(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_name()
105 static struct aa_ns *alloc_ns(const char *prefix, const char *name) in alloc_ns()
107 struct aa_ns *ns; in alloc_ns()
148 void aa_free_ns(struct aa_ns *ns) in aa_free_ns()
173 struct aa_ns *aa_findn_ns(struct aa_ns *root, const char *name, size_t n) in aa_findn_ns()
175 struct aa_ns *ns = NULL; in aa_findn_ns()
194 struct aa_ns *aa_find_ns(struct aa_ns *root, const char *name) in aa_find_ns()
211 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n) in __aa_lookupn_ns()
213 struct aa_ns *ns = view; in __aa_lookupn_ns()
242 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n) in aa_lookupn_ns()
244 struct aa_ns *ns = NULL; in aa_lookupn_ns()
253 static struct aa_ns *__aa_create_ns(struct aa_ns *parent, const char *name, in __aa_create_ns()
256 struct aa_ns *ns; in __aa_create_ns()
293 struct aa_ns *__aa_find_or_create_ns(struct aa_ns *parent, const char *name, in __aa_find_or_create_ns()
296 struct aa_ns *ns; in __aa_find_or_create_ns()
319 struct aa_ns *aa_prepare_ns(struct aa_ns *parent, const char *name) in aa_prepare_ns()
321 struct aa_ns *ns; in aa_prepare_ns()
341 static void destroy_ns(struct aa_ns *ns) in destroy_ns()
371 void __aa_remove_ns(struct aa_ns *ns) in __aa_remove_ns()
387 struct aa_ns *ns, *tmp; in __ns_list_release()
426 struct aa_ns *ns = root_ns; in aa_free_root_ns()