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()
45 static inline struct aa_label *aa_get_newest_cred_label(const struct cred *cred) in aa_get_newest_cred_label()
50 static inline struct aa_label *aa_get_newest_cred_label_condref(const struct cred *cred, in aa_get_newest_cred_label_condref()
53 struct aa_label *l = cred_label(cred); in aa_get_newest_cred_label_condref()
64 static inline void aa_put_label_condref(struct aa_label *l, bool needput) in aa_put_label_condref()
78 static inline struct aa_label *aa_current_raw_label(void) in aa_current_raw_label()
92 static inline struct aa_label *aa_get_current_label(void) in aa_get_current_label()
94 struct aa_label *l = aa_current_raw_label(); in aa_get_current_label()
112 static inline void __end_cred_crit_section(struct aa_label *label, in __end_cred_crit_section()
149 static inline struct aa_label *__begin_cred_crit_section(const struct cred *cred, in __begin_cred_crit_section()
152 struct aa_label *label = cred_label(cred); in __begin_cred_crit_section()
171 static inline void __end_current_label_crit_section(struct aa_label *label, in __end_current_label_crit_section()
185 static inline void end_current_label_crit_section(struct aa_label *label) in end_current_label_crit_section()
204 static inline struct aa_label *__begin_current_label_crit_section(bool *needput) in __begin_current_label_crit_section()
221 static inline struct aa_label *begin_current_label_crit_section(void) in begin_current_label_crit_section()
223 struct aa_label *label = aa_current_raw_label(); in begin_current_label_crit_section()
239 struct aa_label *label; in aa_get_current_ns()