Lines Matching refs:num_nh_buckets
153 u16 num_nh_buckets = res_table->num_nh_buckets;
158 size = struct_size(info->nh_res_table, nhs, num_nh_buckets);
164 info->nh_res_table->num_nh_buckets = num_nh_buckets;
166 for (i = 0; i < num_nh_buckets; i++) {
548 const u16 num_nh_buckets = cfg->nh_grp_res_num_buckets;
552 size = struct_size(res_table, nh_buckets, num_nh_buckets);
563 res_table->num_nh_buckets = num_nh_buckets;
639 res_table->num_nh_buckets) ||
1218 u16 bucket_index = hash % res_table->num_nh_buckets;
1598 for (i = 0; i < res_table->num_nh_buckets; i++) {
1672 upper_bound = DIV_ROUND_CLOSEST(res_table->num_nh_buckets * w,
1695 for (i = 0; i < res_table->num_nh_buckets; i++) {
1987 /* Accept if num_nh_buckets was not given, but if it was
1992 old_res_table->num_nh_buckets) {
2070 for (i = 0; i < res_table->num_nh_buckets; i++) {
3370 bucket_index < res_table->num_nh_buckets;
3526 if (bucket_index >= res_table->num_nh_buckets) {
3689 if (bucket_index >= nhg->res_table->num_nh_buckets)
3727 if (num_buckets != res_table->num_nh_buckets)