Searched refs:io_type (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_file.c203 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE);
204 if (zio->io_type == ZIO_TYPE_READ) {
210 zio->io_error = vn_rdwr(zio->io_type == ZIO_TYPE_READ ?
214 if (zio->io_type == ZIO_TYPE_READ) {
232 if (zio->io_type == ZIO_TYPE_IOCTL) {
257 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE);
H A Dvdev_queue.c427 qtt = vdev_queue_type_tree(vq, zio->io_type);
449 qtt = vdev_queue_type_tree(vq, zio->io_type);
498 if (zio->io_type == ZIO_TYPE_READ) {
501 } else if (zio->io_type == ZIO_TYPE_WRITE) {
513 if (aio->io_type == ZIO_TYPE_READ) {
690 if (zio->io_type == ZIO_TYPE_READ)
713 t = vdev_queue_type_tree(vq, zio->io_type);
718 dio->io_type == zio->io_type) {
744 dio->io_type
[all...]
H A Dvdev_mirror.c223 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ);
513 ASSERT(zio->io_type == ZIO_TYPE_READ);
518 if (zio->io_type == ZIO_TYPE_READ) {
536 zio->io_type, zio->io_priority, 0,
548 ASSERT(zio->io_type == ZIO_TYPE_WRITE ||
549 zio->io_type == ZIO_TYPE_FREE);
562 zio->io_type, zio->io_priority, 0,
607 if (zio->io_type == ZIO_TYPE_WRITE) {
636 } else if (zio->io_type == ZIO_TYPE_FREE) {
640 ASSERT(zio->io_type
[all...]
H A Dvdev_geom.c1042 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) {
1059 switch (zio->io_type) {
1093 ASSERT(zio->io_type == ZIO_TYPE_READ ||
1094 zio->io_type == ZIO_TYPE_WRITE ||
1095 zio->io_type == ZIO_TYPE_FREE ||
1096 zio->io_type == ZIO_TYPE_IOCTL);
1106 switch (zio->io_type) {
1112 if (zio->io_type == ZIO_TYPE_READ) {
1146 if (zio->io_type !
[all...]
H A Dzio.c400 if (zio->io_type == ZIO_TYPE_READ)
695 zio->io_type = type;
952 ASSERT(zio->io_type == ZIO_TYPE_WRITE);
1597 zio_type_t t = zio->io_type;
2233 zio = zio_gang_issue_func[gio->io_type](pio, bp, gn, data, offset);
3003 ASSERT(zio->io_type == ZIO_TYPE_WRITE);
3254 if (vd->vdev_ops->vdev_op_leaf && zio->io_type == ZIO_TYPE_FREE &&
3261 if (zio->io_type == ZIO_TYPE_WRITE) {
3301 if (zio->io_type == ZIO_TYPE_READ ||
3302 zio->io_type
[all...]
H A Dvdev_cache.c268 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ);
347 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE);
H A Dvdev_indirect.c1246 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ);
1273 is->is_size, zio->io_type, zio->io_priority, 0,
1293 if (zio->io_type == ZIO_TYPE_WRITE) {
1295 if (zio->io_type != ZIO_TYPE_READ) {
1296 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE);
1333 zio->io_size, zio->io_type, zio->io_priority, 0,
1337 if (zio->io_type == ZIO_TYPE_READ &&
1368 is->is_size, zio->io_type,
H A Dvdev_disk.c712 if (zio->io_type == ZIO_TYPE_READ) {
764 if (zio->io_type == ZIO_TYPE_IOCTL) {
815 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE);
825 (zio->io_type == ZIO_TYPE_READ ? B_READ : B_WRITE);
830 if (zio->io_type == ZIO_TYPE_READ) {
H A Dvdev_raidz.c1961 zio->io_type == ZIO_TYPE_FREE,
1970 if (zio->io_type == ZIO_TYPE_FREE) {
1976 zio->io_type, zio->io_priority, 0,
1984 if (zio->io_type == ZIO_TYPE_WRITE) {
1998 zio->io_type, zio->io_priority, 0,
2015 zio->io_type, zio->io_priority,
2023 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ);
2055 zio->io_type, zio->io_priority, 0,
2390 if (zio->io_type == ZIO_TYPE_WRITE) {
2406 } else if (zio->io_type
[all...]
H A Dzfs_fm.c137 if (zio->io_type != ZIO_TYPE_READ &&
138 zio->io_type != ZIO_TYPE_WRITE)
174 if (zio->io_type == ZIO_TYPE_READ &&
H A Dzio_inject.c181 if (zio->io_type != ZIO_TYPE_READ)
292 handler->zi_record.zi_iotype != zio->io_type)
/freebsd-12-stable/sys/cam/ctl/
H A Dctl_util.c108 io->io_hdr.io_type = CTL_IO_SCSI;
134 io->io_hdr.io_type = CTL_IO_SCSI;
143 io->io_hdr.io_type = CTL_IO_SCSI;
164 io->io_hdr.io_type = CTL_IO_SCSI;
172 io->io_hdr.io_type = CTL_IO_SCSI;
193 io->io_hdr.io_type = CTL_IO_SCSI;
201 io->io_hdr.io_type = CTL_IO_SCSI;
223 io->io_hdr.io_type = CTL_IO_SCSI;
237 io->io_hdr.io_type = CTL_IO_SCSI;
261 io->io_hdr.io_type
[all...]
H A Dctl_io.h225 ctl_io_type io_type; /* task I/O, SCSI I/O, etc. */ member in struct:ctl_io_hdr
H A Dctl_frontend_cam_sim.c538 io->io_hdr.io_type = CTL_IO_SCSI;
628 io->io_hdr.io_type = CTL_IO_TASK;
724 io->io_hdr.io_type = CTL_IO_TASK;
H A Dscsi_ctl.c1147 io->io_hdr.io_type = CTL_IO_SCSI;
1417 io->io_hdr.io_type = CTL_IO_TASK;
1913 KASSERT(io->io_hdr.io_type == CTL_IO_SCSI,
1914 ("%s: unexpected I/O type %x", __func__, io->io_hdr.io_type));
1942 if (io->io_hdr.io_type == CTL_IO_TASK) {
H A Dctl.c771 if (io->io_hdr.io_type == CTL_IO_SCSI) {
1445 io->io_hdr.io_type = CTL_IO_SCSI;
1639 taskio->io_hdr.io_type = CTL_IO_TASK;
5036 KASSERT(io->io_hdr.io_type == CTL_IO_SCSI,
5037 ("%s: unexpected I/O type %x", __func__, io->io_hdr.io_type));
10680 KASSERT(io->io_hdr.io_type == CTL_IO_SCSI,
10681 ("%s: unexpected I/O type %x", __func__, io->io_hdr.io_type));
10861 KASSERT(io->io_hdr.io_type == CTL_IO_SCSI,
10862 ("%s: unexpected I/O type %x", __func__, io->io_hdr.io_type));
12166 KASSERT(io->io_hdr.io_type
[all...]
/freebsd-12-stable/sys/dev/dpt/
H A Ddpt_pci.c88 dpt->io_type = SYS_RES_MEMORY;
89 dpt->io_res = bus_alloc_resource_any(dev, dpt->io_type,
94 dpt->io_type = SYS_RES_IOPORT;
95 dpt->io_res = bus_alloc_resource_any(dev, dpt->io_type,
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zinject/
H A Dzinject.c669 int io_type = ZIO_TYPES; local
832 io_type = ZIO_TYPE_READ;
834 io_type = ZIO_TYPE_WRITE;
836 io_type = ZIO_TYPE_FREE;
838 io_type = ZIO_TYPE_CLAIM;
840 io_type = ZIO_TYPES;
949 record.zi_iotype = io_type;
/freebsd-12-stable/sys/dev/ocs_fc/
H A Docs_io.h94 ocs_io_type_e io_type; /**< indicates what this ocs_io_t structure is used for */ member in struct:ocs_io_s
H A Docs_scsi.c215 io->io_type = OCS_IO_TYPE_IO;
1024 if (io->io_type == OCS_IO_TYPE_ABORT) {
1081 if (io->io_type == OCS_IO_TYPE_ABORT) {
1139 ocs_assert((io->io_type != OCS_IO_TYPE_ABORT), -1);
1218 ocs_assert((io->io_type == OCS_IO_TYPE_ABORT), -1);
1288 switch (io->io_type) {
1366 scsi_io_printf(io, "Unknown IO type=%d\n", io->io_type);
1389 switch (io->io_type) {
1431 scsi_io_printf(io, "Unknown IO type=%d\n", io->io_type);
1978 abort_io->io_type
[all...]
H A Docs_io.c253 io->io_type = OCS_IO_TYPE_MAX;
370 ocs_ddump_value(textbuf, "io_type", "%d", io->io_type);
H A Docs_els.c218 els->io_type = OCS_IO_TYPE_ELS;
1928 io->io_type = OCS_IO_TYPE_BLS_RESP;
2085 abort_io->io_type = OCS_IO_TYPE_ABORT;
2718 io->io_type = OCS_IO_TYPE_CT_RESP;
2732 io->io_type = OCS_IO_TYPE_CT_RESP;
/freebsd-12-stable/contrib/lua/src/
H A Dliolib.c150 static int io_type (lua_State *L) { function
712 {"type", io_type},
/freebsd-12-stable/usr.sbin/bhyve/
H A Dpci_virtio_scsi.c392 io->io_hdr.io_type = CTL_IO_TASK;
487 io->io_hdr.io_type = CTL_IO_SCSI;
/freebsd-12-stable/sys/dev/usb/storage/
H A Dcfumass.c672 io->io_hdr.io_type = CTL_IO_SCSI;
911 if (io->io_hdr.io_type == CTL_IO_TASK &&

Completed in 314 milliseconds

12