Lines Matching full:region
21 struct ccw_schib_region *region; in vfio_ccw_schib_region_read() local
24 if (pos + count > sizeof(*region)) in vfio_ccw_schib_region_read()
28 region = private->region[i].data; in vfio_ccw_schib_region_read()
35 memcpy(region, &private->sch->schib, sizeof(*region)); in vfio_ccw_schib_region_read()
37 if (copy_to_user(buf, (void *)region + pos, count)) { in vfio_ccw_schib_region_read()
58 struct vfio_ccw_region *region) in vfio_ccw_schib_region_release() argument
85 struct ccw_crw_region *region; in vfio_ccw_crw_region_read() local
89 if (pos + count > sizeof(*region)) in vfio_ccw_crw_region_read()
99 region = private->region[i].data; in vfio_ccw_crw_region_read()
102 memcpy(®ion->crw, &crw->crw, sizeof(region->crw)); in vfio_ccw_crw_region_read()
104 if (copy_to_user(buf, (void *)region + pos, count)) in vfio_ccw_crw_region_read()
109 region->crw = 0; in vfio_ccw_crw_region_read()
130 struct vfio_ccw_region *region) in vfio_ccw_crw_region_release() argument