Lines Matching refs:n_groups
189 static int genl_allocate_reserve_groups(int n_groups, int *first_id)
209 i < min_t(int, id + n_groups,
219 if (id + n_groups > mc_groups_longs * BITS_PER_LONG) {
221 BITS_TO_LONGS(n_groups);
236 for (i = 0; i < BITS_TO_LONGS(n_groups); i++)
243 for (i = id; i < id + n_groups; i++)
254 int n_groups = family->n_mcgrps;
258 if (!n_groups)
261 for (i = 0; i < n_groups; i++) {
273 BUG_ON(n_groups != 1);
276 BUG_ON(n_groups != 1);
279 BUG_ON(n_groups != 1);
282 BUG_ON(n_groups != 1);
285 err = genl_allocate_reserve_groups(n_groups, &first_id);