Lines Matching refs:state
142 "%s/%s", dev->otherend, "state");
180 enum xenbus_state state;
190 state = xenbus_read_driver_state(dev->otherend);
192 dev_dbg(&dev->dev, "state is %d, (%s), %s, %s\n",
193 state, xenbus_strstate(state), dev->otherend_watch.node, path);
200 if (ignore_on_shutdown && (state == XenbusStateClosing))
206 drv->otherend_changed(dev, state);
351 * If the toolstack has forced the device state to closing then set
352 * the state to closed now to allow it to be cleaned up.
475 xenbus_strstate(to_xenbus_device(dev)->state));
477 static DEVICE_ATTR_RO(state);
507 enum xenbus_state state = xenbus_read_driver_state(nodename);
509 if (state != XenbusStateInitialising) {
520 xendev->state = XenbusStateInitialising;
699 xdev->state = XenbusStateInitialising;
1035 pr_warn("Xenstore state unknown\n");