Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/block/xen-blkback/
Dxenbus.c23 struct xen_blkif *blkif; member
35 static void xen_blkif_free(struct xen_blkif *blkif);
49 struct xen_blkif *blkif; in xen_blkif_deferred_free() local
51 blkif = container_of(work, struct xen_blkif, free_work); in xen_blkif_deferred_free()
52 xen_blkif_free(blkif); in xen_blkif_deferred_free()
55 static int blkback_name(struct xen_blkif *blkif, char *buf) in blkback_name() argument
58 struct xenbus_device *dev = blkif->be->dev; in blkback_name()
70 snprintf(buf, TASK_COMM_LEN, "%d.%s", blkif->domid, devname); in blkback_name()
76 static void xen_update_blkif_status(struct xen_blkif *blkif) in xen_update_blkif_status() argument
84 if (!blkif->rings || !blkif->rings[0].irq || !blkif->vbd.bdev_file) 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()
347 !ring->blkif->vbd.overflow_max_grants)) { in purge_persistent_gnt()
400 ring->blkif->vbd.overflow_max_grants = 0; in purge_persistent_gnt()
449 static int xen_vbd_translate(struct phys_req *req, struct xen_blkif *blkif, in xen_vbd_translate() argument
452 struct xen_vbd *vbd = &blkif->vbd; in xen_vbd_translate()
475 static void xen_vbd_resize(struct xen_blkif *blkif) in xen_vbd_resize() argument
477 struct xen_vbd *vbd = &blkif->vbd; in xen_vbd_resize()
480 struct xenbus_device *dev = xen_blkbk_xenbus(blkif->be); in xen_vbd_resize()
[all …]
Dcommon.h299 struct xen_blkif *blkif; member
/linux-6.12.1/include/xen/interface/io/
Dblkif.h275 DEFINE_RING_TYPES(blkif, struct blkif_request, struct blkif_response);
/linux-6.12.1/drivers/block/
Dxen-blkfront.c160 __CONST_RING_SIZE(blkif, XEN_PAGE_SIZE * (info)->nr_ring_pages)