Home
last modified time | relevance | path

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

/openbmc/linux/net/netlink/
H A Dgenetlink.c397 unsigned long *new_groups; in genl_allocate_reserve_groups() local
431 new_groups = kzalloc(nlen, GFP_KERNEL); in genl_allocate_reserve_groups()
432 if (!new_groups) in genl_allocate_reserve_groups()
434 mc_groups = new_groups; in genl_allocate_reserve_groups()
437 new_groups = krealloc(mc_groups, nlen, in genl_allocate_reserve_groups()
439 if (!new_groups) in genl_allocate_reserve_groups()
441 mc_groups = new_groups; in genl_allocate_reserve_groups()
H A Daf_netlink.c961 unsigned long *new_groups; in netlink_realloc_groups() local
975 new_groups = krealloc(nlk->groups, NLGRPSZ(groups), GFP_ATOMIC); in netlink_realloc_groups()
976 if (new_groups == NULL) { in netlink_realloc_groups()
980 memset((char *)new_groups + NLGRPSZ(nlk->ngroups), 0, in netlink_realloc_groups()
983 nlk->groups = new_groups; in netlink_realloc_groups()
/openbmc/linux/fs/ext4/
H A Dsuper.c3147 struct flex_groups **old_groups, **new_groups; in ext4_alloc_flex_bg_array() local
3157 new_groups = kvzalloc(roundup_pow_of_two(size * in ext4_alloc_flex_bg_array()
3159 if (!new_groups) { in ext4_alloc_flex_bg_array()
3165 new_groups[i] = kvzalloc(roundup_pow_of_two( in ext4_alloc_flex_bg_array()
3168 if (!new_groups[i]) { in ext4_alloc_flex_bg_array()
3170 kvfree(new_groups[j]); in ext4_alloc_flex_bg_array()
3171 kvfree(new_groups); in ext4_alloc_flex_bg_array()
3180 memcpy(new_groups, old_groups, in ext4_alloc_flex_bg_array()
3184 rcu_assign_pointer(sbi->s_flex_groups, new_groups); in ext4_alloc_flex_bg_array()
/openbmc/linux/drivers/md/
H A Draid5.c7215 struct r5worker_group *new_groups, *old_groups; in raid5_store_group_thread_cnt() local
7239 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups); in raid5_store_group_thread_cnt()
7244 conf->worker_groups = new_groups; in raid5_store_group_thread_cnt()