Lines Matching refs:aa_label

22 static inline struct aa_label *cred_label(const struct cred *cred)  in cred_label()
24 struct aa_label **blob = cred->security + apparmor_blob_sizes.lbs_cred; in cred_label()
31 struct aa_label *label) in set_cred_label()
33 struct aa_label **blob = cred->security + apparmor_blob_sizes.lbs_cred; in set_cred_label()
47 static inline struct aa_label *aa_cred_raw_label(const struct cred *cred) in aa_cred_raw_label()
49 struct aa_label *label = cred_label(cred); in aa_cred_raw_label()
61 static inline struct aa_label *aa_get_newest_cred_label(const struct cred *cred) in aa_get_newest_cred_label()
66 static inline struct aa_label *aa_get_newest_cred_label_condref(const struct cred *cred, in aa_get_newest_cred_label_condref()
69 struct aa_label *l = aa_cred_raw_label(cred); in aa_get_newest_cred_label_condref()
80 static inline void aa_put_label_condref(struct aa_label *l, bool needput) in aa_put_label_condref()
94 static inline struct aa_label *aa_current_raw_label(void) in aa_current_raw_label()
108 static inline struct aa_label *aa_get_current_label(void) in aa_get_current_label()
110 struct aa_label *l = aa_current_raw_label(); in aa_get_current_label()
124 static inline void __end_current_label_crit_section(struct aa_label *label, in __end_current_label_crit_section()
139 static inline void end_current_label_crit_section(struct aa_label *label) in end_current_label_crit_section()
158 static inline struct aa_label *__begin_current_label_crit_section(bool *needput) in __begin_current_label_crit_section()
160 struct aa_label *label = aa_current_raw_label(); in __begin_current_label_crit_section()
183 static inline struct aa_label *begin_current_label_crit_section(void) in begin_current_label_crit_section()
185 struct aa_label *label = aa_current_raw_label(); in begin_current_label_crit_section()
201 struct aa_label *label; in aa_get_current_ns()