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()
564 const u16 num_nh_buckets = cfg->nh_grp_res_num_buckets; in nexthop_res_table_alloc() local
568 size = struct_size(res_table, nh_buckets, num_nh_buckets); in nexthop_res_table_alloc()
579 res_table->num_nh_buckets = num_nh_buckets; in nexthop_res_table_alloc()
655 res_table->num_nh_buckets) || in nla_put_nh_group_res()
1454 u16 bucket_index = hash % res_table->num_nh_buckets; in nexthop_select_path_res()
1835 for (i = 0; i < res_table->num_nh_buckets; i++) { in nh_res_table_upkeep()
1910 btw = ((u64)res_table->num_nh_buckets) * w; in nh_res_group_rebalance()
1933 for (i = 0; i < res_table->num_nh_buckets; i++) { in nh_res_table_migrate_buckets()
2232 old_res_table->num_nh_buckets) { in replace_nexthop_grp()
2310 for (i = 0; i < res_table->num_nh_buckets; i++) { in replace_nexthop_single_notify_res()
3638 bucket_index < res_table->num_nh_buckets; in rtm_dump_nexthop_bucket_nh()
3789 if (bucket_index >= res_table->num_nh_buckets) { in rtm_get_nexthop_bucket()
3959 if (bucket_index >= nhg->res_table->num_nh_buckets) in nexthop_bucket_set_hw_flags()
3997 if (num_buckets != res_table->num_nh_buckets) in nexthop_res_grp_activity_update()