Home
last modified time | relevance | path

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

/openbmc/linux/drivers/s390/cio/
H A Dvfio_ccw_fsm.c189 private->io_region->ret_code = -EIO; in fsm_io_error()
248 struct ccw_io_region *io_region = private->io_region; in fsm_io_request() local
260 io_region->ret_code = -EOPNOTSUPP; in fsm_io_request()
269 if (io_region->ret_code) { in fsm_io_request()
274 io_region->ret_code); in fsm_io_request()
280 if (io_region->ret_code) { in fsm_io_request()
285 io_region->ret_code); in fsm_io_request()
293 if (io_region->ret_code) { in fsm_io_request()
298 io_region->ret_code); in fsm_io_request()
310 io_region->ret_code = -EOPNOTSUPP; in fsm_io_request()
[all …]
H A 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()
H A Dvfio_ccw_private.h110 struct ccw_io_region *io_region; member
H A Dvfio_ccw_drv.c102 memcpy(private->io_region->irb_area, irb, sizeof(*irb)); in vfio_ccw_sch_io_todo()
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A 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 …]
H A 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,
/openbmc/qemu/hw/vfio/
H A Dccw.c40 struct ccw_io_region *io_region; member
81 struct ccw_io_region *region = vcdev->io_region; in vfio_ccw_handle_request()
312 struct ccw_io_region *region = vcdev->io_region; in vfio_ccw_io_notifier_handler()
506 if (sizeof(*vcdev->io_region) != vcdev->io_region_size) { in vfio_ccw_get_region()
512 vcdev->io_region = g_malloc0(info->size); in vfio_ccw_get_region()
562 g_free(vcdev->io_region); in vfio_ccw_get_region()
572 g_free(vcdev->io_region); in vfio_ccw_put_region()
/openbmc/linux/drivers/block/
H A 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()