Searched refs:vec (Results 1 – 3 of 3) sorted by relevance
| /security/apparmor/ |
| A D | label.c | 191 AA_BUG(!vec); in vec_is_stale() 237 AA_BUG(!vec); in unique() 241 int res = profile_cmp(vec[pos], vec[i]); in unique() 252 vec[pos] = vec[i]; in unique() 305 vec[j] = vec[j - 1]; in aa_vec_unique() 479 return vec_cmp(a->vec, a->size, b->vec, b->size); in label_cmp() 518 int res = profile_cmp(sub->vec[I->j], set->vec[I->i]); in __aa_label_next_not_in_set() 741 int result = vec_cmp(this->vec, this->size, vec, n); in __vec_find() 887 new->vec[i] = aa_get_profile(vec[i]); in vec_create_and_insert_label() 967 int res = profile_cmp(a->vec[I->i], b->vec[I->j]); in aa_label_next_in_merge() [all …]
|
| A D | policy.c | 364 profile->label.vec[0] = profile; in aa_alloc_profile()
|
| /security/apparmor/include/ |
| A D | label.h | 59 int aa_vec_unique(struct aa_profile **vec, int n, int flags); 60 struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len, 146 DECLARE_FLEX_ARRAY(struct aa_profile *, vec); 162 #define labels_ns(X) (vec_ns(&((X)->vec[0]), (X)->size)) 165 #define labels_profile(X) ((X)->vec[(X)->size - 1]) 172 for ((I).i = 0; ((P) = (L)->vec[(I).i]); ++((I).i)) 176 for (++((I).i); ((P) = (L)->vec[(I).i]); ++((I).i)) 183 ((P) = (L)->vec[(I).i]); \ 199 while ((L)->vec[___i] && (L)->vec[___i]->ns != (NS)) \ 206 ((P) = (L)->vec[(I).i]); \
|
Completed in 14 milliseconds