Home
last modified time | relevance | path

Searched refs:credit_watch (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/xen-netback/
Dxenbus.c526 struct xenvif *vif = container_of(watch, struct xenvif, credit_watch); in xen_net_rate_changed()
552 if (vif->credit_watch.node) in xen_register_credit_watch()
559 vif->credit_watch.node = node; in xen_register_credit_watch()
560 vif->credit_watch.callback = xen_net_rate_changed; in xen_register_credit_watch()
561 err = register_xenbus_watch(&vif->credit_watch); in xen_register_credit_watch()
563 pr_err("Failed to set watcher %s\n", vif->credit_watch.node); in xen_register_credit_watch()
565 vif->credit_watch.node = NULL; in xen_register_credit_watch()
566 vif->credit_watch.callback = NULL; in xen_register_credit_watch()
573 if (vif->credit_watch.node) { in xen_unregister_credit_watch()
574 unregister_xenbus_watch(&vif->credit_watch); in xen_unregister_credit_watch()
[all …]
Dcommon.h316 struct xenbus_watch credit_watch; member