Lines Matching refs:aa_namespace
93 struct aa_namespace *root_ns;
230 bool aa_ns_visible(struct aa_namespace *curr, struct aa_namespace *view) in aa_ns_visible()
249 const char *aa_ns_name(struct aa_namespace *curr, struct aa_namespace *view) in aa_ns_name()
274 static struct aa_namespace *alloc_namespace(const char *prefix, in alloc_namespace()
277 struct aa_namespace *ns; in alloc_namespace()
319 static void free_namespace(struct aa_namespace *ns) in free_namespace()
341 static struct aa_namespace *__aa_find_namespace(struct list_head *head, in __aa_find_namespace()
344 return (struct aa_namespace *)__policy_find(head, name); in __aa_find_namespace()
357 struct aa_namespace *aa_find_namespace(struct aa_namespace *root, in aa_find_namespace()
360 struct aa_namespace *ns = NULL; in aa_find_namespace()
375 static struct aa_namespace *aa_prepare_namespace(const char *name) in aa_prepare_namespace()
377 struct aa_namespace *ns, *root; in aa_prepare_namespace()
488 static void destroy_namespace(struct aa_namespace *ns) in destroy_namespace()
512 static void __remove_namespace(struct aa_namespace *ns) in __remove_namespace()
528 struct aa_namespace *ns, *tmp; in __ns_list_release()
555 struct aa_namespace *ns = root_ns; in aa_free_root_ns()
789 static struct aa_policy *__lookup_parent(struct aa_namespace *ns, in __lookup_parent()
852 struct aa_profile *aa_lookup_profile(struct aa_namespace *ns, const char *hname) in aa_lookup_profile()
1040 static int __lookup_replace(struct aa_namespace *ns, const char *hname, in __lookup_replace()
1071 struct aa_namespace *ns = NULL; in aa_replace_profiles()
1242 struct aa_namespace *root, *ns = NULL; in aa_remove_profiles()