Searched refs:io_region (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/s390/cio/ |
| D | vfio_ccw_fsm.c | 190 private->io_region->ret_code = -EIO; in fsm_io_error() 196 private->io_region->ret_code = -EBUSY; in fsm_io_busy() 202 private->io_region->ret_code = -EAGAIN; in fsm_io_retry() 247 struct ccw_io_region *io_region = private->io_region; in fsm_io_request() local 253 memcpy(scsw, io_region->scsw_area, sizeof(*scsw)); in fsm_io_request() 256 orb = (union orb *)io_region->orb_area; in fsm_io_request() 260 io_region->ret_code = -EOPNOTSUPP; in fsm_io_request() 268 io_region->ret_code = cp_init(&private->cp, mdev_dev(mdev), in fsm_io_request() 270 if (io_region->ret_code) { in fsm_io_request() 275 io_region->ret_code); in fsm_io_request() [all …]
|
| D | vfio_ccw_drv.c | 98 memcpy(private->io_region->irb_area, irb, sizeof(*irb)); in vfio_ccw_sch_io_todo() 140 private->io_region = kmem_cache_zalloc(vfio_ccw_io_region, in vfio_ccw_sch_probe() 142 if (!private->io_region) in vfio_ccw_sch_probe() 181 if (private->io_region) in vfio_ccw_sch_probe() 182 kmem_cache_free(vfio_ccw_io_region, private->io_region); in vfio_ccw_sch_probe() 199 kmem_cache_free(vfio_ccw_io_region, private->io_region); in vfio_ccw_sch_remove()
|
| D | vfio_ccw_private.h | 85 struct ccw_io_region *io_region; member
|
| D | vfio_ccw_ops.c | 217 region = private->io_region; in vfio_ccw_mdev_read_io_region() 265 region = private->io_region; in vfio_ccw_mdev_write_io_region()
|
| /Linux-v5.4/Documentation/admin-guide/device-mapper/ |
| D | dm-io.rst | 9 The user must set up an io_region structure to describe the desired location 10 of the I/O. Each io_region indicates a block-device along with the starting 13 struct io_region { 19 Dm-io can read from one io_region or write to one or more io_regions. Writes 20 to multiple regions are specified by an array of io_region structures. 30 int dm_io_sync(unsigned int num_regions, struct io_region *where, int rw, 33 int dm_io_async(unsigned int num_regions, struct io_region *where, int rw, 41 int dm_io_sync_bvec(unsigned int num_regions, struct io_region *where, 44 int dm_io_async_bvec(unsigned int num_regions, struct io_region *where, 53 int dm_io_sync_vm(unsigned int num_regions, struct io_region *where, int rw, [all …]
|
| D | kcopyd.rst | 16 To start a copy job, the user must set up io_region structures to describe 17 the source and destinations of the copy. Each io_region indicates a 19 of the copy is given as one io_region structure, and the destinations of the 20 copy are given as an array of io_region structures:: 22 struct io_region { 32 int kcopyd_copy(struct kcopyd_client *kc, struct io_region *from, 33 unsigned int num_dests, struct io_region *dests,
|
| /Linux-v5.4/drivers/net/hamradio/ |
| D | dmascc.c | 171 int io_region; member 321 hw[h].io_region) / hw[h].io_delta; in dmascc_init() 323 hw[h].io_region + in dmascc_init() 332 hw[h].io_region + i * hw[h].io_delta; in dmascc_init()
|
| /Linux-v5.4/drivers/block/ |
| D | floppy.c | 4764 static const struct io_region { struct 4776 static void floppy_release_allocated_regions(int fdc, const struct io_region *p) in floppy_release_allocated_regions() argument 4788 const struct io_region *p; in floppy_request_regions()
|