Home
last modified time | relevance | path

Searched refs:nhge (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/net/ipv4/
H A Dnexthop.c136 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; in nh_notifier_mpath_info_init() local
139 nhi = rtnl_dereference(nhge->nh->nh_info); in nh_notifier_mpath_info_init()
140 info->nh_grp->nh_entries[i].id = nhge->nh->id; in nh_notifier_mpath_info_init()
141 info->nh_grp->nh_entries[i].weight = nhge->weight; in nh_notifier_mpath_info_init()
168 struct nh_grp_entry *nhge; in nh_notifier_res_table_info_init() local
171 nhge = rtnl_dereference(bucket->nh_entry); in nh_notifier_res_table_info_init()
172 nhi = rtnl_dereference(nhge->nh->nh_info); in nh_notifier_res_table_info_init()
474 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; in nexthop_free_group() local
476 WARN_ON(!list_empty(&nhge->nh_list)); in nexthop_free_group()
477 nexthop_put(nhge in nexthop_free_group()
920 struct nh_grp_entry *nhge = nh_res_dereference(bucket->nh_entry); nh_fill_res_bucket() local
965 struct nh_grp_entry *nhge = nh_res_dereference(bucket->nh_entry); nexthop_bucket_notify() local
1174 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; nexthop_select_path_fdb() local
1195 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; nexthop_select_path_hthr() local
1220 struct nh_grp_entry *nhge; nexthop_select_path_res() local
1262 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; nexthop_for_each_fib6_nh() local
1425 nh_res_nhge_is_balanced(const struct nh_grp_entry *nhge) nh_res_nhge_is_balanced() argument
1430 nh_res_nhge_is_ow(const struct nh_grp_entry *nhge) nh_res_nhge_is_ow() argument
1435 nh_res_nhge_is_uw(const struct nh_grp_entry *nhge) nh_res_nhge_is_uw() argument
1447 struct nh_grp_entry *nhge; nh_res_bucket_unset_nh() local
1456 nh_res_bucket_set_nh(struct nh_res_bucket *bucket, struct nh_grp_entry *nhge) nh_res_bucket_set_nh() argument
1471 struct nh_grp_entry *nhge; nh_res_bucket_should_migrate() local
1668 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; nh_res_group_rebalance() local
1702 struct nh_grp_entry *nhge = &nhg->nh_entries[j]; nh_res_table_migrate_buckets() local
1747 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; nh_hthr_group_rebalance() local
1756 remove_nh_grp_entry(struct net *net, struct nh_grp_entry *nhge, struct nl_info *nlinfo) remove_nh_grp_entry() argument
1835 struct nh_grp_entry *nhge, *tmp; remove_nexthop_from_groups() local
1851 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; remove_nexthop_group() local
1947 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; nh_rt_cache_flush() local
2072 struct nh_grp_entry *nhge; replace_nexthop_single_notify_res() local
2090 struct nh_grp_entry *nhge; replace_nexthop_single_notify_res() local
2130 struct nh_grp_entry *nhge; replace_nexthop_single() local
2235 struct nh_grp_entry *nhge; nexthop_replace_notify() local
2248 struct nh_grp_entry *nhge; replace_nexthop() local
3373 struct nh_grp_entry *nhge; rtm_dump_nexthop_bucket_nh() local
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dnexthop.c79 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; in nexthop_free_mpath() local
81 WARN_ON(!list_empty(&nhge->nh_list)); in nexthop_free_mpath()
82 nexthop_put(nhge->nh); in nexthop_free_mpath()
554 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; in nexthop_select_path() local
557 if (hash > atomic_read(&nhge->upper_bound)) in nexthop_select_path()
560 nhi = rcu_dereference(nhge->nh->nh_info); in nexthop_select_path()
562 return nhge->nh; in nexthop_select_path()
570 return nhge->nh; in nexthop_select_path()
574 return nhge->nh; in nexthop_select_path()
579 rc = nhge in nexthop_select_path()
599 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; nexthop_for_each_fib6_nh() local
772 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; nh_group_rebalance() local
781 remove_nh_grp_entry(struct net *net, struct nh_grp_entry *nhge, struct nl_info *nlinfo) remove_nh_grp_entry() argument
843 struct nh_grp_entry *nhge, *tmp; remove_nexthop_from_groups() local
858 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; remove_nexthop_group() local
952 struct nh_grp_entry *nhge = &nhg->nh_entries[i]; nh_rt_cache_flush() local
1033 struct nh_grp_entry *nhge; replace_nexthop_single() local
1079 struct nh_grp_entry *nhge; nexthop_replace_notify() local
1091 struct nh_grp_entry *nhge; replace_nexthop() local
[all...]

Completed in 6 milliseconds