Lines Matching defs:label
28 #include "label.h"
51 #define PROFILE_IS_HAT(_profile) ((_profile)->label.flags & FLAG_HAT)
53 #define CHECK_DEBUG1(_profile) ((_profile)->label.flags & FLAG_DEBUG1)
55 #define CHECK_DEBUG2(_profile) ((_profile)->label.flags & FLAG_DEBUG2)
57 #define profile_is_stale(_profile) (label_is_stale(&(_profile)->label))
134 * @secmark: secmark label match info
170 * @label - label this profile is an extension of
218 struct aa_label label;
251 ssize_t aa_replace_profiles(struct aa_ns *view, struct aa_label *label,
253 ssize_t aa_remove_profiles(struct aa_ns *view, struct aa_label *label,
263 * aa_get_newest_profile - simple wrapper fn to wrap the label version
272 return labels_profile(aa_get_newest_label(&p->label));
315 kref_get(&(p->label.count));
329 if (p && kref_get_unless_zero(&p->label.count))
349 } while (c && !kref_get_unless_zero(&c->label.count));
362 kref_put(&p->label.count, aa_label_kref);
374 struct aa_label *label, struct aa_ns *ns);
376 struct aa_label *label, struct aa_ns *ns);
378 struct aa_label *label, struct aa_ns *ns,