Home
last modified time | relevance | path

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

/linux/drivers/block/xen-blkback/
H A Dxenbus.c36 static void xen_vbd_free(struct xen_vbd *vbd);
84 if (!blkif->rings || !blkif->rings[0].irq || !blkif->vbd.bdev_file) in xen_update_blkif_status()
102 err = sync_blockdev(file_bdev(blkif->vbd.bdev_file)); in xen_update_blkif_status()
107 invalidate_inode_pages2(blkif->vbd.bdev_file->f_mapping); in xen_update_blkif_status()
348 xen_vbd_free(&blkif->vbd); in xen_blkif_free()
473 static void xen_vbd_free(struct xen_vbd *vbd) in xen_vbd_free() argument
475 if (vbd->bdev_file) in xen_vbd_free()
476 fput(vbd->bdev_file); in xen_vbd_free()
477 vbd->bdev_file = NULL; in xen_vbd_free()
484 struct xen_vbd *vbd; in xen_vbd_create() local
[all …]
H A Dblkback.c176 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()
452 struct xen_vbd *vbd = &blkif->vbd; in xen_vbd_translate() local
455 if ((operation != REQ_OP_READ) && vbd->readonly) in xen_vbd_translate()
463 if (unlikely(end > vbd_sz(vbd))) in xen_vbd_translate()
467 req->dev = vbd->pdevice; in xen_vbd_translate()
468 req->bdev = file_bdev(vbd->bdev_file); in xen_vbd_translate()
477 struct xen_vbd *vbd = &blkif->vbd; in xen_vbd_resize() local
[all …]
H A Dcommon.h309 struct xen_vbd vbd; member
/linux/Documentation/ABI/stable/
H A Dsysfs-bus-xen-backend6 The type of the device. e.g., one of: 'vbd' (block),
17 What: /sys/bus/xen-backend/devices/vbd-*/physical_device
26 What: /sys/bus/xen-backend/devices/vbd-*/mode
34 What: /sys/bus/xen-backend/devices/vbd-*/statistics/f_req
41 What: /sys/bus/xen-backend/devices/vbd-*/statistics/oo_req
49 What: /sys/bus/xen-backend/devices/vbd-*/statistics/rd_req
56 What: /sys/bus/xen-backend/devices/vbd-*/statistics/rd_sect
63 What: /sys/bus/xen-backend/devices/vbd-*/statistics/wr_req
70 What: /sys/bus/xen-backend/devices/vbd-*/statistics/wr_sect