Lines Matching defs:aa_profile
168 /* struct aa_profile - basic confinement data
198 struct aa_profile {
200 struct aa_profile __rcu *parent;
230 void aa_add_profile(struct aa_policy *common, struct aa_profile *profile);
235 struct aa_profile *aa_alloc_profile(const char *name, struct aa_proxy *proxy,
237 struct aa_profile *aa_alloc_null(struct aa_profile *parent, const char *name,
239 struct aa_profile *aa_new_learning_profile(struct aa_profile *parent, bool hat,
241 void aa_free_profile(struct aa_profile *profile);
243 struct aa_profile *aa_find_child(struct aa_profile *parent, const char *name);
244 struct aa_profile *aa_lookupn_profile(struct aa_ns *ns, const char *hname,
246 struct aa_profile *aa_lookup_profile(struct aa_ns *ns, const char *name);
247 struct aa_profile *aa_fqlookupn_profile(struct aa_label *base,
249 struct aa_profile *aa_match_profile(struct aa_ns *ns, const char *name);
270 static inline struct aa_profile *aa_get_newest_profile(struct aa_profile *p)
312 static inline struct aa_profile *aa_get_profile(struct aa_profile *p)
327 static inline struct aa_profile *aa_get_profile_not0(struct aa_profile *p)
342 static inline struct aa_profile *aa_get_profile_rcu(struct aa_profile __rcu **p)
344 struct aa_profile *c;
359 static inline void aa_put_profile(struct aa_profile *p)
365 static inline int AUDIT_MODE(struct aa_profile *profile)