Home
last modified time | relevance | path

Searched refs:n_groups (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/net/netlink/
Dgenetlink.c158 static int genl_allocate_reserve_groups(int n_groups, int *first_id) in genl_allocate_reserve_groups() argument
178 i < min_t(int, id + n_groups, in genl_allocate_reserve_groups()
190 BITS_TO_LONGS(n_groups); in genl_allocate_reserve_groups()
205 for (i = 0; i < BITS_TO_LONGS(n_groups); i++) in genl_allocate_reserve_groups()
212 for (i = id; i < id + n_groups; i++) in genl_allocate_reserve_groups()
223 int n_groups = family->n_mcgrps; in genl_validate_assign_mc_groups() local
227 if (!n_groups) in genl_validate_assign_mc_groups()
230 for (i = 0; i < n_groups; i++) { in genl_validate_assign_mc_groups()
242 BUG_ON(n_groups != 1); in genl_validate_assign_mc_groups()
245 BUG_ON(n_groups != 1); in genl_validate_assign_mc_groups()
[all …]