Lines Matching refs:aa_profile
135 static int profile_cmp(struct aa_profile *a, struct aa_profile *b) in profile_cmp()
166 static int vec_cmp(struct aa_profile **a, int an, struct aa_profile **b, int bn) in vec_cmp()
187 static bool vec_is_stale(struct aa_profile **vec, int n) in vec_is_stale()
201 static long accum_vec_flags(struct aa_profile **vec, int n) in accum_vec_flags()
220 return profile_cmp(*(struct aa_profile **)a, *(struct aa_profile **)b); in sort_cmp()
228 static inline int unique(struct aa_profile **vec, int n) in unique()
267 int aa_vec_unique(struct aa_profile **vec, int n, int flags) in aa_vec_unique()
276 sort(vec, n, sizeof(struct aa_profile *), sort_cmp, NULL); in aa_vec_unique()
283 struct aa_profile *tmp = vec[i]; in aa_vec_unique()
322 struct aa_profile *profile; in aa_label_destroy()
329 label->vec[i.i] = (struct aa_profile *) in aa_label_destroy()
501 struct aa_profile *__aa_label_next_not_in_set(struct label_it *I, in __aa_label_next_not_in_set()
569 struct aa_profile *p; in aa_label_is_unconfined_subset()
724 static struct aa_label *__vec_find(struct aa_profile **vec, int n) in __vec_find()
838 static struct aa_label *vec_find(struct aa_profile **vec, int n) in vec_find()
857 static struct aa_label *vec_create_and_insert_label(struct aa_profile **vec, in vec_create_and_insert_label()
891 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len, in aa_vec_find_or_create_label()
964 struct aa_profile *aa_label_next_in_merge(struct label_it *I, in aa_label_next_in_merge()
1010 struct aa_profile *p = NULL; in label_merge_cmp()
1057 struct aa_profile *next; in label_merge_insert()
1265 static inline aa_state_t match_component(struct aa_profile *profile, in match_component()
1267 struct aa_profile *tp, in match_component()
1299 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
1305 struct aa_profile *tp; in label_compound_match()
1359 static int label_components_match(struct aa_profile *profile, in label_components_match()
1365 struct aa_profile *tp; in label_components_match()
1420 int aa_label_match(struct aa_profile *profile, struct aa_ruleset *rules, in aa_label_match()
1515 struct aa_profile *profile, int flags, in aa_profile_snxprint()
1558 struct aa_profile *profile; in label_modename()
1592 struct aa_profile *profile; in display_mode()
1628 struct aa_profile *profile; in aa_label_snxprint()
1863 static struct aa_profile *fqlookupn_profile(struct aa_label *base, in fqlookupn_profile()