Lines Matching full:region
3 * Async I/O region for vfio_ccw
20 struct ccw_cmd_region *region; in vfio_ccw_async_region_read() local
23 if (pos + count > sizeof(*region)) in vfio_ccw_async_region_read()
27 region = private->region[i].data; in vfio_ccw_async_region_read()
28 if (copy_to_user(buf, (void *)region + pos, count)) in vfio_ccw_async_region_read()
42 struct ccw_cmd_region *region; in vfio_ccw_async_region_write() local
45 if (pos + count > sizeof(*region)) in vfio_ccw_async_region_write()
51 region = private->region[i].data; in vfio_ccw_async_region_write()
52 if (copy_from_user((void *)region + pos, buf, count)) { in vfio_ccw_async_region_write()
59 ret = region->ret_code ? region->ret_code : count; in vfio_ccw_async_region_write()
67 struct vfio_ccw_region *region) in vfio_ccw_async_region_release() argument