Lines Matching refs:aa_profile

137 static int profile_cmp(struct aa_profile *a, struct aa_profile *b)  in profile_cmp()
168 static int vec_cmp(struct aa_profile **a, int an, struct aa_profile **b, int bn) in vec_cmp()
189 static bool vec_is_stale(struct aa_profile **vec, int n) in vec_is_stale()
226 return profile_cmp(*(struct aa_profile **)a, *(struct aa_profile **)b); in sort_cmp()
234 static inline int unique(struct aa_profile **vec, int n) in unique()
273 int aa_vec_unique(struct aa_profile **vec, int n, int flags) in aa_vec_unique()
282 sort(vec, n, sizeof(struct aa_profile *), sort_cmp, NULL); in aa_vec_unique()
289 struct aa_profile *tmp = vec[i]; in aa_vec_unique()
328 struct aa_profile *profile; in aa_label_destroy()
335 label->vec[i.i] = (struct aa_profile *) in aa_label_destroy()
509 struct aa_profile *__aa_label_next_not_in_set(struct label_it *I, in __aa_label_next_not_in_set()
577 struct aa_profile *p; in aa_label_is_unconfined_subset()
734 static struct aa_label *__vec_find(struct aa_profile **vec, int n) in __vec_find()
848 static struct aa_label *vec_find(struct aa_profile **vec, int n) in vec_find()
867 static struct aa_label *vec_create_and_insert_label(struct aa_profile **vec, in vec_create_and_insert_label()
901 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len, in aa_vec_find_or_create_label()
957 struct aa_profile *aa_label_next_in_merge(struct label_it *I, in aa_label_next_in_merge()
1003 struct aa_profile *p = NULL; in label_merge_cmp()
1050 struct aa_profile *next; in label_merge_insert()
1257 static inline aa_state_t match_component(struct aa_profile *profile, in match_component()
1259 struct aa_profile *tp, in match_component()
1291 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
1297 struct aa_profile *tp; in label_compound_match()
1347 static int label_components_match(struct aa_profile *profile, in label_components_match()
1353 struct aa_profile *tp; in label_components_match()
1406 int aa_label_match(struct aa_profile *profile, struct aa_ruleset *rules, in aa_label_match()
1502 struct aa_profile *profile, int flags, in aa_profile_snxprint()
1545 struct aa_profile *profile; in label_modename()
1579 struct aa_profile *profile; in display_mode()
1615 struct aa_profile *profile; in aa_label_snxprint()
1834 static struct aa_profile *fqlookupn_profile(struct aa_label *base, in fqlookupn_profile()