Lines Matching refs:xbdev

201 	struct xenbus_device *xbdev;  member
369 info->xbdev->otherend_id, in grant_foreign_access()
392 info->xbdev->otherend_id, in get_grant()
1638 dev_dbg_ratelimited(&info->xbdev->dev, in blkif_interrupt()
1758 xenbus_dev_fatal(info->xbdev, err, "%s", message); in write_per_ring_nodes()
1787 max_page_order = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_blkback()
1904 backend_max_queues = xenbus_read_unsigned(info->xbdev->otherend, in negotiate_mq()
1915 xenbus_dev_fatal(info->xbdev, -ENOMEM, "allocating ring_info structure"); in negotiate_mq()
1990 info->xbdev = dev; in blkfront_probe()
2028 xenbus_switch_state(info->xbdev, XenbusStateConnected); in blkif_recover()
2125 struct xenbus_device *xbdev = info->xbdev; in blkfront_closing() local
2129 if (xbdev->state == XenbusStateClosing) in blkfront_closing()
2146 xenbus_frontend_closed(xbdev); in blkfront_closing()
2152 info->discard_granularity = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_setup_discard()
2155 info->discard_alignment = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_setup_discard()
2158 !!xenbus_read_unsigned(info->xbdev->otherend, "discard-secure", in blkfront_setup_discard()
2273 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-barrier", 0)) { in blkfront_gather_backend_features()
2282 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-flush-cache", in blkfront_gather_backend_features()
2288 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-discard", 0)) in blkfront_gather_backend_features()
2293 !!xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features()
2298 indirect_segments = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features()
2329 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect()
2352 dev_dbg(&info->xbdev->dev, "%s:%s.\n", in blkfront_connect()
2353 __func__, info->xbdev->otherend); in blkfront_connect()
2355 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect()
2361 xenbus_dev_fatal(info->xbdev, err, in blkfront_connect()
2363 info->xbdev->otherend); in blkfront_connect()
2372 info->physical_sector_size = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_connect()
2379 xenbus_dev_fatal(info->xbdev, err, "setup_indirect at %s", in blkfront_connect()
2380 info->xbdev->otherend); in blkfront_connect()
2388 xenbus_dev_fatal(info->xbdev, err, "xlvbd_add at %s", in blkfront_connect()
2389 info->xbdev->otherend); in blkfront_connect()
2393 xenbus_switch_state(info->xbdev, XenbusStateConnected); in blkfront_connect()
2400 err = device_add_disk(&info->xbdev->dev, info->gd, NULL); in blkfront_connect()
2471 static void blkfront_remove(struct xenbus_device *xbdev) in blkfront_remove() argument
2473 struct blkfront_info *info = dev_get_drvdata(&xbdev->dev); in blkfront_remove()
2475 dev_dbg(&xbdev->dev, "%s removed", xbdev->nodename); in blkfront_remove()
2498 return info->is_ready && info->xbdev; in blkfront_is_ready()