Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/s390/cio/
Dvfio_ccw_fsm.c187 private->io_region->ret_code = -EIO; in fsm_io_error()
193 private->io_region->ret_code = -EBUSY; in fsm_io_busy()
199 private->io_region->ret_code = -EAGAIN; in fsm_io_retry()
244 struct ccw_io_region *io_region = private->io_region; in fsm_io_request() local
250 memcpy(scsw, io_region->scsw_area, sizeof(*scsw)); in fsm_io_request()
253 orb = (union orb *)io_region->orb_area; in fsm_io_request()
257 io_region->ret_code = -EOPNOTSUPP; in fsm_io_request()
265 io_region->ret_code = cp_init(&private->cp, mdev_dev(mdev), in fsm_io_request()
267 if (io_region->ret_code) { in fsm_io_request()
272 io_region->ret_code); in fsm_io_request()
[all …]
Dvfio_ccw_drv.c101 memcpy(private->io_region->irb_area, irb, sizeof(*irb)); in vfio_ccw_sch_io_todo()
140 if (private->io_region) in vfio_ccw_free_regions()
141 kmem_cache_free(vfio_ccw_io_region, private->io_region); in vfio_ccw_free_regions()
165 private->io_region = kmem_cache_zalloc(vfio_ccw_io_region, in vfio_ccw_sch_probe()
167 if (!private->io_region) in vfio_ccw_sch_probe()
Dvfio_ccw_private.h96 struct ccw_io_region *io_region; member
Dvfio_ccw_ops.c224 region = private->io_region; in vfio_ccw_mdev_read_io_region()
272 region = private->io_region; in vfio_ccw_mdev_write_io_region()
/Linux-v5.10/Documentation/admin-guide/device-mapper/
Ddm-io.rst9 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 …]
Dkcopyd.rst16 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.10/drivers/net/hamradio/
Ddmascc.c171 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.10/drivers/block/
Dfloppy.c4821 static const struct io_region { struct
4833 static void floppy_release_allocated_regions(int fdc, const struct io_region *p) in floppy_release_allocated_regions() argument
4845 const struct io_region *p; in floppy_request_regions()