Searched refs:old_groups (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_set_pipapo.c | 711 * @old_groups: Number of current groups 744 static void pipapo_lt_4b_to_8b(int old_groups, int bsize, in pipapo_lt_4b_to_8b() argument 749 for (g = 0; g < old_groups / 2; g++) { in pipapo_lt_4b_to_8b() 769 * @old_groups: Number of current groups 790 static void pipapo_lt_8b_to_4b(int old_groups, int bsize, in pipapo_lt_8b_to_4b() argument 795 memset(new_lt, 0, old_groups * 2 * NFT_PIPAPO_BUCKETS(4) * bsize * in pipapo_lt_8b_to_4b() 798 for (g = 0; g < old_groups * 2; g += 2) { in pipapo_lt_8b_to_4b()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nft_set_pipapo.c | 711 * @old_groups: Number of current groups 744 static void pipapo_lt_4b_to_8b(int old_groups, int bsize, in pipapo_lt_4b_to_8b() argument 749 for (g = 0; g < old_groups / 2; g++) { in pipapo_lt_4b_to_8b() 769 * @old_groups: Number of current groups 790 static void pipapo_lt_8b_to_4b(int old_groups, int bsize, in pipapo_lt_8b_to_4b() argument 795 memset(new_lt, 0, old_groups * 2 * NFT_PIPAPO_BUCKETS(4) * bsize * in pipapo_lt_8b_to_4b() 798 for (g = 0; g < old_groups * 2; g += 2) { in pipapo_lt_8b_to_4b()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | super.c | 2708 struct flex_groups **old_groups, **new_groups; in ext4_alloc_flex_bg_array() local 2739 old_groups = rcu_dereference(sbi->s_flex_groups); in ext4_alloc_flex_bg_array() 2740 if (old_groups) in ext4_alloc_flex_bg_array() 2741 memcpy(new_groups, old_groups, in ext4_alloc_flex_bg_array() 2747 if (old_groups) in ext4_alloc_flex_bg_array() 2748 ext4_kvfree_array_rcu(old_groups); in ext4_alloc_flex_bg_array()
|
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | super.c | 3147 struct flex_groups **old_groups, **new_groups; in ext4_alloc_flex_bg_array() local 3178 old_groups = rcu_dereference(sbi->s_flex_groups); in ext4_alloc_flex_bg_array() 3179 if (old_groups) in ext4_alloc_flex_bg_array() 3180 memcpy(new_groups, old_groups, in ext4_alloc_flex_bg_array() 3186 if (old_groups) in ext4_alloc_flex_bg_array() 3187 ext4_kvfree_array_rcu(old_groups); in ext4_alloc_flex_bg_array()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid5.c | 6889 struct r5worker_group *new_groups, *old_groups; in raid5_store_group_thread_cnt() local 6909 old_groups = conf->worker_groups; in raid5_store_group_thread_cnt() 6910 if (old_groups) in raid5_store_group_thread_cnt() 6921 if (old_groups) in raid5_store_group_thread_cnt() 6922 kfree(old_groups[0].workers); in raid5_store_group_thread_cnt() 6923 kfree(old_groups); in raid5_store_group_thread_cnt()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid5.c | 7224 struct r5worker_group *new_groups, *old_groups; in raid5_store_group_thread_cnt() local 7244 old_groups = conf->worker_groups; in raid5_store_group_thread_cnt() 7245 if (old_groups) in raid5_store_group_thread_cnt() 7256 if (old_groups) in raid5_store_group_thread_cnt() 7257 kfree(old_groups[0].workers); in raid5_store_group_thread_cnt() 7258 kfree(old_groups); in raid5_store_group_thread_cnt()
|
Completed in 44 milliseconds