Lines Matching refs:aa_profile

135 static int profile_cmp(struct aa_profile *a, struct aa_profile *b)  in profile_cmp()
165 static int vec_cmp(struct aa_profile **a, int an, struct aa_profile **b, int bn) in vec_cmp()
186 static bool vec_is_stale(struct aa_profile **vec, int n) in vec_is_stale()
200 static bool vec_unconfined(struct aa_profile **vec, int n) in vec_unconfined()
216 return profile_cmp(*(struct aa_profile **)a, *(struct aa_profile **)b); in sort_cmp()
224 static inline int unique(struct aa_profile **vec, int n) in unique()
262 int aa_vec_unique(struct aa_profile **vec, int n, int flags) in aa_vec_unique()
271 sort(vec, n, sizeof(struct aa_profile *), sort_cmp, NULL); in aa_vec_unique()
278 struct aa_profile *tmp = vec[i]; in aa_vec_unique()
317 struct aa_profile *profile; in aa_label_destroy()
324 label->vec[i.i] = (struct aa_profile *) in aa_label_destroy()
496 struct aa_profile *__aa_label_next_not_in_set(struct label_it *I, in __aa_label_next_not_in_set()
564 struct aa_profile *p; in aa_label_is_unconfined_subset()
719 static struct aa_label *__vec_find(struct aa_profile **vec, int n) in __vec_find()
833 static struct aa_label *vec_find(struct aa_profile **vec, int n) in vec_find()
852 static struct aa_label *vec_create_and_insert_label(struct aa_profile **vec, in vec_create_and_insert_label()
886 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len, in aa_vec_find_or_create_label()
959 struct aa_profile *aa_label_next_in_merge(struct label_it *I, in aa_label_next_in_merge()
1005 struct aa_profile *p = NULL; in label_merge_cmp()
1052 struct aa_profile *next; in label_merge_insert()
1257 static inline bool label_is_visible(struct aa_profile *profile, in label_is_visible()
1268 static inline unsigned int match_component(struct aa_profile *profile, in match_component()
1269 struct aa_profile *tp, in match_component()
1300 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
1305 struct aa_profile *tp; in label_compound_match()
1358 static int label_components_match(struct aa_profile *profile, in label_components_match()
1363 struct aa_profile *tp; in label_components_match()
1417 int aa_label_match(struct aa_profile *profile, struct aa_label *label, in aa_label_match()
1512 struct aa_profile *profile, int flags, in aa_profile_snxprint()
1555 struct aa_profile *profile; in label_modename()
1589 struct aa_profile *profile; in display_mode()
1625 struct aa_profile *profile; in aa_label_snxprint()
1860 static struct aa_profile *fqlookupn_profile(struct aa_label *base, in fqlookupn_profile()