Symbol: nh_res_table
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
4967
const struct nh_notifier_res_table_info *nh_res_table,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
4974
if (nh_res_table->num_nh_buckets < 32) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
4984
if (nh_res_table->num_nh_buckets >= size_range->start &&
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
4985
nh_res_table->num_nh_buckets <= size_range->end) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
4998
nh_res_table->num_nh_buckets,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5000
if (err || nh_res_table->num_nh_buckets != alloc_size) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5010
const struct nh_notifier_res_table_info *nh_res_table,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5017
nh_res_table,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5022
for (i = 0; i < nh_res_table->num_nh_buckets; i++) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5026
nh = &nh_res_table->nhs[i];
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5057
info->nh_res_table,
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5191
nhs = info->nh_res_table->num_nh_buckets;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5192
hw_stats = info->nh_res_table->hw_stats;
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
5226
nh_obj = &info->nh_res_table->nhs[i];
drivers/net/netdevsim/fib.c
1138
occ = info->nh_res_table->num_nh_buckets;
include/net/nexthop.h
138
struct nh_res_table __rcu *res_table;
include/net/nexthop.h
241
struct nh_notifier_res_table_info *nh_res_table;
net/ipv4/nexthop.c
1114
nh_res_bucket_idle_point(const struct nh_res_table *res_table,
net/ipv4/nexthop.c
1128
nh_res_table_unb_point(const struct nh_res_table *res_table)
net/ipv4/nexthop.c
1133
static void nh_res_bucket_set_idle(const struct nh_res_table *res_table,
net/ipv4/nexthop.c
1201
static void nexthop_bucket_notify(struct nh_res_table *res_table,
net/ipv4/nexthop.c
1478
struct nh_res_table *res_table = rcu_dereference(nhg->res_table);
net/ipv4/nexthop.c
164
struct nh_res_table *res_table = rtnl_dereference(nhg->res_table);
net/ipv4/nexthop.c
170
size = struct_size(info->nh_res_table, nhs, num_nh_buckets);
net/ipv4/nexthop.c
1702
static bool nh_res_table_is_balanced(const struct nh_res_table *res_table)
net/ipv4/nexthop.c
171
info->nh_res_table = __vmalloc(size, GFP_KERNEL | __GFP_ZERO |
net/ipv4/nexthop.c
1728
static bool nh_res_bucket_should_migrate(struct nh_res_table *res_table,
net/ipv4/nexthop.c
173
if (!info->nh_res_table)
net/ipv4/nexthop.c
176
info->nh_res_table->num_nh_buckets = num_nh_buckets;
net/ipv4/nexthop.c
177
info->nh_res_table->hw_stats = nhg->hw_stats;
net/ipv4/nexthop.c
1786
static bool nh_res_bucket_migrate(struct nh_res_table *res_table,
net/ipv4/nexthop.c
1841
static void nh_res_table_upkeep(struct nh_res_table *res_table,
net/ipv4/nexthop.c
186
__nh_notifier_single_info_init(&info->nh_res_table->nhs[i],
net/ipv4/nexthop.c
1905
struct nh_res_table *res_table;
net/ipv4/nexthop.c
1907
res_table = container_of(dw, struct nh_res_table, upkeep_dw);
net/ipv4/nexthop.c
1911
static void nh_res_table_cancel_upkeep(struct nh_res_table *res_table)
net/ipv4/nexthop.c
1917
struct nh_res_table *res_table)
net/ipv4/nexthop.c
1953
static void nh_res_table_migrate_buckets(struct nh_res_table *res_table,
net/ipv4/nexthop.c
1988
struct nh_res_table *old_res_table = rtnl_dereference(oldg->res_table);
net/ipv4/nexthop.c
2126
struct nh_res_table *res_table;
net/ipv4/nexthop.c
213
vfree(info->nh_res_table);
net/ipv4/nexthop.c
2249
struct nh_res_table *tmp_table = NULL;
net/ipv4/nexthop.c
2250
struct nh_res_table *new_res_table;
net/ipv4/nexthop.c
2251
struct nh_res_table *old_res_table;
net/ipv4/nexthop.c
2350
struct nh_res_table *res_table,
net/ipv4/nexthop.c
2399
struct nh_res_table *res_table;
net/ipv4/nexthop.c
2647
struct nh_res_table *res_table;
net/ipv4/nexthop.c
269
struct nh_res_table *res_table;
net/ipv4/nexthop.c
2792
struct nh_res_table *res_table;
net/ipv4/nexthop.c
3736
struct nh_res_table *res_table;
net/ipv4/nexthop.c
3877
struct nh_res_table *res_table;
net/ipv4/nexthop.c
4050
struct nh_res_table *res_table;
net/ipv4/nexthop.c
4084
struct nh_res_table *res_table;
net/ipv4/nexthop.c
560
static struct nh_res_table *
net/ipv4/nexthop.c
564
struct nh_res_table *res_table;
net/ipv4/nexthop.c
637
static clock_t nh_res_table_unbalanced_time(struct nh_res_table *res_table)
net/ipv4/nexthop.c
646
struct nh_res_table *res_table = rtnl_dereference(nhg->res_table);