Lines Matching refs:V
24 #define DEFINE_VEC(T, V) \ argument
25 struct aa_ ## T *(_ ## V ## _localtmp)[LOCAL_VEC_ENTRIES]; \
26 struct aa_ ## T **(V)
28 #define vec_setup(T, V, N, GFP) \ argument
32 (V) = (_ ## V ## _localtmp); \
34 (V)[i] = NULL; \
36 (V) = kzalloc(sizeof(struct aa_ ## T *) * (N), (GFP)); \
37 (V) ? 0 : -ENOMEM; \
40 #define vec_cleanup(T, V, N) \ argument
44 if (!IS_ERR_OR_NULL((V)[i])) \
45 aa_put_ ## T((V)[i]); \
47 if ((V) != _ ## V ## _localtmp) \
48 kfree(V); \
54 #define cleanup_domain_vec(V, L) cleanup_label_vec((V), (L)->size) argument
61 #define aa_sort_and_merge_vec(N, V) \ argument
62 aa_sort_and_merge_profiles((N), (struct aa_profile **)(V))