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()
718 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_fill_node()
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()
1239 nhg = rcu_dereference(nh->nh_grp); in nexthop_select_path()
1261 nhg = rcu_dereference_rtnl(nh->nh_grp); in nexthop_for_each_fib6_nh()
1309 nhg = rtnl_dereference(nh->nh_grp); in fib6_check_nexthop()
1381 nhg = rtnl_dereference(nh->nh_grp); in fib_check_nexthop()
1769 nhg = rtnl_dereference(nhp->nh_grp); in remove_nh_grp_entry()
1814 rcu_assign_pointer(nhp->nh_grp, newg); in remove_nh_grp_entry()
1847 struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp); in remove_nexthop_group()
1946 nhg = rtnl_dereference(replaced_nh->nh_grp); in nh_rt_cache_flush()
1971 oldg = rtnl_dereference(old->nh_grp); in replace_nexthop_grp()
1972 newg = rtnl_dereference(new->nh_grp); in replace_nexthop_grp()
2025 rcu_assign_pointer(old->nh_grp, newg); in replace_nexthop_grp()
2038 rcu_assign_pointer(new->nh_grp, oldg); in replace_nexthop_grp()
2109 struct nh_group *nhg = rtnl_dereference(group_nh->nh_grp); in replace_nexthop_single_notify()
2181 nhg = rtnl_dereference(nhp->nh_grp); in replace_nexthop_single()
2350 struct nh_group *nhg = rtnl_dereference(new_nh->nh_grp); in insert_nexthop()
2435 struct nlattr *grps_attr = cfg->nh_grp; in nexthop_create_group()
2513 rcu_assign_pointer(nh->nh_grp, nhg); in nexthop_create_group()
2680 if (cfg->nh_grp) in nexthop_add()
2835 cfg->nh_grp = tb[NHA_GROUP]; in rtm_to_nh_config()
3271 nhg = rtnl_dereference(nh->nh_grp); in nexthop_find_group_resilient()
3368 nhg = rtnl_dereference(nh->nh_grp); in rtm_dump_nexthop_bucket_nh()
3409 nhg = rtnl_dereference(nh->nh_grp); in rtm_dump_nexthop_bucket_cb()
3525 nhg = rtnl_dereference(nh->nh_grp); in rtm_get_nexthop_bucket()
3686 nhg = rcu_dereference(nexthop->nh_grp); in nexthop_bucket_set_hw_flags()
3720 nhg = rcu_dereference(nexthop->nh_grp); in nexthop_res_grp_activity_update()