Lines Matching refs:nh_res_table

152 	struct nh_res_table *res_table = rtnl_dereference(nhg->res_table);
158 size = struct_size(info->nh_res_table, nhs, num_nh_buckets);
159 info->nh_res_table = __vmalloc(size, GFP_KERNEL | __GFP_ZERO |
161 if (!info->nh_res_table)
164 info->nh_res_table->num_nh_buckets = num_nh_buckets;
173 __nh_notifier_single_info_init(&info->nh_res_table->nhs[i],
200 vfree(info->nh_res_table);
256 struct nh_res_table *res_table;
545 static struct nh_res_table *
549 struct nh_res_table *res_table;
622 static clock_t nh_res_table_unbalanced_time(struct nh_res_table *res_table)
631 struct nh_res_table *res_table = rtnl_dereference(nhg->res_table);
874 nh_res_bucket_idle_point(const struct nh_res_table *res_table,
888 nh_res_table_unb_point(const struct nh_res_table *res_table)
893 static void nh_res_bucket_set_idle(const struct nh_res_table *res_table,
961 static void nexthop_bucket_notify(struct nh_res_table *res_table,
1217 struct nh_res_table *res_table = rcu_dereference(nhg->res_table);
1440 static bool nh_res_table_is_balanced(const struct nh_res_table *res_table)
1466 static bool nh_res_bucket_should_migrate(struct nh_res_table *res_table,
1524 static bool nh_res_bucket_migrate(struct nh_res_table *res_table,
1579 static void nh_res_table_upkeep(struct nh_res_table *res_table,
1643 struct nh_res_table *res_table;
1645 res_table = container_of(dw, struct nh_res_table, upkeep_dw);
1649 static void nh_res_table_cancel_upkeep(struct nh_res_table *res_table)
1655 struct nh_res_table *res_table)
1690 static void nh_res_table_migrate_buckets(struct nh_res_table *res_table,
1725 struct nh_res_table *old_res_table = rtnl_dereference(oldg->res_table);
1847 struct nh_res_table *res_table;
1959 struct nh_res_table *tmp_table = NULL;
1960 struct nh_res_table *new_res_table;
1961 struct nh_res_table *old_res_table;
2060 struct nh_res_table *res_table,
2109 struct nh_res_table *res_table;
2350 struct nh_res_table *res_table;
2490 struct nh_res_table *res_table;
3362 struct nh_res_table *res_table;
3508 struct nh_res_table *res_table;
3674 struct nh_res_table *res_table;
3708 struct nh_res_table *res_table;