| /freebsd-13.1/sys/cam/ctl/ |
| H A D | ctl_util.c | 108 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_tur() 134 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_inquiry() 143 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_inquiry() 164 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_request_sense() 172 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_request_sense() 193 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_report_luns() 201 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_report_luns() 223 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_read_write_buffer() 237 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_read_write_buffer() 261 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_read_write() [all …]
|
| H A D | ctl_frontend_cam_sim.c | 537 io->io_hdr.io_type = CTL_IO_SCSI; in cfcs_action() 627 io->io_hdr.io_type = CTL_IO_TASK; in cfcs_action() 723 io->io_hdr.io_type = CTL_IO_TASK; in cfcs_action()
|
| H A D | scsi_ctl.c | 1145 io->io_hdr.io_type = CTL_IO_SCSI; in ctlfedone() 1415 io->io_hdr.io_type = CTL_IO_TASK; in ctlfedone() 1911 KASSERT(io->io_hdr.io_type == CTL_IO_SCSI, in ctlfe_datamove() 1912 ("%s: unexpected I/O type %x", __func__, io->io_hdr.io_type)); in ctlfe_datamove() 1940 if (io->io_hdr.io_type == CTL_IO_TASK) { in ctlfe_done()
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev_queue.c | 638 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_aggregate() 664 dio->io_type == zio->io_type) { in vdev_queue_aggregate() 691 dio->io_type == zio->io_type) { in vdev_queue_aggregate() 764 ASSERT3U(dio->io_type, ==, ZIO_TYPE_READ); in vdev_queue_aggregate() 882 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_io() 893 } else if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_queue_io() 904 ASSERT(zio->io_type == ZIO_TYPE_TRIM); in vdev_queue_io() 921 ASSERT3U(dio->io_type, ==, nio->io_type); in vdev_queue_io() 950 ASSERT3U(dio->io_type, ==, nio->io_type); in vdev_queue_io_done() 983 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_change_io_priority() [all …]
|
| H A D | vdev_mirror.c | 306 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_mirror_map_init() 634 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_start() 639 if (zio->io_type == ZIO_TYPE_READ) { in vdev_mirror_io_start() 665 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start() 677 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in vdev_mirror_io_start() 705 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start() 749 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_mirror_io_done() 780 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_done()
|
| H A D | vdev_draid.c | 703 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_scrub() 765 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_read() 792 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_empty() 861 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_verify_empty() 1088 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_map_alloc_row() 2027 zio->io_type, zio->io_priority, 0, in vdev_draid_io_start_read() 2048 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_io_start() 2053 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_draid_io_start() 2604 switch (zio->io_type) { in vdev_draid_spare_io_start() 2633 zio->io_type, zio->io_priority, 0, in vdev_draid_spare_io_start() [all …]
|
| H A D | zio.c | 430 if (zio->io_type == ZIO_TYPE_READ) in zio_subblock() 862 zio->io_type = type; in zio_create() 1879 zio_type_t t = zio->io_type; in zio_taskq_dispatch() 3762 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_vdev_io_start() 3867 (zio->io_type == ZIO_TYPE_READ || in zio_vdev_io_start() 3868 zio->io_type == ZIO_TYPE_WRITE || in zio_vdev_io_start() 3869 zio->io_type == ZIO_TYPE_TRIM)) { in zio_vdev_io_start() 3901 zio->io_type == ZIO_TYPE_WRITE || zio->io_type == ZIO_TYPE_TRIM); in zio_vdev_io_done() 3910 if (zio->io_type == ZIO_TYPE_WRITE) in zio_vdev_io_done() 4056 zio->io_type == ZIO_TYPE_IOCTL && in zio_vdev_io_assess() [all …]
|
| H A D | vdev_indirect.c | 1263 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_indirect_read_all() 1289 is->is_size, zio->io_type, zio->io_priority, 0, in vdev_indirect_read_all() 1308 if (zio->io_type != ZIO_TYPE_READ) { in vdev_indirect_io_start() 1309 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_indirect_io_start() 1342 zio->io_size, zio->io_type, zio->io_priority, 0, in vdev_indirect_io_start() 1346 if (zio->io_type == ZIO_TYPE_READ && in vdev_indirect_io_start() 1374 zio->io_type, zio->io_priority, 0, in vdev_indirect_io_start()
|
| H A D | vdev_raidz.c | 1542 rc->rc_abd, rc->rc_size, zio->io_type, zio->io_priority, in vdev_raidz_io_start_write() 1560 zio->io_type, zio->io_priority, in vdev_raidz_io_start_write() 1602 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_read() 1644 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_start() 1647 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_start() 1778 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_raidz_io_done_verified() 2114 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_raidz_io_done_write_impl() 2153 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_raidz_io_done_reconstruct_known_missing() 2236 zio->io_type, zio->io_priority, 0, in vdev_raidz_read_all() 2283 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_done()
|
| H A D | vdev_cache.c | 259 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_cache_read() 340 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_cache_write()
|
| H A D | zio_inject.c | 265 if (zio->io_type != ZIO_TYPE_READ) in zio_handle_fault_injection() 352 ASSERT(zio->io_type == ZIO_TYPE_READ); in zio_inject_bitflip_cb() 396 handler->zi_record.zi_iotype != zio->io_type) in zio_handle_device_injection_impl()
|
| H A D | zfs_fm.c | 1031 if (zio->io_type != ZIO_TYPE_READ && in zfs_ereport_is_valid() 1032 zio->io_type != ZIO_TYPE_WRITE) in zfs_ereport_is_valid() 1052 if (zio->io_type == ZIO_TYPE_READ && in zfs_ereport_is_valid()
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | vdev_file.c | 227 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_strategy() 228 if (zio->io_type == ZIO_TYPE_READ) { in vdev_file_io_strategy() 250 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_file_io_start() 269 } else if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_file_io_start() 283 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_start()
|
| H A D | vdev_geom.c | 1060 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_intr() 1154 switch (zio->io_type) { in vdev_geom_io_start() 1190 ASSERT(zio->io_type == ZIO_TYPE_READ || in vdev_geom_io_start() 1191 zio->io_type == ZIO_TYPE_WRITE || in vdev_geom_io_start() 1192 zio->io_type == ZIO_TYPE_TRIM || in vdev_geom_io_start() 1193 zio->io_type == ZIO_TYPE_IOCTL); in vdev_geom_io_start() 1203 switch (zio->io_type) { in vdev_geom_io_start() 1209 if (zio->io_type == ZIO_TYPE_READ) in vdev_geom_io_start() 1230 if (zio->io_type == ZIO_TYPE_READ) { in vdev_geom_io_start() 1265 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_done() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/zinject/ |
| H A D | zinject.c | 748 int io_type = ZIO_TYPES; in main() local 942 io_type = ZIO_TYPE_READ; in main() 944 io_type = ZIO_TYPE_WRITE; in main() 946 io_type = ZIO_TYPE_FREE; in main() 948 io_type = ZIO_TYPE_CLAIM; in main() 950 io_type = ZIO_TYPES; in main() 1073 (record.zi_freq == 0 || io_type != ZIO_TYPE_READ)) { in main() 1080 record.zi_iotype = io_type; in main()
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | vdev_file.c | 212 if (zio->io_type == ZIO_TYPE_READ) { in vdev_file_io_strategy() 245 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_file_io_start() 282 } else if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_file_io_start()
|
| H A D | vdev_disk.c | 167 zio->io_vd->vdev_path, zio->io_error, zio->io_type, in vdev_disk_error() 753 switch (zio->io_type) { in vdev_disk_io_start()
|
| /freebsd-13.1/sys/dev/ocs_fc/ |
| H A D | ocs_scsi.c | 212 io->io_type = OCS_IO_TYPE_IO; in ocs_scsi_io_alloc() 1013 if (io->io_type == OCS_IO_TYPE_ABORT) { in ocs_scsi_check_pending() 1069 if (io->io_type == OCS_IO_TYPE_ABORT) { in ocs_scsi_check_pending() 1127 ocs_assert((io->io_type != OCS_IO_TYPE_ABORT), -1); in ocs_scsi_io_dispatch() 1205 ocs_assert((io->io_type == OCS_IO_TYPE_ABORT), -1); in ocs_scsi_io_dispatch_abort() 1274 switch (io->io_type) { in ocs_scsi_io_dispatch_hw_io() 1352 scsi_io_printf(io, "Unknown IO type=%d\n", io->io_type); in ocs_scsi_io_dispatch_hw_io() 1375 switch (io->io_type) { in ocs_scsi_io_dispatch_no_hw_io() 1962 abort_io->io_type = OCS_IO_TYPE_ABORT; in ocs_scsi_tgt_abort_io() 2064 io->io_type = OCS_IO_TYPE_BLS_RESP; in ocs_target_send_bls_resp() [all …]
|
| H A D | ocs_io.h | 93 ocs_io_type_e io_type; /**< indicates what this ocs_io_t structure is used for */ member
|
| H A D | ocs_io.c | 253 io->io_type = OCS_IO_TYPE_MAX; in ocs_io_pool_io_alloc() 370 ocs_ddump_value(textbuf, "io_type", "%d", io->io_type); in ocs_ddump_io()
|
| H A D | ocs_els.c | 217 els->io_type = OCS_IO_TYPE_ELS; in ocs_els_io_alloc_size() 1919 io->io_type = OCS_IO_TYPE_BLS_RESP; in ocs_bls_send_acc() 2076 abort_io->io_type = OCS_IO_TYPE_ABORT; in ocs_els_abort_io() 2705 io->io_type = OCS_IO_TYPE_CT_RESP; in ocs_send_ct_rsp() 2719 io->io_type = OCS_IO_TYPE_CT_RESP; in ocs_send_ct_rsp()
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_common.h | 63 __entry->zio_type = zio->io_type; \
|
| /freebsd-13.1/contrib/lua/src/ |
| H A D | liolib.c | 157 static int io_type (lua_State *L) { in io_type() function 744 {"type", io_type},
|
| /freebsd-13.1/usr.sbin/bhyve/ |
| H A D | pci_virtio_scsi.c | 393 io->io_hdr.io_type = CTL_IO_TASK; in pci_vtscsi_tmf_handle() 488 io->io_hdr.io_type = CTL_IO_SCSI; in pci_vtscsi_request_handle()
|
| /freebsd-13.1/sys/dev/usb/storage/ |
| H A D | cfumass.c | 669 io->io_hdr.io_type = CTL_IO_SCSI; in cfumass_t_command_callback() 908 if (io->io_hdr.io_type == CTL_IO_TASK && in cfumass_done()
|