Home
last modified time | relevance | path

Searched refs:blkif (Results 1 – 4 of 4) sorted by relevance

/drivers/block/xen-blkback/
Dxenbus.c22 struct xen_blkif *blkif; member
34 static void xen_blkif_free(struct xen_blkif *blkif);
48 struct xen_blkif *blkif; in xen_blkif_deferred_free() local
50 blkif = container_of(work, struct xen_blkif, free_work); in xen_blkif_deferred_free()
51 xen_blkif_free(blkif); in xen_blkif_deferred_free()
54 static int blkback_name(struct xen_blkif *blkif, char *buf) in blkback_name() argument
57 struct xenbus_device *dev = blkif->be->dev; in blkback_name()
69 snprintf(buf, TASK_COMM_LEN, "%d.%s", blkif->domid, devname); in blkback_name()
75 static void xen_update_blkif_status(struct xen_blkif *blkif) in xen_update_blkif_status() argument
83 if (!blkif->rings || !blkif->rings[0].irq || !blkif->vbd.bdev) in xen_update_blkif_status()
[all …]
Dblkback.c173 struct xen_blkif *blkif = ring->blkif; in add_persistent_gnt() local
176 if (!blkif->vbd.overflow_max_grants) in add_persistent_gnt()
177 blkif->vbd.overflow_max_grants = 1; in add_persistent_gnt()
342 !ring->blkif->vbd.overflow_max_grants)) { in purge_persistent_gnt()
395 ring->blkif->vbd.overflow_max_grants = 0; in purge_persistent_gnt()
444 static int xen_vbd_translate(struct phys_req *req, struct xen_blkif *blkif, in xen_vbd_translate() argument
447 struct xen_vbd *vbd = &blkif->vbd; in xen_vbd_translate()
470 static void xen_vbd_resize(struct xen_blkif *blkif) in xen_vbd_resize() argument
472 struct xen_vbd *vbd = &blkif->vbd; in xen_vbd_resize()
475 struct xenbus_device *dev = xen_blkbk_xenbus(blkif->be); in xen_vbd_resize()
[all …]
Dcommon.h299 struct xen_blkif *blkif; member
/drivers/block/
Dxen-blkfront.c160 __CONST_RING_SIZE(blkif, XEN_PAGE_SIZE * (info)->nr_ring_pages)