Lines Matching refs:label
52 #define PROFILE_IS_HAT(_profile) ((_profile)->label.flags & FLAG_HAT)
54 #define CHECK_DEBUG1(_profile) ((_profile)->label.flags & FLAG_DEBUG1)
56 #define CHECK_DEBUG2(_profile) ((_profile)->label.flags & FLAG_DEBUG2)
58 #define profile_is_stale(_profile) (label_is_stale(&(_profile)->label))
257 struct aa_label label; member
283 ssize_t aa_replace_profiles(struct aa_ns *view, struct aa_label *label,
285 ssize_t aa_remove_profiles(struct aa_ns *view, struct aa_label *label,
301 return labels_profile(aa_get_newest_label(&p->label)); in aa_get_newest_profile()
339 return label_mediates(&profile->label, class); in profile_mediates()
345 return label_mediates_safe(&profile->label, class); in profile_mediates_safe()
358 kref_get(&(p->label.count)); in aa_get_profile()
372 if (p && kref_get_unless_zero(&p->label.count)) in aa_get_profile_not0()
392 } while (c && !kref_get_unless_zero(&c->label.count)); in aa_get_profile_rcu()
405 kref_put(&p->label.count, aa_label_kref); in aa_put_profile()
417 struct aa_label *label, struct aa_ns *ns);
419 struct aa_label *label, struct aa_ns *ns);
421 struct aa_label *label, struct aa_ns *ns,