Lines Matching refs:nh_dev
411 out_dev = rcu_dereference(nh->nh_dev); in mpls_forward()
699 RCU_INIT_POINTER(nh->nh_dev, dev); in mpls_nh_assign_dev()
1512 if (rtnl_dereference(nh->nh_dev) != dev) in mpls_ifdown()
1525 RCU_INIT_POINTER(nh->nh_dev, NULL); in mpls_ifdown()
1532 if (!rtnl_dereference(nh->nh_dev)) in mpls_ifdown()
1561 struct net_device *nh_dev = in mpls_ifup() local
1562 rtnl_dereference(nh->nh_dev); in mpls_ifup()
1568 if (nh_dev != dev) in mpls_ifup()
1996 dev = rtnl_dereference(nh->nh_dev); in mpls_dump_route()
2014 dev = rtnl_dereference(nh->nh_dev); in mpls_dump_route()
2125 struct net_device *nh_dev; in mpls_rt_uses_dev() local
2130 nh_dev = rtnl_dereference(nh->nh_dev); in mpls_rt_uses_dev()
2131 if (dev == nh_dev) in mpls_rt_uses_dev()
2135 nh_dev = rtnl_dereference(nh->nh_dev); in mpls_rt_uses_dev()
2136 if (nh_dev == dev) in mpls_rt_uses_dev()
2213 if (nh->nh_dev) in lfib_nlmsg_size()
2224 if (!rtnl_dereference(nh->nh_dev)) in lfib_nlmsg_size()
2470 dev = rtnl_dereference(nh->nh_dev); in mpls_getroute()
2509 RCU_INIT_POINTER(rt0->rt_nh->nh_dev, lo); in resize_platform_label_table()
2523 RCU_INIT_POINTER(rt2->rt_nh->nh_dev, lo); in resize_platform_label_table()