Lines Matching refs:nh_grp
127 info->nh_grp = kzalloc(struct_size(info->nh_grp, nh_entries, num_nh), in nh_notifier_mpath_info_init()
129 if (!info->nh_grp) in nh_notifier_mpath_info_init()
132 info->nh_grp->num_nh = num_nh; in nh_notifier_mpath_info_init()
133 info->nh_grp->is_fdb = nhg->fdb_nh; 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()
142 __nh_notifier_single_info_init(&info->nh_grp->nh_entries[i].nh, in nh_notifier_mpath_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()
198 kfree(info->nh_grp); in nh_notifier_grp_info_fini()
283 nhg = rcu_dereference(nh->nh_grp); in nh_notifier_res_bucket_idle_timer_get()
409 nhg = rtnl_dereference(nh->nh_grp); in call_nexthop_res_table_notifiers()
419 kfree(info.nh_grp); in call_nexthop_res_table_notifiers()
472 nhg = rcu_dereference_raw(nh->nh_grp); in nexthop_free_group()
717 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_fill_node()
785 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_nlmsg_size_grp()
993 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in valid_group_nh()
1215 nhg = rcu_dereference(nh->nh_grp); in nexthop_select_path()
1237 nhg = rcu_dereference_rtnl(nh->nh_grp); in nexthop_for_each_fib6_nh()
1285 nhg = rtnl_dereference(nh->nh_grp); in fib6_check_nexthop()
1357 nhg = rtnl_dereference(nh->nh_grp); in fib_check_nexthop()
1745 nhg = rtnl_dereference(nhp->nh_grp); in remove_nh_grp_entry()
1790 rcu_assign_pointer(nhp->nh_grp, newg); in remove_nh_grp_entry()
1823 struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp); in remove_nexthop_group()
1922 nhg = rtnl_dereference(replaced_nh->nh_grp); in nh_rt_cache_flush()
1947 oldg = rtnl_dereference(old->nh_grp); in replace_nexthop_grp()
1948 newg = rtnl_dereference(new->nh_grp); in replace_nexthop_grp()
2001 rcu_assign_pointer(old->nh_grp, newg); in replace_nexthop_grp()
2014 rcu_assign_pointer(new->nh_grp, oldg); in replace_nexthop_grp()
2085 struct nh_group *nhg = rtnl_dereference(group_nh->nh_grp); in replace_nexthop_single_notify()
2157 nhg = rtnl_dereference(nhp->nh_grp); in replace_nexthop_single()
2326 struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp); in insert_nexthop()
2411 struct nlattr *grps_attr = cfg->nh_grp; in nexthop_create_group()
2489 rcu_assign_pointer(nh->nh_grp, nhg); in nexthop_create_group()
2656 if (cfg->nh_grp) in nexthop_add()
2811 cfg->nh_grp = tb[NHA_GROUP]; in rtm_to_nh_config()
3252 nhg = rtnl_dereference(nh->nh_grp); in nexthop_find_group_resilient()
3353 nhg = rtnl_dereference(nh->nh_grp); in rtm_dump_nexthop_bucket_nh()
3401 nhg = rtnl_dereference(nh->nh_grp); in rtm_dump_nexthop_bucket_cb()
3521 nhg = rtnl_dereference(nh->nh_grp); in rtm_get_nexthop_bucket()
3682 nhg = rcu_dereference(nexthop->nh_grp); in nexthop_bucket_set_hw_flags()
3716 nhg = rcu_dereference(nexthop->nh_grp); in nexthop_res_grp_activity_update()