Searched refs:new_groups (Results 1 – 3 of 3) sorted by relevance
/linux/net/netlink/ |
H A D | genetlink.c | 400 unsigned long *new_groups; in genl_allocate_reserve_groups() local 434 new_groups = kzalloc(nlen, GFP_KERNEL); in genl_allocate_reserve_groups() 435 if (!new_groups) in genl_allocate_reserve_groups() 437 mc_groups = new_groups; in genl_allocate_reserve_groups() 440 new_groups = krealloc(mc_groups, nlen, in genl_allocate_reserve_groups() 442 if (!new_groups) in genl_allocate_reserve_groups() 444 mc_groups = new_groups; in genl_allocate_reserve_groups()
|
H A D | af_netlink.c | 928 unsigned long *new_groups; in netlink_realloc_groups() local 942 new_groups = krealloc(nlk->groups, NLGRPSZ(groups), GFP_ATOMIC); in netlink_realloc_groups() 943 if (new_groups == NULL) { in netlink_realloc_groups() 947 memset((char *)new_groups + NLGRPSZ(nlk->ngroups), 0, in netlink_realloc_groups() 950 nlk->groups = new_groups; in netlink_realloc_groups()
|
/linux/fs/ext4/ |
H A D | super.c | 3122 struct flex_groups **old_groups, **new_groups; in ext4_alloc_flex_bg_array() local 3132 new_groups = kvzalloc(roundup_pow_of_two(size * in ext4_alloc_flex_bg_array() 3134 if (!new_groups) { in ext4_alloc_flex_bg_array() 3140 new_groups[i] = kvzalloc(roundup_pow_of_two( in ext4_alloc_flex_bg_array() 3143 if (!new_groups[i]) { in ext4_alloc_flex_bg_array() 3145 kvfree(new_groups[j]); in ext4_alloc_flex_bg_array() 3146 kvfree(new_groups); in ext4_alloc_flex_bg_array() 3155 memcpy(new_groups, old_groups, in ext4_alloc_flex_bg_array() 3159 rcu_assign_pointer(sbi->s_flex_groups, new_groups); in ext4_alloc_flex_bg_array()
|