Lines Matching refs:nh_group
121 struct nh_group *nhg) in nh_notifier_mpath_info_init()
150 struct nh_group *nhg) in nh_notifier_res_table_info_init()
183 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_notifier_grp_info_init()
195 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_notifier_grp_info_fini()
257 struct nh_group *nhg; in nh_notifier_res_bucket_idle_timer_get()
397 struct nh_group *nhg; in call_nexthop_res_table_notifiers()
469 struct nh_group *nhg; in nexthop_free_group()
532 static struct nh_group *nexthop_grp_alloc(u16 num_nh) in nexthop_grp_alloc()
534 struct nh_group *nhg; in nexthop_grp_alloc()
629 static int nla_put_nh_group_res(struct sk_buff *skb, struct nh_group *nhg) in nla_put_nh_group_res()
657 static int nla_put_nh_group(struct sk_buff *skb, struct nh_group *nhg) in nla_put_nh_group()
718 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_fill_node()
775 static size_t nh_nlmsg_size_grp_res(struct nh_group *nhg) in nh_nlmsg_size_grp_res()
786 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_nlmsg_size_grp()
994 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in valid_group_nh()
1170 static struct nexthop *nexthop_select_path_fdb(struct nh_group *nhg, int hash) in nexthop_select_path_fdb()
1187 static struct nexthop *nexthop_select_path_hthr(struct nh_group *nhg, int hash) in nexthop_select_path_hthr()
1216 static struct nexthop *nexthop_select_path_res(struct nh_group *nhg, int hash) in nexthop_select_path_res()
1234 struct nh_group *nhg; in nexthop_select_path()
1258 struct nh_group *nhg; in nexthop_for_each_fib6_nh()
1307 struct nh_group *nhg; in fib6_check_nexthop()
1379 struct nh_group *nhg; in fib_check_nexthop()
1655 static void nh_res_group_rebalance(struct nh_group *nhg, in nh_res_group_rebalance()
1692 struct nh_group *nhg) in nh_res_table_migrate_buckets()
1717 static void replace_nexthop_grp_res(struct nh_group *oldg, in replace_nexthop_grp_res()
1718 struct nh_group *newg) in replace_nexthop_grp_res()
1738 static void nh_hthr_group_rebalance(struct nh_group *nhg) in nh_hthr_group_rebalance()
1764 struct nh_group *nhg, *newg; in remove_nh_grp_entry()
1847 struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp); in remove_nexthop_group()
1931 struct nh_group *nhg; in nh_rt_cache_flush()
1963 struct nh_group *oldg, *newg; in replace_nexthop_grp()
2043 static void nh_group_v4_update(struct nh_group *nhg) in nh_group_v4_update()
2109 struct nh_group *nhg = rtnl_dereference(group_nh->nh_grp); in replace_nexthop_single_notify()
2179 struct nh_group *nhg; in replace_nexthop_single()
2350 struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp); in insert_nexthop()
2438 struct nh_group *nhg; in nexthop_create_group()
3259 struct nh_group *nhg; in nexthop_find_group_resilient()
3364 struct nh_group *nhg; in rtm_dump_nexthop_bucket_nh()
3404 struct nh_group *nhg; in rtm_dump_nexthop_bucket_cb()
3511 struct nh_group *nhg; in rtm_get_nexthop_bucket()
3678 struct nh_group *nhg; in nexthop_bucket_set_hw_flags()
3711 struct nh_group *nhg; in nexthop_res_grp_activity_update()