Lines Matching refs:ndev_ctx
603 struct net_device_context *ndev_ctx; in netvsc_linkstatus_callback() local
629 ndev_ctx = netdev_priv(net); in netvsc_linkstatus_callback()
631 schedule_delayed_work(&ndev_ctx->dwork, 0); in netvsc_linkstatus_callback()
632 schedule_delayed_work(&ndev_ctx->dwork, msecs_to_jiffies(20)); in netvsc_linkstatus_callback()
634 schedule_delayed_work(&ndev_ctx->dwork, 0); in netvsc_linkstatus_callback()
822 struct net_device_context *ndev_ctx; in netvsc_link_change() local
832 ndev_ctx = container_of(w, struct net_device_context, dwork.work); in netvsc_link_change()
833 net_device = hv_get_drvdata(ndev_ctx->device_ctx); in netvsc_link_change()
937 struct net_device_context *ndev_ctx; in netvsc_remove() local
950 ndev_ctx = netdev_priv(net); in netvsc_remove()
951 cancel_delayed_work_sync(&ndev_ctx->dwork); in netvsc_remove()
952 cancel_work_sync(&ndev_ctx->work); in netvsc_remove()