Lines Matching refs:ndev_ctx
648 struct net_device_context *ndev_ctx; in netvsc_linkstatus_callback() local
674 ndev_ctx = netdev_priv(net); in netvsc_linkstatus_callback()
676 schedule_delayed_work(&ndev_ctx->dwork, 0); in netvsc_linkstatus_callback()
677 schedule_delayed_work(&ndev_ctx->dwork, msecs_to_jiffies(20)); in netvsc_linkstatus_callback()
679 schedule_delayed_work(&ndev_ctx->dwork, 0); in netvsc_linkstatus_callback()
916 struct net_device_context *ndev_ctx = netdev_priv(net); in netvsc_get_stats64() local
920 struct netvsc_stats *tx_stats = per_cpu_ptr(ndev_ctx->tx_stats, in netvsc_get_stats64()
922 struct netvsc_stats *rx_stats = per_cpu_ptr(ndev_ctx->rx_stats, in netvsc_get_stats64()
1021 struct net_device_context *ndev_ctx; in netvsc_link_change() local
1031 ndev_ctx = container_of(w, struct net_device_context, dwork.work); in netvsc_link_change()
1032 net_device = hv_get_drvdata(ndev_ctx->device_ctx); in netvsc_link_change()
1158 struct net_device_context *ndev_ctx; in netvsc_remove() local
1171 ndev_ctx = netdev_priv(net); in netvsc_remove()
1172 cancel_delayed_work_sync(&ndev_ctx->dwork); in netvsc_remove()
1173 cancel_work_sync(&ndev_ctx->work); in netvsc_remove()