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 long accum_vec_flags(struct aa_profile **vec, int n) in accum_vec_flags()
219 return profile_cmp(*(struct aa_profile **)a, *(struct aa_profile **)b); in sort_cmp()
227 static inline int unique(struct aa_profile **vec, int n) in unique()
265 int aa_vec_unique(struct aa_profile **vec, int n, int flags) in aa_vec_unique()
274 sort(vec, n, sizeof(struct aa_profile *), sort_cmp, NULL); in aa_vec_unique()
281 struct aa_profile *tmp = vec[i]; in aa_vec_unique()
320 struct aa_profile *profile; in aa_label_destroy()
327 label->vec[i.i] = (struct aa_profile *) in aa_label_destroy()
499 struct aa_profile *__aa_label_next_not_in_set(struct label_it *I, in __aa_label_next_not_in_set()
567 struct aa_profile *p; in aa_label_is_unconfined_subset()
722 static struct aa_label *__vec_find(struct aa_profile **vec, int n) in __vec_find()
836 static struct aa_label *vec_find(struct aa_profile **vec, int n) in vec_find()
855 static struct aa_label *vec_create_and_insert_label(struct aa_profile **vec, in vec_create_and_insert_label()
889 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len, in aa_vec_find_or_create_label()
962 struct aa_profile *aa_label_next_in_merge(struct label_it *I, in aa_label_next_in_merge()
1008 struct aa_profile *p = NULL; in label_merge_cmp()
1055 struct aa_profile *next; in label_merge_insert()
1264 static inline aa_state_t match_component(struct aa_profile *profile, in match_component()
1266 struct aa_profile *tp, in match_component()
1297 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
1303 struct aa_profile *tp; in label_compound_match()
1357 static int label_components_match(struct aa_profile *profile, in label_components_match()
1363 struct aa_profile *tp; in label_components_match()
1418 int aa_label_match(struct aa_profile *profile, struct aa_ruleset *rules, in aa_label_match()
1513 struct aa_profile *profile, int flags, in aa_profile_snxprint()
1556 struct aa_profile *profile; in label_modename()
1590 struct aa_profile *profile; in display_mode()
1626 struct aa_profile *profile; in aa_label_snxprint()
1861 static struct aa_profile *fqlookupn_profile(struct aa_label *base, in fqlookupn_profile()