Home
last modified time | relevance | path

Searched refs:vdev_mutex (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/block/
Dvirtio_blk.c65 struct mutex vdev_mutex; member
684 mutex_lock(&vblk->vdev_mutex); in virtblk_report_zones()
722 mutex_unlock(&vblk->vdev_mutex); in virtblk_report_zones()
900 mutex_lock(&vblk->vdev_mutex); in virtblk_getgeo()
922 mutex_unlock(&vblk->vdev_mutex); in virtblk_getgeo()
931 mutex_destroy(&vblk->vdev_mutex); in virtblk_free_disk()
1347 mutex_init(&vblk->vdev_mutex); in virtblk_probe()
1609 mutex_lock(&vblk->vdev_mutex); in virtblk_remove()
1620 mutex_unlock(&vblk->vdev_mutex); in virtblk_remove()
/Linux-v6.6/drivers/media/platform/nxp/
Dimx7-media-csi.c239 struct mutex vdev_mutex; /* Protect vdev operations */ member
1509 if (mutex_lock_interruptible(&csi->vdev_mutex)) in imx7_csi_video_open()
1523 mutex_unlock(&csi->vdev_mutex); in imx7_csi_video_open()
1532 mutex_lock(&csi->vdev_mutex); in imx7_csi_video_release()
1542 mutex_unlock(&csi->vdev_mutex); in imx7_csi_video_release()
1635 mutex_init(&csi->vdev_mutex); in imx7_csi_video_init()
1652 vdev->lock = &csi->vdev_mutex; in imx7_csi_video_init()
1677 vq->lock = &csi->vdev_mutex; in imx7_csi_video_init()