Searched refs:xd_hp_watch (Results 1 – 2 of 2) sorted by relevance
1150 (xenbus_read(XBT_NULL, pdp->xd_hp_watch.node, "", in i_xvdi_hpstate_handler()1493 if (pdp->xd_hp_watch.node == NULL) { in i_xvdi_add_watch_hpstate()1505 pdp->xd_hp_watch.node = path; in i_xvdi_add_watch_hpstate()1506 pdp->xd_hp_watch.callback = i_xvdi_hpstate_cb; in i_xvdi_add_watch_hpstate()1507 pdp->xd_hp_watch.dev = (struct xenbus_device *)dip; /* yuck! */ in i_xvdi_add_watch_hpstate()1508 if (register_xenbus_watch(&pdp->xd_hp_watch) != 0) { in i_xvdi_add_watch_hpstate()1528 if (pdp->xd_hp_watch.node != NULL) { in i_xvdi_rem_watch_hpstate()1530 unregister_xenbus_watch(&pdp->xd_hp_watch); in i_xvdi_rem_watch_hpstate()1543 if (pdp->xd_hp_watch.node != NULL) { in i_xvdi_rem_watch_hpstate()1544 kmem_free((void *)pdp->xd_hp_watch.node, in i_xvdi_rem_watch_hpstate()[all …]
162 struct xenbus_watch xd_hp_watch; member