net_device_ctx 35 drivers/net/hyperv/netvsc.c struct net_device_context *net_device_ctx = netdev_priv(ndev); net_device_ctx 36 drivers/net/hyperv/netvsc.c struct hv_device *dev = net_device_ctx->device_ctx; net_device_ctx 37 drivers/net/hyperv/netvsc.c struct netvsc_device *nv_dev = rtnl_dereference(net_device_ctx->nvdev); net_device_ctx 617 drivers/net/hyperv/netvsc.c struct net_device_context *net_device_ctx = netdev_priv(ndev); net_device_ctx 619 drivers/net/hyperv/netvsc.c = rtnl_dereference(net_device_ctx->nvdev); net_device_ctx 634 drivers/net/hyperv/netvsc.c RCU_INIT_POINTER(net_device_ctx->nvdev, NULL); net_device_ctx 1115 drivers/net/hyperv/netvsc.c struct net_device_context *net_device_ctx = netdev_priv(ndev); net_device_ctx 1127 drivers/net/hyperv/netvsc.c netif_err(net_device_ctx, rx_err, ndev, net_device_ctx 1134 drivers/net/hyperv/netvsc.c netif_err(net_device_ctx, rx_err, ndev, net_device_ctx 1153 drivers/net/hyperv/netvsc.c netif_err(net_device_ctx, rx_err, ndev, net_device_ctx 1185 drivers/net/hyperv/netvsc.c struct net_device_context *net_device_ctx = netdev_priv(ndev); net_device_ctx 1216 drivers/net/hyperv/netvsc.c net_device_ctx->tx_table[i] = tab[i]; net_device_ctx 1222 drivers/net/hyperv/netvsc.c struct net_device_context *net_device_ctx = netdev_priv(ndev); net_device_ctx 1224 drivers/net/hyperv/netvsc.c net_device_ctx->vf_alloc = nvmsg->msg.v4_msg.vf_assoc.allocated; net_device_ctx 1225 drivers/net/hyperv/netvsc.c net_device_ctx->vf_serial = nvmsg->msg.v4_msg.vf_assoc.serial; net_device_ctx 1227 drivers/net/hyperv/netvsc.c net_device_ctx->vf_serial, net_device_ctx 1228 drivers/net/hyperv/netvsc.c net_device_ctx->vf_alloc ? "added" : "removed"); net_device_ctx 1367 drivers/net/hyperv/netvsc.c struct net_device_context *net_device_ctx = netdev_priv(ndev); net_device_ctx 1374 drivers/net/hyperv/netvsc.c net_device_ctx->tx_table[i] = 0; net_device_ctx 1427 drivers/net/hyperv/netvsc.c rcu_assign_pointer(net_device_ctx->nvdev, net_device); net_device_ctx 1432 drivers/net/hyperv/netvsc.c RCU_INIT_POINTER(net_device_ctx->nvdev, NULL); net_device_ctx 198 drivers/net/hyperv/netvsc_drv.c struct net_device_context *net_device_ctx = netdev_priv(net); net_device_ctx 200 drivers/net/hyperv/netvsc_drv.c = rtnl_dereference(net_device_ctx->vf_netdev); net_device_ctx 201 drivers/net/hyperv/netvsc_drv.c struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); net_device_ctx 524 drivers/net/hyperv/netvsc_drv.c struct net_device_context *net_device_ctx = netdev_priv(net); net_device_ctx 537 drivers/net/hyperv/netvsc_drv.c vf_netdev = rcu_dereference_bh(net_device_ctx->vf_netdev); net_device_ctx 551 drivers/net/hyperv/netvsc_drv.c ++net_device_ctx->eth_stats.tx_scattered; net_device_ctx 558 drivers/net/hyperv/netvsc_drv.c ++net_device_ctx->eth_stats.tx_too_big; net_device_ctx 648 drivers/net/hyperv/netvsc_drv.c if (net_checksum_info(skb) & net_device_ctx->tx_checksum_mask) { net_device_ctx 694 drivers/net/hyperv/netvsc_drv.c ++net_device_ctx->eth_stats.tx_busy; net_device_ctx 699 drivers/net/hyperv/netvsc_drv.c ++net_device_ctx->eth_stats.tx_no_space; net_device_ctx 708 drivers/net/hyperv/netvsc_drv.c ++net_device_ctx->eth_stats.tx_no_memory; net_device_ctx 824 drivers/net/hyperv/netvsc_drv.c struct net_device_context *net_device_ctx = netdev_priv(net); net_device_ctx 837 drivers/net/hyperv/netvsc_drv.c ++net_device_ctx->eth_stats.rx_no_memory; net_device_ctx 873 drivers/net/hyperv/netvsc_drv.c struct net_device_context *net_device_ctx = netdev_priv(net); net_device_ctx 874 drivers/net/hyperv/netvsc_drv.c struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); net_device_ctx 1005 drivers/net/hyperv/netvsc_drv.c struct net_device_context *net_device_ctx = netdev_priv(net); net_device_ctx 1006 drivers/net/hyperv/netvsc_drv.c struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); net_device_ctx 1993 drivers/net/hyperv/netvsc_drv.c struct net_device_context *net_device_ctx; net_device_ctx 2000 drivers/net/hyperv/netvsc_drv.c net_device_ctx = netdev_priv(dev); net_device_ctx 2001 drivers/net/hyperv/netvsc_drv.c if (!rtnl_dereference(net_device_ctx->nvdev)) net_device_ctx 2165 drivers/net/hyperv/netvsc_drv.c struct net_device_context *net_device_ctx; net_device_ctx 2177 drivers/net/hyperv/netvsc_drv.c net_device_ctx = netdev_priv(ndev); net_device_ctx 2178 drivers/net/hyperv/netvsc_drv.c netvsc_dev = rtnl_dereference(net_device_ctx->nvdev); net_device_ctx 2179 drivers/net/hyperv/netvsc_drv.c if (!netvsc_dev || rtnl_dereference(net_device_ctx->vf_netdev)) net_device_ctx 2206 drivers/net/hyperv/netvsc_drv.c rcu_assign_pointer(net_device_ctx->vf_netdev, vf_netdev); net_device_ctx 2217 drivers/net/hyperv/netvsc_drv.c struct net_device_context *net_device_ctx; net_device_ctx 2226 drivers/net/hyperv/netvsc_drv.c net_device_ctx = netdev_priv(ndev); net_device_ctx 2227 drivers/net/hyperv/netvsc_drv.c netvsc_dev = rtnl_dereference(net_device_ctx->nvdev); net_device_ctx 2241 drivers/net/hyperv/netvsc_drv.c struct net_device_context *net_device_ctx; net_device_ctx 2247 drivers/net/hyperv/netvsc_drv.c net_device_ctx = netdev_priv(ndev); net_device_ctx 2248 drivers/net/hyperv/netvsc_drv.c cancel_delayed_work_sync(&net_device_ctx->vf_takeover); net_device_ctx 2254 drivers/net/hyperv/netvsc_drv.c RCU_INIT_POINTER(net_device_ctx->vf_netdev, NULL); net_device_ctx 2264 drivers/net/hyperv/netvsc_drv.c struct net_device_context *net_device_ctx; net_device_ctx 2278 drivers/net/hyperv/netvsc_drv.c net_device_ctx = netdev_priv(net); net_device_ctx 2279 drivers/net/hyperv/netvsc_drv.c net_device_ctx->device_ctx = dev; net_device_ctx 2280 drivers/net/hyperv/netvsc_drv.c net_device_ctx->msg_enable = netif_msg_init(debug, default_msg); net_device_ctx 2281 drivers/net/hyperv/netvsc_drv.c if (netif_msg_probe(net_device_ctx)) net_device_ctx 2283 drivers/net/hyperv/netvsc_drv.c net_device_ctx->msg_enable); net_device_ctx 2287 drivers/net/hyperv/netvsc_drv.c INIT_DELAYED_WORK(&net_device_ctx->dwork, netvsc_link_change); net_device_ctx 2289 drivers/net/hyperv/netvsc_drv.c spin_lock_init(&net_device_ctx->lock); net_device_ctx 2290 drivers/net/hyperv/netvsc_drv.c INIT_LIST_HEAD(&net_device_ctx->reconfig_events); net_device_ctx 2291 drivers/net/hyperv/netvsc_drv.c INIT_DELAYED_WORK(&net_device_ctx->vf_takeover, netvsc_vf_setup); net_device_ctx 2293 drivers/net/hyperv/netvsc_drv.c net_device_ctx->vf_stats net_device_ctx 2295 drivers/net/hyperv/netvsc_drv.c if (!net_device_ctx->vf_stats) net_device_ctx 2362 drivers/net/hyperv/netvsc_drv.c list_add(&net_device_ctx->list, &netvsc_dev_list); net_device_ctx 2374 drivers/net/hyperv/netvsc_drv.c free_percpu(net_device_ctx->vf_stats); net_device_ctx 465 drivers/net/hyperv/rndis_filter.c struct net_device_context *net_device_ctx = netdev_priv(ndev); net_device_ctx 468 drivers/net/hyperv/rndis_filter.c if (netif_msg_rx_status(net_device_ctx)) net_device_ctx 1188 drivers/net/hyperv/rndis_filter.c struct net_device_context *net_device_ctx = netdev_priv(net); net_device_ctx 1207 drivers/net/hyperv/rndis_filter.c net_device_ctx->tx_checksum_mask = 0; net_device_ctx 1216 drivers/net/hyperv/rndis_filter.c net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV4_TCP; net_device_ctx 1230 drivers/net/hyperv/rndis_filter.c net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV4_UDP; net_device_ctx 1238 drivers/net/hyperv/rndis_filter.c net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV6_TCP; net_device_ctx 1251 drivers/net/hyperv/rndis_filter.c net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV6_UDP;