Lines Matching defs:nhg
134 struct nh_group *nhg) in nh_notifier_mpath_info_init()
163 struct nh_group *nhg) in nh_notifier_res_table_info_init()
197 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_notifier_grp_info_init() local
209 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_notifier_grp_info_fini() local
271 struct nh_group *nhg; in nh_notifier_res_bucket_idle_timer_get() local
412 struct nh_group *nhg; in call_nexthop_res_table_notifiers() local
484 struct nh_group *nhg; in nexthop_free_group() local
550 struct nh_group *nhg; in nexthop_grp_alloc() local
645 static int nla_put_nh_group_res(struct sk_buff *skb, struct nh_group *nhg) in nla_put_nh_group_res()
709 struct nh_group *nhg; in nh_notifier_grp_hw_stats_init() local
750 struct nh_group *nhg; in nh_grp_hw_stats_apply_update() local
828 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nla_put_nh_group_stats() local
870 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nla_put_nh_group() local
942 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_fill_node() local
1001 static size_t nh_nlmsg_size_grp_res(struct nh_group *nhg) in nh_nlmsg_size_grp_res()
1012 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_nlmsg_size_grp() local
1220 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in valid_group_nh() local
1276 struct nexthop_grp *nhg; in nh_check_attr_group() local
1400 static struct nexthop *nexthop_select_path_fdb(struct nh_group *nhg, int hash) in nexthop_select_path_fdb()
1418 static struct nexthop *nexthop_select_path_hthr(struct nh_group *nhg, int hash) in nexthop_select_path_hthr()
1451 static struct nexthop *nexthop_select_path_res(struct nh_group *nhg, int hash) in nexthop_select_path_res()
1470 struct nh_group *nhg; in nexthop_select_path() local
1494 struct nh_group *nhg; in nexthop_for_each_fib6_nh() local
1543 struct nh_group *nhg; in fib6_check_nexthop() local
1615 struct nh_group *nhg; in fib_check_nexthop() local
1891 static void nh_res_group_rebalance(struct nh_group *nhg, in nh_res_group_rebalance()
1929 struct nh_group *nhg) in nh_res_table_migrate_buckets()
1975 static void nh_hthr_group_rebalance(struct nh_group *nhg) in nh_hthr_group_rebalance()
2001 struct nh_group *nhg, *newg; in remove_nh_grp_entry() local
2086 struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp); in remove_nexthop_group() local
2170 struct nh_group *nhg; in nh_rt_cache_flush() local
2282 static void nh_group_v4_update(struct nh_group *nhg) in nh_group_v4_update()
2348 struct nh_group *nhg = rtnl_dereference(group_nh->nh_grp); in replace_nexthop_single_notify() local
2418 struct nh_group *nhg; in replace_nexthop_single() local
2589 struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp); in insert_nexthop() local
2677 struct nh_group *nhg; in nexthop_create_group() local
3519 struct nh_group *nhg; in nexthop_find_group_resilient() local
3624 struct nh_group *nhg; in rtm_dump_nexthop_bucket_nh() local
3664 struct nh_group *nhg; in rtm_dump_nexthop_bucket_cb() local
3766 struct nh_group *nhg; in rtm_get_nexthop_bucket() local
3940 struct nh_group *nhg; in nexthop_bucket_set_hw_flags() local
3973 struct nh_group *nhg; in nexthop_res_grp_activity_update() local