Lines Matching refs:num_nh_buckets

153 	u16 num_nh_buckets = res_table->num_nh_buckets;  in nh_notifier_res_table_info_init()  local
158 size = struct_size(info->nh_res_table, nhs, num_nh_buckets); in nh_notifier_res_table_info_init()
164 info->nh_res_table->num_nh_buckets = num_nh_buckets; in nh_notifier_res_table_info_init()
166 for (i = 0; i < num_nh_buckets; i++) { in nh_notifier_res_table_info_init()
548 const u16 num_nh_buckets = cfg->nh_grp_res_num_buckets; in nexthop_res_table_alloc() local
552 size = struct_size(res_table, nh_buckets, num_nh_buckets); in nexthop_res_table_alloc()
563 res_table->num_nh_buckets = num_nh_buckets; in nexthop_res_table_alloc()
639 res_table->num_nh_buckets) || in nla_put_nh_group_res()
1195 u16 bucket_index = hash % res_table->num_nh_buckets; in nexthop_select_path_res()
1575 for (i = 0; i < res_table->num_nh_buckets; i++) { in nh_res_table_upkeep()
1649 upper_bound = DIV_ROUND_CLOSEST(res_table->num_nh_buckets * w, in nh_res_group_rebalance()
1672 for (i = 0; i < res_table->num_nh_buckets; i++) { in nh_res_table_migrate_buckets()
1969 old_res_table->num_nh_buckets) { in replace_nexthop_grp()
2047 for (i = 0; i < res_table->num_nh_buckets; i++) { in replace_nexthop_single_notify_res()
3356 bucket_index < res_table->num_nh_buckets; in rtm_dump_nexthop_bucket_nh()
3523 if (bucket_index >= res_table->num_nh_buckets) { in rtm_get_nexthop_bucket()
3686 if (bucket_index >= nhg->res_table->num_nh_buckets) in nexthop_bucket_set_hw_flags()
3724 if (num_buckets != res_table->num_nh_buckets) in nexthop_res_grp_activity_update()