Home
last modified time | relevance | path

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

12

/freebsd-14.2/sys/cam/ctl/
H A Dctl_util.c106 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()
235 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_read_write_buffer()
259 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_read_write()
[all …]
H A Dctl_frontend_cam_sim.c535 io->io_hdr.io_type = CTL_IO_SCSI; in cfcs_action()
625 io->io_hdr.io_type = CTL_IO_TASK; in cfcs_action()
721 io->io_hdr.io_type = CTL_IO_TASK; in cfcs_action()
H A Dscsi_ctl.c1145 io->io_hdr.io_type = CTL_IO_SCSI; in ctlfedone()
1415 io->io_hdr.io_type = CTL_IO_TASK; in ctlfedone()
1912 KASSERT(io->io_hdr.io_type == CTL_IO_SCSI, in ctlfe_datamove()
1913 ("%s: unexpected I/O type %x", __func__, io->io_hdr.io_type)); in ctlfe_datamove()
1941 if (io->io_hdr.io_type == CTL_IO_TASK) { in ctlfe_done()
H A Dctl_io.h226 ctl_io_type io_type; /* task I/O, SCSI I/O, etc. */ member
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dvdev_queue.c530 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 Dvdev_mirror.c308 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 Dvdev_draid.c703 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()
1090 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_map_alloc_row()
2035 zio->io_type, zio->io_priority, 0, in vdev_draid_io_start_read()
2056 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_io_start()
2061 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_draid_io_start()
2612 switch (zio->io_type) { in vdev_draid_spare_io_start()
2641 zio->io_type, zio->io_priority, 0, in vdev_draid_spare_io_start()
[all …]
H A Dzio.c481 if (zio->io_type == ZIO_TYPE_READ) in zio_subblock()
829 pio->io_type == zio->io_type) { in zio_notify_parent()
945 zio->io_type = type; in zio_create()
2006 zio_type_t t = zio->io_type; in zio_taskq_dispatch()
3918 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_vdev_io_start()
4023 (zio->io_type == ZIO_TYPE_READ || in zio_vdev_io_start()
4024 zio->io_type == ZIO_TYPE_WRITE || in zio_vdev_io_start()
4025 zio->io_type == ZIO_TYPE_TRIM)) { in zio_vdev_io_start()
4054 zio->io_type == ZIO_TYPE_WRITE || zio->io_type == ZIO_TYPE_TRIM); in zio_vdev_io_done()
4205 zio->io_type == ZIO_TYPE_IOCTL && in zio_vdev_io_assess()
[all …]
H A Dzio_inject.c266 if (zio->io_type != ZIO_TYPE_READ) in zio_handle_fault_injection()
352 ASSERT3U(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()
610 handler->zi_record.zi_iotype != zio->io_type) { in zio_handle_io_delay()
H A Dvdev_raidz.c185 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_raidz_map_alloc_write()
433 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_map_alloc()
1661 zio->io_type, zio->io_priority, in vdev_raidz_io_start_write()
1705 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_read()
1747 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_start()
1750 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_start()
1880 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_raidz_io_done_verified()
2219 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_raidz_io_done_write_impl()
2258 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_raidz_io_done_reconstruct_known_missing()
2352 zio->io_type, zio->io_priority, 0, in vdev_raidz_read_all()
[all …]
H A Dvdev_indirect.c1262 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()
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_file.c227 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 Dvdev_geom.c1058 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_intr()
1156 switch (zio->io_type) { in vdev_geom_io_start()
1192 ASSERT(zio->io_type == ZIO_TYPE_READ || in vdev_geom_io_start()
1193 zio->io_type == ZIO_TYPE_WRITE || in vdev_geom_io_start()
1194 zio->io_type == ZIO_TYPE_TRIM || in vdev_geom_io_start()
1195 zio->io_type == ZIO_TYPE_IOCTL); in vdev_geom_io_start()
1205 switch (zio->io_type) { in vdev_geom_io_start()
1211 if (zio->io_type == ZIO_TYPE_READ) in vdev_geom_io_start()
1232 if (zio->io_type == ZIO_TYPE_READ) { in vdev_geom_io_start()
1267 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_done()
[all …]
/freebsd-14.2/sys/contrib/openzfs/cmd/zinject/
H A Dzinject.c749 int io_type = ZIO_TYPES; in main() local
943 io_type = ZIO_TYPE_READ; in main()
945 io_type = ZIO_TYPE_WRITE; in main()
947 io_type = ZIO_TYPE_FREE; in main()
949 io_type = ZIO_TYPE_CLAIM; in main()
951 io_type = ZIO_TYPES; in main()
1074 (record.zi_freq == 0 || io_type != ZIO_TYPE_READ)) { in main()
1081 record.zi_iotype = io_type; in main()
1088 switch (io_type) { in main()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_file.c212 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 Dvdev_disk.c237 zio->io_vd->vdev_path, zio->io_error, zio->io_type, in vdev_disk_error()
726 vbio->vbio_zio->io_type == ZIO_TYPE_WRITE ? in vbio_add_page()
839 if (zio->io_type == ZIO_TYPE_READ) in BIO_END_IO_PROTO()
949 if (zio->io_type == ZIO_TYPE_READ) in vdev_disk_io_rw()
1108 int rw = zio->io_type == ZIO_TYPE_READ ? READ : WRITE; in vdev_classic_physio()
1402 switch (zio->io_type) { in vdev_disk_io_start()
1469 ASSERT3S(zio->io_type, ==, -1); in vdev_disk_io_start()
/freebsd-14.2/sys/dev/ocs_fc/
H A Docs_scsi.c210 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 Docs_io.h91 ocs_io_type_e io_type; /**< indicates what this ocs_io_t structure is used for */ member
H A Docs_io.c251 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()
H A Docs_els.c215 els->io_type = OCS_IO_TYPE_ELS; in ocs_els_io_alloc_size()
1917 io->io_type = OCS_IO_TYPE_BLS_RESP; in ocs_bls_send_acc()
2074 abort_io->io_type = OCS_IO_TYPE_ABORT; in ocs_els_abort_io()
2703 io->io_type = OCS_IO_TYPE_CT_RESP; in ocs_send_ct_rsp()
2717 io->io_type = OCS_IO_TYPE_CT_RESP; in ocs_send_ct_rsp()
/freebsd-14.2/sys/dev/smartpqi/
H A Dsmartpqi_request.c2155 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-14.2/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_common.h63 __entry->zio_type = zio->io_type; \
/freebsd-14.2/contrib/lua/src/
H A Dliolib.c163 static int io_type (lua_State *L) { in io_type() function
751 {"type", io_type},
/freebsd-14.2/usr.sbin/bhyve/
H A Dpci_virtio_scsi.c402 io->io_hdr.io_type = CTL_IO_TASK; in pci_vtscsi_tmf_handle()
506 io->io_hdr.io_type = CTL_IO_SCSI; in pci_vtscsi_request_handle()
/freebsd-14.2/sys/dev/usb/storage/
H A Dcfumass.c665 io->io_hdr.io_type = CTL_IO_SCSI; in cfumass_t_command_callback()
904 if (io->io_hdr.io_type == CTL_IO_TASK && in cfumass_done()

12