Lines Matching refs:state
41 if (unlikely(evtchnl->state != EVTCHNL_STATE_CONNECTED))
243 dev_dbg(&xb_dev->dev, "Backend state is %s, front is %s\n",
245 xenbus_strstate(xb_dev->state));
270 if (xb_dev->state != XenbusStateInitialised)
282 * In this state backend starts freeing resources,
283 * so let it go into closed state first, so we can also
290 if (xb_dev->state == XenbusStateClosed)
323 * so no backend state change events come via .otherend_changed
326 * state to change to XenbusStateClosed and cleaning at our end.
328 * XenbusStateInitWait state.
330 * Workaround: read backend's state manually and wait with time-out.
332 while ((xenbus_read_unsigned(front_info->xb_dev->otherend, "state",
338 unsigned int state;
340 state = xenbus_read_unsigned(front_info->xb_dev->otherend,
341 "state", XenbusStateUnknown);
342 pr_err("Backend state is %s while removing driver\n",
343 xenbus_strstate(state));