Lines Matching refs: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;
123 struct aa_label { struct
153 int aa_label_next_confined(struct aa_label *l, int i); argument
277 void aa_label_destroy(struct aa_label *label);
278 void aa_label_free(struct aa_label *label);
280 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp);
281 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp);
283 bool aa_label_is_subset(struct aa_label *set, struct aa_label *sub);
284 bool aa_label_is_unconfined_subset(struct aa_label *set, struct aa_label *sub);
286 struct aa_label *set,
287 struct aa_label *sub);
288 bool aa_label_remove(struct aa_label *label);
289 struct aa_label *aa_label_insert(struct aa_labelset *ls, struct aa_label *l);
290 bool aa_label_replace(struct aa_label *old, struct aa_label *new);
291 bool aa_label_make_newest(struct aa_labelset *ls, struct aa_label *old,
292 struct aa_label *new);
294 struct aa_label *aa_label_find(struct aa_label *l);
297 struct aa_label *a,
298 struct aa_label *b);
299 struct aa_label *aa_label_find_merge(struct aa_label *a, struct aa_label *b);
300 struct aa_label *aa_label_merge(struct aa_label *a, struct aa_label *b,
304 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp);
312 struct aa_label *label, int flags);
313 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label,
316 struct aa_label *label, int flags, gfp_t gfp);
318 struct aa_label *label, int flags, gfp_t gfp);
320 struct aa_label *label, int flags, gfp_t gfp);
321 void aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags,
323 void aa_label_audit(struct audit_buffer *ab, struct aa_label *label, gfp_t gfp);
324 void aa_label_seq_print(struct seq_file *f, struct aa_label *label, gfp_t gfp);
325 void aa_label_printk(struct aa_label *label, gfp_t gfp);
327 struct aa_label *aa_label_strn_parse(struct aa_label *base, const char *str,
330 struct aa_label *aa_label_parse(struct aa_label *base, const char *str,
362 struct aa_label *label, aa_state_t state, bool subns,
374 static inline struct aa_label *__aa_get_label(struct aa_label *l) in __aa_get_label()
382 static inline struct aa_label *aa_get_label(struct aa_label *l) in aa_get_label()
398 static inline struct aa_label *aa_get_label_rcu(struct aa_label __rcu **l) in aa_get_label_rcu()
400 struct aa_label *c; in aa_get_label_rcu()
419 static inline struct aa_label *aa_get_newest_label(struct aa_label *l) in aa_get_newest_label()
425 struct aa_label *tmp; in aa_get_newest_label()
442 static inline void aa_put_label(struct aa_label *l) in aa_put_label()
449 struct aa_proxy *aa_alloc_proxy(struct aa_label *l, gfp_t gfp);
466 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new);