Searched refs:xbdev (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/block/
H A Dxen-blkfront.c112 struct xenbus_device *xbdev; member in struct:blkfront_info
258 info->xbdev->otherend_id, get_grant()
355 dev_dbg(&info->xbdev->dev, "command: 0x%x, argument: 0x%lx\n", blkif_ioctl()
360 dev_dbg(&info->xbdev->dev, "FIXME: support multisession CDs later\n"); blkif_ioctl()
856 gd->driverfs_dev = &(info->xbdev->dev); xlvbd_alloc_gendisk()
1218 dev_dbg(&info->xbdev->dev, "Bad return from blkdev data " blkif_interrupt()
1419 info->xbdev = dev; blkfront_probe()
1544 xenbus_switch_state(info->xbdev, XenbusStateConnected); blkif_recover()
1627 struct xenbus_device *xbdev = info->xbdev; blkfront_closing() local
1632 if (xbdev->state == XenbusStateClosing) { blkfront_closing()
1643 xenbus_frontend_closed(xbdev); blkfront_closing()
1650 xenbus_dev_error(xbdev, -EBUSY, blkfront_closing()
1652 xenbus_switch_state(xbdev, XenbusStateClosing); blkfront_closing()
1655 xenbus_frontend_closed(xbdev); blkfront_closing()
1670 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, blkfront_setup_discard()
1678 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, blkfront_setup_discard()
1690 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, blkfront_setup_indirect()
1782 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, blkfront_connect()
1806 dev_dbg(&info->xbdev->dev, "%s:%s.\n", blkfront_connect()
1807 __func__, info->xbdev->otherend); blkfront_connect()
1809 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, blkfront_connect()
1815 xenbus_dev_fatal(info->xbdev, err, blkfront_connect()
1817 info->xbdev->otherend); blkfront_connect()
1826 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, blkfront_connect()
1833 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, blkfront_connect()
1850 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, blkfront_connect()
1857 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, blkfront_connect()
1864 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, blkfront_connect()
1874 xenbus_dev_fatal(info->xbdev, err, "setup_indirect at %s", blkfront_connect()
1875 info->xbdev->otherend); blkfront_connect()
1882 xenbus_dev_fatal(info->xbdev, err, "xlvbd_add at %s", blkfront_connect()
1883 info->xbdev->otherend); blkfront_connect()
1887 xenbus_switch_state(info->xbdev, XenbusStateConnected); blkfront_connect()
1934 static int blkfront_remove(struct xenbus_device *xbdev) blkfront_remove() argument
1936 struct blkfront_info *info = dev_get_drvdata(&xbdev->dev); blkfront_remove()
1940 dev_dbg(&xbdev->dev, "%s removed", xbdev->nodename); blkfront_remove()
1950 info->xbdev = NULL; blkfront_remove()
1959 * The xbdev was removed before we reached the Closed blkfront_remove()
1969 xbdev->nodename, bdev->bd_openers); blkfront_remove()
1987 return info->is_ready && info->xbdev; blkfront_is_ready()
2000 /* xbdev gone */ blkif_open()
2008 /* xbdev is closed */ blkif_open()
2022 struct xenbus_device *xbdev; blkif_release() local
2041 xbdev = info->xbdev; blkif_release()
2043 if (xbdev && xbdev->state == XenbusStateClosing) { blkif_release()
2047 xenbus_frontend_closed(info->xbdev); blkif_release()
2052 if (!xbdev) { blkif_release()
/linux-4.1.27/drivers/input/misc/
H A Dxen-kbdfront.c40 struct xenbus_device *xbdev; member in struct:xenkbd_info
121 info->xbdev = dev; xenkbd_probe()
319 ret = xenbus_scanf(XBT_NIL, info->xbdev->otherend, xenkbd_backend_changed()
324 ret = xenbus_printf(XBT_NIL, info->xbdev->nodename, xenkbd_backend_changed()
343 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, xenkbd_backend_changed()
347 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, xenkbd_backend_changed()
/linux-4.1.27/drivers/tty/hvc/
H A Dhvc_xen.c49 struct xenbus_device *xbdev; member in struct:xencons_info
331 xenbus_free_evtchn(info->xbdev, info->evtchn); xencons_disconnect_backend()
355 if (info->xbdev != NULL) xen_console_remove()
403 gnttab_grant_foreign_access_ref(ref, info->xbdev->otherend_id, xencons_connect_backend()
450 info->xbdev = dev; xencons_probe()
/linux-4.1.27/drivers/net/
H A Dxen-netfront.c151 struct xenbus_device *xbdev; member in struct:netfront_info
315 queue->info->xbdev->otherend_id, xennet_alloc_rx_buffers()
434 gnttab_grant_foreign_access_ref(ref, queue->info->xbdev->otherend_id, xennet_make_one_txreq()
1118 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, "feature-sg", xennet_fix_features()
1127 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, xennet_fix_features()
1136 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, xennet_fix_features()
1145 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, xennet_fix_features()
1246 np->xbdev = dev; xennet_create_dev()
1417 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->tx_evtchn); setup_netfront_single()
1432 xenbus_free_evtchn(queue->info->xbdev, queue->tx_evtchn); setup_netfront_single()
1442 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->tx_evtchn); setup_netfront_split()
1445 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->rx_evtchn); setup_netfront_split()
1473 xenbus_free_evtchn(queue->info->xbdev, queue->rx_evtchn); setup_netfront_split()
1476 xenbus_free_evtchn(queue->info->xbdev, queue->tx_evtchn); setup_netfront_split()
1616 struct xenbus_device *dev = queue->info->xbdev; write_queue_xenstore_keys()
1772 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, talk_to_netback()
1779 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, talk_to_netback()
1921 err = xenbus_scanf(XBT_NIL, np->xbdev->otherend, xennet_connect()
1932 err = talk_to_netback(np->xbdev, np); xennet_connect()
/linux-4.1.27/drivers/video/fbdev/
H A Dxen-fbfront.c56 struct xenbus_device *xbdev; member in struct:xenfb_info
393 info->xbdev = dev; xenfb_probe()
660 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, xenfb_backend_changed()

Completed in 451 milliseconds