Searched refs:xd_bepath_watch (Results 1 – 2 of 2) sorted by relevance
1622 if (pdp->xd_bepath_watch.node == NULL) { in i_xvdi_add_watch_bepath()1633 pdp->xd_bepath_watch.node = path; in i_xvdi_add_watch_bepath()1634 pdp->xd_bepath_watch.callback = i_xvdi_bepath_cb; in i_xvdi_add_watch_bepath()1635 pdp->xd_bepath_watch.dev = (struct xenbus_device *)dip; in i_xvdi_add_watch_bepath()1636 if (register_xenbus_watch(&pdp->xd_bepath_watch) != 0) { in i_xvdi_add_watch_bepath()1638 pdp->xd_bepath_watch.node = NULL; in i_xvdi_add_watch_bepath()1655 if (pdp->xd_bepath_watch.node != NULL) { in i_xvdi_rem_watch_bepath()1657 unregister_xenbus_watch(&pdp->xd_bepath_watch); in i_xvdi_rem_watch_bepath()1660 kmem_free((void *)(pdp->xd_bepath_watch.node), in i_xvdi_rem_watch_bepath()1661 strlen(pdp->xd_bepath_watch.node) + 1); in i_xvdi_rem_watch_bepath()[all …]
163 struct xenbus_watch xd_bepath_watch; member