Lines Matching defs:aa_label
59 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len,
102 struct aa_label;
105 struct aa_label __rcu *label;
112 /* struct aa_label - lazy labeling struct
123 struct aa_label {
153 int aa_label_next_confined(struct aa_label *l, int i);
253 void aa_label_destroy(struct aa_label *label);
254 void aa_label_free(struct aa_label *label);
256 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp);
257 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp);
259 bool aa_label_is_subset(struct aa_label *set, struct aa_label *sub);
260 bool aa_label_is_unconfined_subset(struct aa_label *set, struct aa_label *sub);
262 struct aa_label *set,
263 struct aa_label *sub);
264 bool aa_label_remove(struct aa_label *label);
265 struct aa_label *aa_label_insert(struct aa_labelset *ls, struct aa_label *l);
266 bool aa_label_replace(struct aa_label *old, struct aa_label *new);
267 bool aa_label_make_newest(struct aa_labelset *ls, struct aa_label *old,
268 struct aa_label *new);
271 struct aa_label *a,
272 struct aa_label *b);
273 struct aa_label *aa_label_find_merge(struct aa_label *a, struct aa_label *b);
274 struct aa_label *aa_label_merge(struct aa_label *a, struct aa_label *b,
278 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp);
286 struct aa_label *label, int flags);
287 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label,
290 struct aa_label *label, int flags, gfp_t gfp);
292 struct aa_label *label, int flags, gfp_t gfp);
294 struct aa_label *label, int flags, gfp_t gfp);
295 void aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags,
297 void aa_label_printk(struct aa_label *label, gfp_t gfp);
299 struct aa_label *aa_label_strn_parse(struct aa_label *base, const char *str,
302 struct aa_label *aa_label_parse(struct aa_label *base, const char *str,
334 struct aa_label *label, aa_state_t state, bool subns,
346 static inline struct aa_label *__aa_get_label(struct aa_label *l)
354 static inline struct aa_label *aa_get_label(struct aa_label *l)
370 static inline struct aa_label *aa_get_label_rcu(struct aa_label __rcu **l)
372 struct aa_label *c;
391 static inline struct aa_label *aa_get_newest_label(struct aa_label *l)
397 struct aa_label *tmp;
414 static inline void aa_put_label(struct aa_label *l)
421 struct aa_proxy *aa_alloc_proxy(struct aa_label *l, gfp_t gfp);
438 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new);