Lines Matching refs:aa_ns
361 static struct aa_policy *__lookup_parent(struct aa_ns *ns, in __lookup_parent()
433 struct aa_profile *aa_lookupn_profile(struct aa_ns *ns, const char *hname, in aa_lookupn_profile()
452 struct aa_profile *aa_lookup_profile(struct aa_ns *ns, const char *hname) in aa_lookup_profile()
461 struct aa_ns *ns; in aa_fqlookupn_profile()
643 bool policy_view_capable(struct aa_ns *ns) in policy_view_capable()
646 struct aa_ns *view_ns = aa_get_current_ns(); in policy_view_capable()
663 bool policy_admin_capable(struct aa_ns *ns) in policy_admin_capable()
681 int aa_may_manage_policy(struct aa_label *label, struct aa_ns *ns, u32 mask) in aa_may_manage_policy()
797 static int __lookup_replace(struct aa_ns *ns, const char *hname, in __lookup_replace()
857 ssize_t aa_replace_profiles(struct aa_ns *policy_ns, struct aa_label *label, in aa_replace_profiles()
861 struct aa_ns *ns = NULL; in aa_replace_profiles()
1095 ssize_t aa_remove_profiles(struct aa_ns *policy_ns, struct aa_label *subj, in aa_remove_profiles()
1098 struct aa_ns *ns = NULL; in aa_remove_profiles()