Home
last modified time | relevance | path

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

/net/netlink/
Dgenetlink.c183 unsigned long *new_groups; in genl_allocate_reserve_groups() local
217 new_groups = kzalloc(nlen, GFP_KERNEL); in genl_allocate_reserve_groups()
218 if (!new_groups) in genl_allocate_reserve_groups()
220 mc_groups = new_groups; in genl_allocate_reserve_groups()
223 new_groups = krealloc(mc_groups, nlen, in genl_allocate_reserve_groups()
225 if (!new_groups) in genl_allocate_reserve_groups()
227 mc_groups = new_groups; in genl_allocate_reserve_groups()
Daf_netlink.c949 unsigned long *new_groups; in netlink_realloc_groups() local
963 new_groups = krealloc(nlk->groups, NLGRPSZ(groups), GFP_ATOMIC); in netlink_realloc_groups()
964 if (new_groups == NULL) { in netlink_realloc_groups()
968 memset((char *)new_groups + NLGRPSZ(nlk->ngroups), 0, in netlink_realloc_groups()
971 nlk->groups = new_groups; in netlink_realloc_groups()