Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/s390/cio/
Dvfio_ccw_fsm.c189 private->io_region->ret_code = -EIO; in fsm_io_error()
195 private->io_region->ret_code = -EBUSY; in fsm_io_busy()
201 private->io_region->ret_code = -EAGAIN; in fsm_io_retry()
248 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, orb); in fsm_io_request()
269 if (io_region->ret_code) { in fsm_io_request()
274 io_region->ret_code); in fsm_io_request()
[all …]
Dvfio_ccw_ops.c63 private->io_region = kmem_cache_zalloc(vfio_ccw_io_region, in vfio_ccw_mdev_init_dev()
65 if (!private->io_region) in vfio_ccw_mdev_init_dev()
90 kmem_cache_free(vfio_ccw_io_region, private->io_region); in vfio_ccw_mdev_init_dev()
143 kmem_cache_free(vfio_ccw_io_region, private->io_region); in vfio_ccw_mdev_release_dev()
221 region = private->io_region; in vfio_ccw_mdev_read_io_region()
268 region = private->io_region; in vfio_ccw_mdev_write_io_region()
Dvfio_ccw_private.h110 struct ccw_io_region *io_region; member
Dvfio_ccw_drv.c102 memcpy(private->io_region->irb_area, irb, sizeof(*irb)); in vfio_ccw_sch_io_todo()
/Linux-v6.6/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-v6.6/drivers/block/
Dfloppy.c4784 static const struct io_region { struct
4796 static void floppy_release_allocated_regions(int fdc, const struct io_region *p) in floppy_release_allocated_regions() argument
4808 const struct io_region *p; in floppy_request_regions()