Lines Matching refs:xbdev

201 	struct xenbus_device *xbdev;
369 info->xbdev->otherend_id,
392 info->xbdev->otherend_id,
1638 dev_dbg_ratelimited(&info->xbdev->dev,
1758 xenbus_dev_fatal(info->xbdev, err, "%s", message);
1787 max_page_order = xenbus_read_unsigned(info->xbdev->otherend,
1904 backend_max_queues = xenbus_read_unsigned(info->xbdev->otherend,
1915 xenbus_dev_fatal(info->xbdev, -ENOMEM, "allocating ring_info structure");
1990 info->xbdev = dev;
2027 xenbus_switch_state(info->xbdev, XenbusStateConnected);
2122 struct xenbus_device *xbdev = info->xbdev;
2126 if (xbdev->state == XenbusStateClosing)
2143 xenbus_frontend_closed(xbdev);
2149 info->discard_granularity = xenbus_read_unsigned(info->xbdev->otherend,
2152 info->discard_alignment = xenbus_read_unsigned(info->xbdev->otherend,
2155 !!xenbus_read_unsigned(info->xbdev->otherend, "discard-secure",
2270 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-barrier", 0)) {
2279 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-flush-cache",
2285 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-discard", 0))
2290 !!xenbus_read_unsigned(info->xbdev->otherend,
2295 indirect_segments = xenbus_read_unsigned(info->xbdev->otherend,
2328 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend,
2351 dev_dbg(&info->xbdev->dev, "%s:%s.\n",
2352 __func__, info->xbdev->otherend);
2354 err = xenbus_gather(XBT_NIL, info->xbdev->otherend,
2360 xenbus_dev_fatal(info->xbdev, err,
2362 info->xbdev->otherend);
2371 physical_sector_size = xenbus_read_unsigned(info->xbdev->otherend,
2378 xenbus_dev_fatal(info->xbdev, err, "setup_indirect at %s",
2379 info->xbdev->otherend);
2388 xenbus_dev_fatal(info->xbdev, err, "xlvbd_add at %s",
2389 info->xbdev->otherend);
2393 xenbus_switch_state(info->xbdev, XenbusStateConnected);
2400 err = device_add_disk(&info->xbdev->dev, info->gd, NULL);
2471 static void blkfront_remove(struct xenbus_device *xbdev)
2473 struct blkfront_info *info = dev_get_drvdata(&xbdev->dev);
2475 dev_dbg(&xbdev->dev, "%s removed", xbdev->nodename);
2498 return info->is_ready && info->xbdev;