Lines Matching refs:num_nh_buckets

166 	u16 num_nh_buckets = res_table->num_nh_buckets;  in nh_notifier_res_table_info_init()  local
171 size = struct_size(info->nh_res_table, nhs, num_nh_buckets); in nh_notifier_res_table_info_init()
177 info->nh_res_table->num_nh_buckets = num_nh_buckets; in nh_notifier_res_table_info_init()
180 for (i = 0; i < num_nh_buckets; i++) { in nh_notifier_res_table_info_init()
565 const u16 num_nh_buckets = cfg->nh_grp_res_num_buckets; in nexthop_res_table_alloc() local
569 size = struct_size(res_table, nh_buckets, num_nh_buckets); in nexthop_res_table_alloc()
580 res_table->num_nh_buckets = num_nh_buckets; in nexthop_res_table_alloc()
656 res_table->num_nh_buckets) || in nla_put_nh_group_res()
1467 u16 bucket_index = hash % res_table->num_nh_buckets; in nexthop_select_path_res()
1848 for (i = 0; i < res_table->num_nh_buckets; i++) { in nh_res_table_upkeep()
1923 btw = ((u64)res_table->num_nh_buckets) * w; in nh_res_group_rebalance()
1946 for (i = 0; i < res_table->num_nh_buckets; i++) { in nh_res_table_migrate_buckets()
2256 old_res_table->num_nh_buckets) { in replace_nexthop_grp()
2334 for (i = 0; i < res_table->num_nh_buckets; i++) { in replace_nexthop_single_notify_res()
3681 bucket_index < res_table->num_nh_buckets; in rtm_dump_nexthop_bucket_nh()
3832 if (bucket_index >= res_table->num_nh_buckets) { in rtm_get_nexthop_bucket()
4002 if (bucket_index >= nhg->res_table->num_nh_buckets) in nexthop_bucket_set_hw_flags()
4040 if (num_buckets != res_table->num_nh_buckets) in nexthop_res_grp_activity_update()