Lines Matching refs:aa_ns
360 static struct aa_policy *__lookup_parent(struct aa_ns *ns, in __lookup_parent()
432 struct aa_profile *aa_lookupn_profile(struct aa_ns *ns, const char *hname, in aa_lookupn_profile()
451 struct aa_profile *aa_lookup_profile(struct aa_ns *ns, const char *hname) in aa_lookup_profile()
460 struct aa_ns *ns; in aa_fqlookupn_profile()
659 bool aa_policy_view_capable(struct aa_label *label, struct aa_ns *ns) in aa_policy_view_capable()
662 struct aa_ns *view_ns = labels_view(label); in aa_policy_view_capable()
678 bool aa_policy_admin_capable(struct aa_label *label, struct aa_ns *ns) in aa_policy_admin_capable()
690 bool aa_current_policy_view_capable(struct aa_ns *ns) in aa_current_policy_view_capable()
702 bool aa_current_policy_admin_capable(struct aa_ns *ns) in aa_current_policy_admin_capable()
721 int aa_may_manage_policy(struct aa_label *label, struct aa_ns *ns, u32 mask) in aa_may_manage_policy()
837 static int __lookup_replace(struct aa_ns *ns, const char *hname, in __lookup_replace()
897 ssize_t aa_replace_profiles(struct aa_ns *policy_ns, struct aa_label *label, in aa_replace_profiles()
901 struct aa_ns *ns = NULL; in aa_replace_profiles()
1140 ssize_t aa_remove_profiles(struct aa_ns *policy_ns, struct aa_label *subj, in aa_remove_profiles()
1143 struct aa_ns *ns = NULL; in aa_remove_profiles()