Searched refs:vbd (Results 1 – 4 of 4) sorted by relevance
35 static void xen_vbd_free(struct xen_vbd *vbd);83 if (!blkif->rings || !blkif->rings[0].irq || !blkif->vbd.bdev) in xen_update_blkif_status()101 err = filemap_write_and_wait(blkif->vbd.bdev->bd_inode->i_mapping); in xen_update_blkif_status()106 invalidate_inode_pages2(blkif->vbd.bdev->bd_inode->i_mapping); in xen_update_blkif_status()347 xen_vbd_free(&blkif->vbd); in xen_blkif_free()472 static void xen_vbd_free(struct xen_vbd *vbd) in xen_vbd_free() argument474 if (vbd->bdev) in xen_vbd_free()475 blkdev_put(vbd->bdev, vbd->readonly ? FMODE_READ : FMODE_WRITE); in xen_vbd_free()476 vbd->bdev = NULL; in xen_vbd_free()483 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()342 !ring->blkif->vbd.overflow_max_grants)) { in purge_persistent_gnt()395 ring->blkif->vbd.overflow_max_grants = 0; in purge_persistent_gnt()447 struct xen_vbd *vbd = &blkif->vbd; in xen_vbd_translate() local450 if ((operation != REQ_OP_READ) && vbd->readonly) in xen_vbd_translate()458 if (unlikely(end > vbd_sz(vbd))) in xen_vbd_translate()462 req->dev = vbd->pdevice; in xen_vbd_translate()463 req->bdev = vbd->bdev; in xen_vbd_translate()472 struct xen_vbd *vbd = &blkif->vbd; in xen_vbd_resize() local[all …]
309 struct xen_vbd vbd; member
1284 struct video_device *vbd = NULL; in init_vpbe_layer() local1296 vbd = &vpbe_display_layer->video_dev; in init_vpbe_layer()1298 vbd->release = video_device_release_empty; in init_vpbe_layer()1299 vbd->fops = &vpbe_fops; in init_vpbe_layer()1300 vbd->ioctl_ops = &vpbe_ioctl_ops; in init_vpbe_layer()1301 vbd->minor = -1; in init_vpbe_layer()1302 vbd->v4l2_dev = &disp_dev->vpbe_dev->v4l2_dev; in init_vpbe_layer()1303 vbd->lock = &vpbe_display_layer->opslock; in init_vpbe_layer()1304 vbd->vfl_dir = VFL_DIR_TX; in init_vpbe_layer()1305 vbd->device_caps = V4L2_CAP_VIDEO_OUTPUT | V4L2_CAP_STREAMING; in init_vpbe_layer()[all …]