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