Lines Matching refs:aa_label

63 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len,
108 struct aa_label;
111 struct aa_label __rcu *label;
129 struct aa_label { struct
158 int aa_label_next_confined(struct aa_label *l, int i); argument
282 void aa_label_free(struct aa_label *label);
284 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp);
285 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp);
287 bool aa_label_is_subset(struct aa_label *set, struct aa_label *sub);
289 struct aa_label *set,
290 struct aa_label *sub);
291 bool aa_label_remove(struct aa_label *label);
292 struct aa_label *aa_label_insert(struct aa_labelset *ls, struct aa_label *l);
293 bool aa_label_replace(struct aa_label *old, struct aa_label *new);
294 bool aa_label_make_newest(struct aa_labelset *ls, struct aa_label *old,
295 struct aa_label *new);
297 struct aa_label *aa_label_find(struct aa_label *l);
300 struct aa_label *a,
301 struct aa_label *b);
302 struct aa_label *aa_label_find_merge(struct aa_label *a, struct aa_label *b);
303 struct aa_label *aa_label_merge(struct aa_label *a, struct aa_label *b,
307 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp);
315 struct aa_label *label, int flags);
316 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label,
319 struct aa_label *label, int flags, gfp_t gfp);
321 struct aa_label *label, int flags, gfp_t gfp);
323 struct aa_label *label, int flags, gfp_t gfp);
324 void aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags,
326 void aa_label_audit(struct audit_buffer *ab, struct aa_label *label, gfp_t gfp);
327 void aa_label_seq_print(struct seq_file *f, struct aa_label *label, gfp_t gfp);
328 void aa_label_printk(struct aa_label *label, gfp_t gfp);
330 struct aa_label *aa_label_strn_parse(struct aa_label *base, const char *str,
333 struct aa_label *aa_label_parse(struct aa_label *base, const char *str,
363 int aa_label_match(struct aa_profile *profile, struct aa_label *label,
376 static inline struct aa_label *__aa_get_label(struct aa_label *l) in __aa_get_label()
384 static inline struct aa_label *aa_get_label(struct aa_label *l) in aa_get_label()
400 static inline struct aa_label *aa_get_label_rcu(struct aa_label __rcu **l) in aa_get_label_rcu()
402 struct aa_label *c; in aa_get_label_rcu()
421 static inline struct aa_label *aa_get_newest_label(struct aa_label *l) in aa_get_newest_label()
427 struct aa_label *tmp; in aa_get_newest_label()
444 static inline void aa_put_label(struct aa_label *l) in aa_put_label()
451 struct aa_proxy *aa_alloc_proxy(struct aa_label *l, gfp_t gfp);
468 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new);