Lines Matching refs:state
141 "%s/%s", dev->otherend, "state");
179 enum xenbus_state state;
189 state = xenbus_read_driver_state(dev->otherend);
191 dev_dbg(&dev->dev, "state is %d, (%s), %s, %s\n",
192 state, xenbus_strstate(state), dev->otherend_watch.node, path);
199 if (ignore_on_shutdown && (state == XenbusStateClosing))
205 drv->otherend_changed(dev, state);
285 * If the toolstack has forced the device state to closing then set
286 * the state to closed now to allow it to be cleaned up.
411 xenbus_strstate(to_xenbus_device(dev)->state));
413 static DEVICE_ATTR_RO(state);
443 enum xenbus_state state = xenbus_read_driver_state(nodename);
445 if (state != XenbusStateInitialising) {
456 xendev->state = XenbusStateInitialising;
635 xdev->state = XenbusStateInitialising;
918 pr_warn("Xenstore state unknown\n");