Lines Matching refs:aa_label
59 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len,
104 struct aa_label;
107 struct aa_label __rcu *label;
125 struct aa_label { struct
154 int aa_label_next_confined(struct aa_label *l, int i); argument
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);
285 struct aa_label *set,
286 struct aa_label *sub);
287 bool aa_label_remove(struct aa_label *label);
288 struct aa_label *aa_label_insert(struct aa_labelset *ls, struct aa_label *l);
289 bool aa_label_replace(struct aa_label *old, struct aa_label *new);
290 bool aa_label_make_newest(struct aa_labelset *ls, struct aa_label *old,
291 struct aa_label *new);
293 struct aa_label *aa_label_find(struct aa_label *l);
296 struct aa_label *a,
297 struct aa_label *b);
298 struct aa_label *aa_label_find_merge(struct aa_label *a, struct aa_label *b);
299 struct aa_label *aa_label_merge(struct aa_label *a, struct aa_label *b,
303 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp);
311 struct aa_label *label, int flags);
312 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label,
315 struct aa_label *label, int flags, gfp_t gfp);
317 struct aa_label *label, int flags, gfp_t gfp);
319 struct aa_label *label, int flags, gfp_t gfp);
320 void aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags,
322 void aa_label_audit(struct audit_buffer *ab, struct aa_label *label, gfp_t gfp);
323 void aa_label_seq_print(struct seq_file *f, struct aa_label *label, gfp_t gfp);
324 void aa_label_printk(struct aa_label *label, gfp_t gfp);
326 struct aa_label *aa_label_strn_parse(struct aa_label *base, const char *str,
329 struct aa_label *aa_label_parse(struct aa_label *base, const char *str,
359 int aa_label_match(struct aa_profile *profile, struct aa_label *label,
372 static inline struct aa_label *__aa_get_label(struct aa_label *l) in __aa_get_label()
380 static inline struct aa_label *aa_get_label(struct aa_label *l) in aa_get_label()
396 static inline struct aa_label *aa_get_label_rcu(struct aa_label __rcu **l) in aa_get_label_rcu()
398 struct aa_label *c; in aa_get_label_rcu()
417 static inline struct aa_label *aa_get_newest_label(struct aa_label *l) in aa_get_newest_label()
423 struct aa_label *tmp; in aa_get_newest_label()
440 static inline void aa_put_label(struct aa_label *l) in aa_put_label()
447 struct aa_proxy *aa_alloc_proxy(struct aa_label *l, gfp_t gfp);
464 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new);