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()
1238 nhg = rcu_dereference(nh->nh_grp); in nexthop_select_path()
1260 nhg = rcu_dereference_rtnl(nh->nh_grp); in nexthop_for_each_fib6_nh()
1308 nhg = rtnl_dereference(nh->nh_grp); in fib6_check_nexthop()
1380 nhg = rtnl_dereference(nh->nh_grp); in fib_check_nexthop()
1768 nhg = rtnl_dereference(nhp->nh_grp); in remove_nh_grp_entry()
1813 rcu_assign_pointer(nhp->nh_grp, newg); in remove_nh_grp_entry()
1846 struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp); in remove_nexthop_group()
1945 nhg = rtnl_dereference(replaced_nh->nh_grp); in nh_rt_cache_flush()
1970 oldg = rtnl_dereference(old->nh_grp); in replace_nexthop_grp()
1971 newg = rtnl_dereference(new->nh_grp); in replace_nexthop_grp()
2024 rcu_assign_pointer(old->nh_grp, newg); in replace_nexthop_grp()
2037 rcu_assign_pointer(new->nh_grp, oldg); in replace_nexthop_grp()
2108 struct nh_group *nhg = rtnl_dereference(group_nh->nh_grp); in replace_nexthop_single_notify()
2180 nhg = rtnl_dereference(nhp->nh_grp); in replace_nexthop_single()
2349 struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp); in insert_nexthop()
2434 struct nlattr *grps_attr = cfg->nh_grp; in nexthop_create_group()
2512 rcu_assign_pointer(nh->nh_grp, nhg); in nexthop_create_group()
2679 if (cfg->nh_grp) in nexthop_add()
2834 cfg->nh_grp = tb[NHA_GROUP]; in rtm_to_nh_config()
3270 nhg = rtnl_dereference(nh->nh_grp); in nexthop_find_group_resilient()
3367 nhg = rtnl_dereference(nh->nh_grp); in rtm_dump_nexthop_bucket_nh()
3408 nhg = rtnl_dereference(nh->nh_grp); in rtm_dump_nexthop_bucket_cb()
3524 nhg = rtnl_dereference(nh->nh_grp); in rtm_get_nexthop_bucket()
3685 nhg = rcu_dereference(nexthop->nh_grp); in nexthop_bucket_set_hw_flags()
3719 nhg = rcu_dereference(nexthop->nh_grp); in nexthop_res_grp_activity_update()