Lines Matching refs:fb_tunnel_dev
166 ndev = READ_ONCE(itn->fb_tunnel_dev); in ip_tunnel_lookup()
865 if (dev == itn->fb_tunnel_dev) { in ip_tunnel_ctl()
866 t = ip_tunnel_find(itn, p, itn->fb_tunnel_dev->type); in ip_tunnel_ctl()
899 if (dev != itn->fb_tunnel_dev && cmd == SIOCCHGTUNNEL) { in ip_tunnel_ctl()
935 if (dev == itn->fb_tunnel_dev) { in ip_tunnel_ctl()
937 t = ip_tunnel_find(itn, p, itn->fb_tunnel_dev->type); in ip_tunnel_ctl()
941 if (t == netdev_priv(itn->fb_tunnel_dev)) in ip_tunnel_ctl()
1015 if (itn->fb_tunnel_dev != dev) { in ip_tunnel_dellink()
1054 itn->fb_tunnel_dev = NULL; in ip_tunnel_init_net()
1063 itn->fb_tunnel_dev = __ip_tunnel_create(net, ops, &parms); in ip_tunnel_init_net()
1067 if (!IS_ERR(itn->fb_tunnel_dev)) { in ip_tunnel_init_net()
1068 itn->fb_tunnel_dev->features |= NETIF_F_NETNS_LOCAL; in ip_tunnel_init_net()
1069 itn->fb_tunnel_dev->mtu = ip_tunnel_bind_dev(itn->fb_tunnel_dev); in ip_tunnel_init_net()
1070 ip_tunnel_add(itn, netdev_priv(itn->fb_tunnel_dev)); in ip_tunnel_init_net()
1071 itn->type = itn->fb_tunnel_dev->type; in ip_tunnel_init_net()
1075 return PTR_ERR_OR_ZERO(itn->fb_tunnel_dev); in ip_tunnel_init_net()
1181 if (dev == itn->fb_tunnel_dev) in ip_tunnel_changelink()
1256 if (itn->fb_tunnel_dev == dev) in ip_tunnel_uninit()
1257 WRITE_ONCE(itn->fb_tunnel_dev, NULL); in ip_tunnel_uninit()