Lines Matching refs:xbdev

87 	struct xenbus_device *xbdev;
227 dev_dbg(&info->xbdev->dev, "command: 0x%x, argument: 0x%lx\n",
232 dev_dbg(&info->xbdev->dev, "FIXME: support multisession CDs later\n");
331 info->xbdev->otherend_id,
599 gd->driverfs_dev = &(info->xbdev->dev);
795 dev_dbg(&info->xbdev->dev, "Bad return from blkdev data "
993 info->xbdev = dev;
1057 info->xbdev->otherend_id,
1068 xenbus_switch_state(info->xbdev, XenbusStateConnected);
1111 struct xenbus_device *xbdev = info->xbdev;
1116 if (xbdev->state == XenbusStateClosing) {
1127 xenbus_frontend_closed(xbdev);
1134 xenbus_dev_error(xbdev, -EBUSY,
1136 xenbus_switch_state(xbdev, XenbusStateClosing);
1139 xenbus_frontend_closed(xbdev);
1154 type = xenbus_read(XBT_NIL, info->xbdev->otherend, "type", NULL);
1160 err = xenbus_gather(XBT_NIL, info->xbdev->otherend,
1169 err = xenbus_gather(XBT_NIL, info->xbdev->otherend,
1199 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend,
1216 dev_dbg(&info->xbdev->dev, "%s:%s.\n",
1217 __func__, info->xbdev->otherend);
1219 err = xenbus_gather(XBT_NIL, info->xbdev->otherend,
1225 xenbus_dev_fatal(info->xbdev, err,
1227 info->xbdev->otherend);
1234 err = xenbus_gather(XBT_NIL, info->xbdev->otherend,
1253 err = xenbus_gather(XBT_NIL, info->xbdev->otherend,
1262 err = xenbus_gather(XBT_NIL, info->xbdev->otherend,
1271 xenbus_dev_fatal(info->xbdev, err, "xlvbd_add at %s",
1272 info->xbdev->otherend);
1276 xenbus_switch_state(info->xbdev, XenbusStateConnected);
1319 static int blkfront_remove(struct xenbus_device *xbdev)
1321 struct blkfront_info *info = dev_get_drvdata(&xbdev->dev);
1325 dev_dbg(&xbdev->dev, "%s removed", xbdev->nodename);
1335 info->xbdev = NULL;
1344 * The xbdev was removed before we reached the Closed
1354 xbdev->nodename, bdev->bd_openers);
1372 return info->is_ready && info->xbdev;
1385 /* xbdev gone */
1393 /* xbdev is closed */
1407 struct xenbus_device *xbdev;
1422 xbdev = info->xbdev;
1424 if (xbdev && xbdev->state == XenbusStateClosing) {
1428 xenbus_frontend_closed(info->xbdev);
1433 if (!xbdev) {