Lines Matching refs:private
14 static ssize_t vfio_ccw_async_region_read(struct vfio_ccw_private *private, in vfio_ccw_async_region_read() argument
26 mutex_lock(&private->io_mutex); in vfio_ccw_async_region_read()
27 region = private->region[i].data; in vfio_ccw_async_region_read()
32 mutex_unlock(&private->io_mutex); in vfio_ccw_async_region_read()
36 static ssize_t vfio_ccw_async_region_write(struct vfio_ccw_private *private, in vfio_ccw_async_region_write() argument
48 if (!mutex_trylock(&private->io_mutex)) in vfio_ccw_async_region_write()
51 region = private->region[i].data; in vfio_ccw_async_region_write()
57 vfio_ccw_fsm_event(private, VFIO_CCW_EVENT_ASYNC_REQ); in vfio_ccw_async_region_write()
62 mutex_unlock(&private->io_mutex); in vfio_ccw_async_region_write()
66 static void vfio_ccw_async_region_release(struct vfio_ccw_private *private, in vfio_ccw_async_region_release() argument
78 int vfio_ccw_register_async_dev_regions(struct vfio_ccw_private *private) in vfio_ccw_register_async_dev_regions() argument
80 return vfio_ccw_register_dev_region(private, in vfio_ccw_register_async_dev_regions()
86 private->cmd_region); in vfio_ccw_register_async_dev_regions()