Home
last modified time | relevance | path

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

/Linux-v5.10/net/netlink/
Dgenetlink.c191 unsigned long *new_groups; in genl_allocate_reserve_groups() local
225 new_groups = kzalloc(nlen, GFP_KERNEL); in genl_allocate_reserve_groups()
226 if (!new_groups) in genl_allocate_reserve_groups()
228 mc_groups = new_groups; in genl_allocate_reserve_groups()
231 new_groups = krealloc(mc_groups, nlen, in genl_allocate_reserve_groups()
233 if (!new_groups) in genl_allocate_reserve_groups()
235 mc_groups = new_groups; in genl_allocate_reserve_groups()
Daf_netlink.c932 unsigned long *new_groups; in netlink_realloc_groups() local
946 new_groups = krealloc(nlk->groups, NLGRPSZ(groups), GFP_ATOMIC); in netlink_realloc_groups()
947 if (new_groups == NULL) { in netlink_realloc_groups()
951 memset((char *)new_groups + NLGRPSZ(nlk->ngroups), 0, in netlink_realloc_groups()
954 nlk->groups = new_groups; in netlink_realloc_groups()
/Linux-v5.10/fs/ext4/
Dsuper.c2721 struct flex_groups **old_groups, **new_groups; in ext4_alloc_flex_bg_array() local
2731 new_groups = kvzalloc(roundup_pow_of_two(size * in ext4_alloc_flex_bg_array()
2733 if (!new_groups) { in ext4_alloc_flex_bg_array()
2739 new_groups[i] = kvzalloc(roundup_pow_of_two( in ext4_alloc_flex_bg_array()
2742 if (!new_groups[i]) { in ext4_alloc_flex_bg_array()
2744 kvfree(new_groups[j]); in ext4_alloc_flex_bg_array()
2745 kvfree(new_groups); in ext4_alloc_flex_bg_array()
2754 memcpy(new_groups, old_groups, in ext4_alloc_flex_bg_array()
2758 rcu_assign_pointer(sbi->s_flex_groups, new_groups); in ext4_alloc_flex_bg_array()
/Linux-v5.10/drivers/md/
Draid5.c6891 struct r5worker_group *new_groups, *old_groups; in raid5_store_group_thread_cnt() local
6915 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups); in raid5_store_group_thread_cnt()
6920 conf->worker_groups = new_groups; in raid5_store_group_thread_cnt()