Searched refs:new_groups (Results 1 – 4 of 4) sorted by relevance
/linux/net/netlink/ |
A D | genetlink.c | 183 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()
|
A D | af_netlink.c | 945 unsigned long *new_groups; in netlink_realloc_groups() local 959 new_groups = krealloc(nlk->groups, NLGRPSZ(groups), GFP_ATOMIC); in netlink_realloc_groups() 960 if (new_groups == NULL) { in netlink_realloc_groups() 964 memset((char *)new_groups + NLGRPSZ(nlk->ngroups), 0, in netlink_realloc_groups() 967 nlk->groups = new_groups; in netlink_realloc_groups()
|
/linux/fs/ext4/ |
A D | super.c | 2723 struct flex_groups **old_groups, **new_groups; in ext4_alloc_flex_bg_array() local 2733 new_groups = kvzalloc(roundup_pow_of_two(size * in ext4_alloc_flex_bg_array() 2735 if (!new_groups) { in ext4_alloc_flex_bg_array() 2741 new_groups[i] = kvzalloc(roundup_pow_of_two( in ext4_alloc_flex_bg_array() 2744 if (!new_groups[i]) { in ext4_alloc_flex_bg_array() 2746 kvfree(new_groups[j]); in ext4_alloc_flex_bg_array() 2747 kvfree(new_groups); in ext4_alloc_flex_bg_array() 2756 memcpy(new_groups, old_groups, in ext4_alloc_flex_bg_array() 2760 rcu_assign_pointer(sbi->s_flex_groups, new_groups); in ext4_alloc_flex_bg_array()
|
/linux/drivers/md/ |
A D | raid5.c | 6895 struct r5worker_group *new_groups, *old_groups; in raid5_store_group_thread_cnt() local 6919 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups); in raid5_store_group_thread_cnt() 6924 conf->worker_groups = new_groups; in raid5_store_group_thread_cnt()
|
Completed in 43 milliseconds