/freebsd/sys/cam/ctl/ |
H A D | ctl_io.h | 687 switch (io->io_hdr.io_type) { in ctl_kern_sg_entries() 701 switch (io->io_hdr.io_type) { in ctl_kern_data_ptr() 715 switch (io->io_hdr.io_type) { in ctl_kern_data_len() 729 switch (io->io_hdr.io_type) { in ctl_kern_total_len() 743 switch (io->io_hdr.io_type) { in ctl_kern_data_resid() 757 switch (io->io_hdr.io_type) { in ctl_kern_rel_offset() 771 switch (io->io_hdr.io_type) { in ctl_add_kern_rel_offset() 787 switch (io->io_hdr.io_type) { in ctl_set_kern_sg_entries() 803 switch (io->io_hdr.io_type) { in ctl_set_kern_data_ptr() 819 switch (io->io_hdr.io_type) { in ctl_set_kern_data_len() [all …]
|
H A D | ctl_util.c | 106 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_tur() 132 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_inquiry() 141 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_inquiry() 162 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_request_sense() 170 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_request_sense() 191 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_report_luns() 199 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_report_luns() 221 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_read_write_buffer() 737 switch (io->io_hdr.io_type) { in ctl_io_sbuf() 803 switch (io->io_hdr.io_type) { in ctl_io_error_sbuf() [all …]
|
H A D | ctl_error.c | 1117 switch (io->io_hdr.io_type) { in ctl_io_set_invalid_opcode() 1132 switch (io->io_hdr.io_type) { in ctl_io_set_hw_write_protected() 1147 switch (io->io_hdr.io_type) { in ctl_io_set_busy() 1164 switch (io->io_hdr.io_type) { in ctl_io_set_compare_failure() 1185 switch (io->io_hdr.io_type) { in ctl_io_set_space_alloc_fail() 1200 switch (io->io_hdr.io_type) { in ctl_io_set_success()
|
H A D | ctl_frontend_cam_sim.c | 534 io->io_hdr.io_type = CTL_IO_SCSI; in cfcs_action() 624 io->io_hdr.io_type = CTL_IO_TASK; in cfcs_action() 720 io->io_hdr.io_type = CTL_IO_TASK; in cfcs_action()
|
H A D | ctl_nvme_all.c | 80 if (ctnio->io_hdr.io_type == CTL_IO_NVME_ADMIN) { in ctl_nvme_command_string()
|
H A D | ctl.c | 537 switch (io->io_hdr.io_type) { in ctl_be_move_done() 553 switch (io->io_hdr.io_type) { in ctl_continue_io() 5099 switch (io->io_hdr.io_type) { in ctl_config_move_done() 11985 switch (io->io_hdr.io_type) { in ctl_try_unblock_io() 13839 switch (io->io_hdr.io_type) { 14082 switch (io->io_hdr.io_type) { 14108 switch (io->io_hdr.io_type) { 14141 switch (io->io_hdr.io_type) { 14208 io->io_hdr.io_type, 14226 io->io_hdr.io_type, [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_queue.c | 530 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_io_add() 540 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_io_remove() 635 if (zio->io_type == ZIO_TYPE_TRIM) in vdev_queue_aggregate() 658 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_aggregate() 690 dio->io_type == zio->io_type) { in vdev_queue_aggregate() 717 dio->io_type == zio->io_type) { in vdev_queue_aggregate() 920 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_io() 942 ASSERT(zio->io_type == ZIO_TYPE_TRIM); in vdev_queue_io() 959 ASSERT3U(dio->io_type, ==, nio->io_type); in vdev_queue_io() 988 ASSERT3U(dio->io_type, ==, nio->io_type); in vdev_queue_io_done() [all …]
|
H A D | vdev_mirror.c | 308 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_mirror_map_init() 616 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_start() 621 if (zio->io_type == ZIO_TYPE_READ) { in vdev_mirror_io_start() 647 zio->io_size, zio->io_type, in vdev_mirror_io_start() 661 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in vdev_mirror_io_start() 689 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start() 735 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_mirror_io_done() 765 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_done()
|
H A D | zio.c | 482 if (zio->io_type == ZIO_TYPE_READ) in zio_subblock() 840 (pio->io_type == zio->io_type || in zio_notify_parent() 957 zio->io_type = type; in zio_create() 2048 zio_type_t t = zio->io_type; in zio_taskq_dispatch() 2417 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_wait() 2472 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_nowait() 4254 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_vdev_io_start() 4359 (zio->io_type == ZIO_TYPE_READ || in zio_vdev_io_start() 4360 zio->io_type == ZIO_TYPE_WRITE || in zio_vdev_io_start() 4402 zio->io_type == ZIO_TYPE_TRIM); in zio_vdev_io_done() [all …]
|
H A D | vdev_draid.c | 704 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_scrub() 766 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_read() 793 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_empty() 862 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_verify_empty() 1077 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_map_alloc_row() 2021 zio->io_type, zio->io_priority, 0, in vdev_draid_io_start_read() 2042 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_io_start() 2047 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_draid_io_start() 2594 switch (zio->io_type) { in vdev_draid_spare_io_start() 2623 zio->io_type, zio->io_priority, 0, in vdev_draid_spare_io_start() [all …]
|
H A D | zio_inject.c | 268 if (zio->io_type != ZIO_TYPE_READ) in zio_handle_fault_injection() 354 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in zio_inject_bitflip_cb() 372 if (zio != NULL && zio->io_type != ZIO_TYPE_FLUSH) { in zio_handle_device_injection_impl() 398 handler->zi_record.zi_iotype != zio->io_type) in zio_handle_device_injection_impl() 612 handler->zi_record.zi_iotype != zio->io_type) { in zio_handle_io_delay()
|
H A D | vdev_indirect.c | 1262 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_indirect_read_all() 1288 is->is_size, zio->io_type, zio->io_priority, 0, in vdev_indirect_read_all() 1307 if (zio->io_type != ZIO_TYPE_READ) { in vdev_indirect_io_start() 1308 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 is->is_size, zio->io_type, in vdev_indirect_io_start()
|
H A D | vdev_raidz.c | 461 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_raidz_map_alloc_write() 693 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_map_alloc() 2367 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_write() 2439 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_read_row() 2470 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_read_phys_cols() 2584 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_start() 2593 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_start() 2727 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_raidz_io_done_verified() 3212 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_raidz_io_done_write_impl() 3351 zio->io_type, zio->io_priority, 0, in vdev_raidz_read_all() [all …]
|
/freebsd/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_FLUSH) { in vdev_file_io_start() 262 } else if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_file_io_start() 276 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_start()
|
H A D | vdev_geom.c | 1054 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_intr() 1152 if (zio->io_type == ZIO_TYPE_FLUSH) { in vdev_geom_io_start() 1177 ASSERT(zio->io_type == ZIO_TYPE_READ || in vdev_geom_io_start() 1178 zio->io_type == ZIO_TYPE_WRITE || in vdev_geom_io_start() 1179 zio->io_type == ZIO_TYPE_TRIM || in vdev_geom_io_start() 1180 zio->io_type == ZIO_TYPE_FLUSH); in vdev_geom_io_start() 1190 switch (zio->io_type) { in vdev_geom_io_start() 1196 if (zio->io_type == ZIO_TYPE_READ) in vdev_geom_io_start() 1217 if (zio->io_type == ZIO_TYPE_READ) { in vdev_geom_io_start() 1252 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_done() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zinject/ |
H A D | zinject.c | 855 int io_type = ZIO_TYPES; in main() local 1050 io_type = ZIO_TYPE_READ; in main() 1052 io_type = ZIO_TYPE_WRITE; in main() 1054 io_type = ZIO_TYPE_FREE; in main() 1056 io_type = ZIO_TYPE_CLAIM; in main() 1058 io_type = ZIO_TYPE_FLUSH; in main() 1060 io_type = ZIO_TYPES; in main() 1183 (record.zi_freq == 0 || io_type != ZIO_TYPE_READ)) { in main() 1190 record.zi_iotype = io_type; in main() 1197 switch (io_type) { in main()
|
/freebsd/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_FLUSH) { in vdev_file_io_start() 276 } else if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_file_io_start()
|
H A D | vdev_disk.c | 237 zio->io_vd->vdev_path, zio->io_error, zio->io_type, in vdev_disk_error() 729 vbio->vbio_zio->io_type == ZIO_TYPE_WRITE ? in vbio_add_page() 842 if (zio->io_type == ZIO_TYPE_READ) in BIO_END_IO_PROTO() 958 if (zio->io_type == ZIO_TYPE_READ) in vdev_disk_io_rw() 1115 int rw = zio->io_type == ZIO_TYPE_READ ? READ : WRITE; in vdev_classic_physio() 1409 switch (zio->io_type) { in vdev_disk_io_start() 1467 ASSERT3S(zio->io_type, ==, -1); in vdev_disk_io_start()
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_scsi.c | 210 io->io_type = OCS_IO_TYPE_IO; in ocs_scsi_io_alloc() 1011 if (io->io_type == OCS_IO_TYPE_ABORT) { in ocs_scsi_check_pending() 1067 if (io->io_type == OCS_IO_TYPE_ABORT) { in ocs_scsi_check_pending() 1125 ocs_assert((io->io_type != OCS_IO_TYPE_ABORT), -1); in ocs_scsi_io_dispatch() 1203 ocs_assert((io->io_type == OCS_IO_TYPE_ABORT), -1); in ocs_scsi_io_dispatch_abort() 1272 switch (io->io_type) { in ocs_scsi_io_dispatch_hw_io() 1350 scsi_io_printf(io, "Unknown IO type=%d\n", io->io_type); in ocs_scsi_io_dispatch_hw_io() 1373 switch (io->io_type) { in ocs_scsi_io_dispatch_no_hw_io() 1960 abort_io->io_type = OCS_IO_TYPE_ABORT; in ocs_scsi_tgt_abort_io() 2062 io->io_type = OCS_IO_TYPE_BLS_RESP; in ocs_target_send_bls_resp() [all …]
|
H A D | ocs_io.h | 91 ocs_io_type_e io_type; /**< indicates what this ocs_io_t structure is used for */ member
|
H A D | ocs_io.c | 251 io->io_type = OCS_IO_TYPE_MAX; in ocs_io_pool_io_alloc() 368 ocs_ddump_value(textbuf, "io_type", "%d", io->io_type); in ocs_ddump_io()
|
/freebsd/sys/dev/smartpqi/ |
H A D | smartpqi_request.c | 2155 io_type_to_ascii(io_type_t io_type) in io_type_to_ascii() argument 2157 switch (io_type) in io_type_to_ascii() 2186 increment_this_counter(io_counters_t *pcounter, IO_PATH_T path, io_type_t io_type) in increment_this_counter() argument 2192 if (io_type == READ_IO_TYPE) in increment_this_counter() 2194 else if (io_type == WRITE_IO_TYPE) in increment_this_counter() 2201 if (io_type == READ_IO_TYPE) in increment_this_counter() 2203 else if (io_type == WRITE_IO_TYPE) in increment_this_counter() 2216 io_type_t io_type = get_io_type_from_cdb(rcb->cdbp); in pqisrc_increment_io_counters() local 2221 ret_val = increment_this_counter(pcounter, rcb->path, io_type); in pqisrc_increment_io_counters() 2228 char *io_ascii = io_type_to_ascii(io_type); in pqisrc_increment_io_counters()
|
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | trace_common.h | 62 __entry->zio_type = zio->io_type; \
|
/freebsd/contrib/lua/src/ |
H A D | liolib.c | 163 static int io_type (lua_State *L) { in io_type() function 751 {"type", io_type},
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_virtio_scsi.c | 401 io->io_hdr.io_type = CTL_IO_TASK; in pci_vtscsi_tmf_handle() 505 io->io_hdr.io_type = CTL_IO_SCSI; in pci_vtscsi_request_handle()
|