Searched refs:vbd (Results 1 – 4 of 4) sorted by relevance
36 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() argument475 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 …]
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()452 struct xen_vbd *vbd = &blkif->vbd; in xen_vbd_translate() local455 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 …]
309 struct xen_vbd vbd; member
6 The type of the device. e.g., one of: 'vbd' (block),17 What: /sys/bus/xen-backend/devices/vbd-*/physical_device26 What: /sys/bus/xen-backend/devices/vbd-*/mode34 What: /sys/bus/xen-backend/devices/vbd-*/statistics/f_req41 What: /sys/bus/xen-backend/devices/vbd-*/statistics/oo_req49 What: /sys/bus/xen-backend/devices/vbd-*/statistics/rd_req56 What: /sys/bus/xen-backend/devices/vbd-*/statistics/rd_sect63 What: /sys/bus/xen-backend/devices/vbd-*/statistics/wr_req70 What: /sys/bus/xen-backend/devices/vbd-*/statistics/wr_sect