Lines Matching refs:ns
204 struct aa_namespace *ns; member
248 struct aa_profile *aa_lookup_profile(struct aa_namespace *ns, const char *name);
249 struct aa_profile *aa_match_profile(struct aa_namespace *ns, const char *name);
263 mutex_is_locked(&p->ns->lock)); in aa_deref_parent()
365 mutex_is_locked(&orig->ns->lock)); in __aa_update_replacedby()
378 static inline struct aa_namespace *aa_get_namespace(struct aa_namespace *ns) in aa_get_namespace() argument
380 if (ns) in aa_get_namespace()
381 aa_get_profile(ns->unconfined); in aa_get_namespace()
383 return ns; in aa_get_namespace()
392 static inline void aa_put_namespace(struct aa_namespace *ns) in aa_put_namespace() argument
394 if (ns) in aa_put_namespace()
395 aa_put_profile(ns->unconfined); in aa_put_namespace()