Lines Matching refs:fb_tunnel_dev
166 ndev = READ_ONCE(itn->fb_tunnel_dev); in ip_tunnel_lookup()
868 if (dev == itn->fb_tunnel_dev) { in ip_tunnel_ctl()
869 t = ip_tunnel_find(itn, p, itn->fb_tunnel_dev->type); in ip_tunnel_ctl()
902 if (dev != itn->fb_tunnel_dev && cmd == SIOCCHGTUNNEL) { in ip_tunnel_ctl()
938 if (dev == itn->fb_tunnel_dev) { in ip_tunnel_ctl()
940 t = ip_tunnel_find(itn, p, itn->fb_tunnel_dev->type); in ip_tunnel_ctl()
944 if (t == netdev_priv(itn->fb_tunnel_dev)) in ip_tunnel_ctl()
1022 if (itn->fb_tunnel_dev != dev) { in ip_tunnel_dellink()
1061 itn->fb_tunnel_dev = NULL; in ip_tunnel_init_net()
1070 itn->fb_tunnel_dev = __ip_tunnel_create(net, ops, &parms); in ip_tunnel_init_net()
1074 if (!IS_ERR(itn->fb_tunnel_dev)) { in ip_tunnel_init_net()
1075 itn->fb_tunnel_dev->features |= NETIF_F_NETNS_LOCAL; in ip_tunnel_init_net()
1076 itn->fb_tunnel_dev->mtu = ip_tunnel_bind_dev(itn->fb_tunnel_dev); in ip_tunnel_init_net()
1077 ip_tunnel_add(itn, netdev_priv(itn->fb_tunnel_dev)); in ip_tunnel_init_net()
1078 itn->type = itn->fb_tunnel_dev->type; in ip_tunnel_init_net()
1082 return PTR_ERR_OR_ZERO(itn->fb_tunnel_dev); in ip_tunnel_init_net()
1190 if (dev == itn->fb_tunnel_dev) in ip_tunnel_changelink()
1265 if (itn->fb_tunnel_dev == dev) in ip_tunnel_uninit()
1266 WRITE_ONCE(itn->fb_tunnel_dev, NULL); in ip_tunnel_uninit()