Home
last modified time | relevance | path

Searched refs:io_region (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/s390/cio/
Dvfio_ccw_fsm.c96 private->io_region->ret_code = -EIO; in fsm_io_error()
102 private->io_region->ret_code = -EBUSY; in fsm_io_busy()
129 struct ccw_io_region *io_region = private->io_region; in fsm_io_request() local
135 memcpy(scsw, io_region->scsw_area, sizeof(*scsw)); in fsm_io_request()
138 orb = (union orb *)io_region->orb_area; in fsm_io_request()
142 io_region->ret_code = -EOPNOTSUPP; in fsm_io_request()
146 io_region->ret_code = cp_init(&private->cp, mdev_dev(mdev), in fsm_io_request()
148 if (io_region->ret_code) { in fsm_io_request()
153 io_region->ret_code = cp_prefetch(&private->cp); in fsm_io_request()
154 if (io_region->ret_code) { in fsm_io_request()
[all …]
Dvfio_ccw_drv.c83 memcpy(private->io_region->irb_area, irb, sizeof(*irb)); in vfio_ccw_sch_io_todo()
119 private->io_region = kmem_cache_zalloc(vfio_ccw_io_region, in vfio_ccw_sch_probe()
121 if (!private->io_region) { in vfio_ccw_sch_probe()
151 kmem_cache_free(vfio_ccw_io_region, private->io_region); in vfio_ccw_sch_probe()
166 kmem_cache_free(vfio_ccw_io_region, private->io_region); in vfio_ccw_sch_remove()
Dvfio_ccw_private.h44 struct ccw_io_region *io_region; member
Dvfio_ccw_ops.c177 region = private->io_region; in vfio_ccw_mdev_read()
199 region = private->io_region; in vfio_ccw_mdev_write()
/Linux-v4.19/Documentation/device-mapper/
Ddm-io.txt8 The user must set up an io_region structure to describe the desired location
9 of the I/O. Each io_region indicates a block-device along with the starting
12 struct io_region {
18 Dm-io can read from one io_region or write to one or more io_regions. Writes
19 to multiple regions are specified by an array of io_region structures.
29 int dm_io_sync(unsigned int num_regions, struct io_region *where, int rw,
32 int dm_io_async(unsigned int num_regions, struct io_region *where, int rw,
40 int dm_io_sync_bvec(unsigned int num_regions, struct io_region *where,
43 int dm_io_async_bvec(unsigned int num_regions, struct io_region *where,
52 int dm_io_sync_vm(unsigned int num_regions, struct io_region *where, int rw,
[all …]
Dkcopyd.txt15 To start a copy job, the user must set up io_region structures to describe
16 the source and destinations of the copy. Each io_region indicates a
18 of the copy is given as one io_region structure, and the destinations of the
19 copy are given as an array of io_region structures.
21 struct io_region {
31 int kcopyd_copy(struct kcopyd_client *kc, struct io_region *from,
32 unsigned int num_dests, struct io_region *dests,
/Linux-v4.19/drivers/net/hamradio/
Ddmascc.c184 int io_region; member
334 hw[h].io_region) / hw[h].io_delta; in dmascc_init()
336 hw[h].io_region + in dmascc_init()
345 hw[h].io_region + i * hw[h].io_delta; in dmascc_init()
/Linux-v4.19/drivers/block/
Dfloppy.c4735 static const struct io_region { struct
4747 static void floppy_release_allocated_regions(int fdc, const struct io_region *p) in floppy_release_allocated_regions() argument
4759 const struct io_region *p; in floppy_request_regions()