Searched refs:vec (Results 1 – 3 of 3) sorted by relevance
186 static bool vec_is_stale(struct aa_profile **vec, int n) in vec_is_stale() argument190 AA_BUG(!vec); in vec_is_stale()193 if (profile_is_stale(vec[i])) in vec_is_stale()200 static bool vec_unconfined(struct aa_profile **vec, int n) in vec_unconfined() argument204 AA_BUG(!vec); in vec_unconfined()207 if (!profile_unconfined(vec[i])) in vec_unconfined()224 static inline int unique(struct aa_profile **vec, int n) in unique() argument229 AA_BUG(!vec); in unique()233 int res = profile_cmp(vec[pos], vec[i]); in unique()238 aa_put_profile(vec[i]); in unique()[all …]
284 profile->label.vec[0] = profile; in aa_alloc_profile()
58 int aa_vec_unique(struct aa_profile **vec, int n, int flags);59 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len,134 struct aa_profile *vec[]; member149 #define labels_ns(X) (vec_ns(&((X)->vec[0]), (X)->size))151 #define labels_profile(X) ((X)->vec[(X)->size - 1])158 for ((I).i = 0; ((P) = (L)->vec[(I).i]); ++((I).i))162 for (++((I).i); ((P) = (L)->vec[(I).i]); ++((I).i))177 ((P1) = (L1)->vec[(I).i]) && ((P2) = (L2)->vec[(I).j]); \193 ((P) = (L)->vec[(I).i]); \209 while ((L)->vec[___i] && (L)->vec[___i]->ns != (NS)) \[all …]