Lines Matching full:region
3 * Async I/O region for vfio_ccw
21 struct ccw_cmd_region *region; in vfio_ccw_async_region_read() local
24 if (pos + count > sizeof(*region)) in vfio_ccw_async_region_read()
28 region = private->region[i].data; in vfio_ccw_async_region_read()
29 if (copy_to_user(buf, (void *)region + pos, count)) in vfio_ccw_async_region_read()
43 struct ccw_cmd_region *region; in vfio_ccw_async_region_write() local
46 if (pos + count > sizeof(*region)) in vfio_ccw_async_region_write()
52 region = private->region[i].data; in vfio_ccw_async_region_write()
53 if (copy_from_user((void *)region + pos, buf, count)) { in vfio_ccw_async_region_write()
60 ret = region->ret_code ? region->ret_code : count; in vfio_ccw_async_region_write()
68 struct vfio_ccw_region *region) in vfio_ccw_async_region_release() argument