Home
last modified time | relevance | path

Searched refs:nh_res_table (Results 1 – 2 of 2) sorted by relevance

/linux/net/ipv4/
H A Dnexthop.c165 struct nh_res_table *res_table = rtnl_dereference(nhg->res_table); in nh_notifier_res_table_info_init()
171 size = struct_size(info->nh_res_table, nhs, num_nh_buckets); in nh_notifier_res_table_info_init()
172 info->nh_res_table = __vmalloc(size, GFP_KERNEL | __GFP_ZERO | in nh_notifier_res_table_info_init()
174 if (!info->nh_res_table) 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()
178 info->nh_res_table->hw_stats = nhg->hw_stats; in nh_notifier_res_table_info_init()
187 __nh_notifier_single_info_init(&info->nh_res_table->nhs[i], in nh_notifier_res_table_info_init()
214 vfree(info->nh_res_table); in nh_notifier_grp_info_fini()
270 struct nh_res_table *res_table; in nh_notifier_res_bucket_idle_timer_get()
561 static struct nh_res_table *
[all …]
/linux/include/net/
H A Dnexthop.h84 struct nh_res_table { struct
140 struct nh_res_table __rcu *res_table;
243 struct nh_notifier_res_table_info *nh_res_table; member