Lines Matching full:private
15 static ssize_t vfio_ccw_async_region_read(struct vfio_ccw_private *private, in vfio_ccw_async_region_read() argument
27 mutex_lock(&private->io_mutex); in vfio_ccw_async_region_read()
28 region = private->region[i].data; in vfio_ccw_async_region_read()
33 mutex_unlock(&private->io_mutex); in vfio_ccw_async_region_read()
37 static ssize_t vfio_ccw_async_region_write(struct vfio_ccw_private *private, in vfio_ccw_async_region_write() argument
49 if (!mutex_trylock(&private->io_mutex)) in vfio_ccw_async_region_write()
52 region = private->region[i].data; in vfio_ccw_async_region_write()
58 vfio_ccw_fsm_event(private, VFIO_CCW_EVENT_ASYNC_REQ); in vfio_ccw_async_region_write()
63 mutex_unlock(&private->io_mutex); in vfio_ccw_async_region_write()
67 static void vfio_ccw_async_region_release(struct vfio_ccw_private *private, in vfio_ccw_async_region_release() argument
79 int vfio_ccw_register_async_dev_regions(struct vfio_ccw_private *private) in vfio_ccw_register_async_dev_regions() argument
81 return vfio_ccw_register_dev_region(private, in vfio_ccw_register_async_dev_regions()
87 private->cmd_region); in vfio_ccw_register_async_dev_regions()