Home
last modified time | relevance | path

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

12

/freebsd/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 in ctl_scsi_read_write()
[all...]
H A Dctl_frontend_cam_sim.c534 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 Dscsi_ctl.c1144 io->io_hdr.io_type = CTL_IO_SCSI; in ctlfedone()
1414 io->io_hdr.io_type = CTL_IO_TASK; in ctlfedone()
1939 if (io->io_hdr.io_type == CTL_IO_TASK) { in ctlfe_done()
H A Dctl.c537 switch (io->io_hdr.io_type) { in ctl_be_move_done()
553 switch (io->io_hdr.io_type) { in ctl_continue_io()
739 if (io->io_hdr.io_type == CTL_IO_SCSI) { in ctl_ha_done()
1489 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_isc_event_handler()
1687 taskio->io_hdr.io_type = CTL_IO_TASK; in ctl_isc_event_handler()
5099 switch (io->io_hdr.io_type) { in ctl_config_move_done()
11115 switch (ctnio->io_hdr.io_type) { in ctl_nvme_get_cmd_entry()
11145 if (ctnio->io_hdr.io_type != CTL_IO_NVME || in ctl_nvme_validate_command()
11153 if (ctnio->io_hdr.io_type != CTL_IO_NVME || in ctl_nvme_validate_command()
11409 ctnio->io_hdr.io_type == CTL_IO_NVME ? "nvm" : "admin", in ctl_nvmeio()
[all …]
H A Dctl_io.h230 ctl_io_type io_type; /* task I/O, SCSI I/O, etc. */
669 KASSERT((io)->io_hdr.io_type == CTL_IO_##_1, \
670 ("%s: unexpected I/O type %x", __func__, (io)->io_hdr.io_type))
673 KASSERT((io)->io_hdr.io_type == CTL_IO_##_1 || \
674 (io)->io_hdr.io_type == CTL_IO_##_2, \
675 ("%s: unexpected I/O type %x", __func__, (io)->io_hdr.io_type))
687 switch (io->io_hdr.io_type) {
701 switch (io->io_hdr.io_type) {
715 switch (io->io_hdr.io_type) {
729 switch (io->io_hdr.io_type) {
226 ctl_io_type io_type; /* task I/O, SCSI I/O, etc. */ global() member
[all...]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_queue.c530 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_io_add()
532 else if (zio->io_type == ZIO_TYPE_WRITE) in vdev_queue_io_add()
540 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_io_remove()
542 else if (zio->io_type == ZIO_TYPE_WRITE) 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()
662 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); 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()
733 if (zio->io_type == ZIO_TYPE_WRITE && mandatory != NULL) { in vdev_queue_aggregate()
[all …]
H A Dvdev_file.c223 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_strategy()
224 if (zio->io_type == ZIO_TYPE_READ) { in vdev_file_io_strategy()
268 if (zio->io_type == ZIO_TYPE_FLUSH) { in vdev_file_io_start()
287 if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_file_io_start()
297 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_start()
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.c656 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_draid_map_alloc_write()
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()
1083 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_row()
1871 rc->rc_abd, rc->rc_size, zio->io_type, zio->io_priority, in vdev_draid_io_start_write()
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()
[all …]
H A Dzio.c549 if (zio->io_type == ZIO_TYPE_READ) in zio_subblock()
913 (pio->io_type == zio->io_type || in zio_notify_parent()
914 (pio->io_type == ZIO_TYPE_NULL && !pio->io_done))) { in zio_notify_parent()
1030 zio->io_type = type; in zio_create()
1410 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in zio_write_override()
2164 zio_type_t t = zio->io_type; in zio_taskq_dispatch()
2218 ASSERT((zio->io_type != ZIO_TYPE_WRITE) || ZIO_HAS_ALLOCATOR(zio)); in zio_issue_async()
2315 vq ? vq->vq_io_complete_ts : 0, pio->io_type, in zio_deadman_impl()
2522 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_wait()
2577 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_nowait()
[all …]
H A Dzio_inject.c283 if (zio->io_type != ZIO_TYPE_READ) in zio_handle_fault_injection()
371 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in zio_handle_device_injection_impl()
395 return (iotype == zio->io_type); in zio_handle_device_injection_impl()
415 if (zio != NULL && zio->io_type != ZIO_TYPE_FLUSH && in zio_handle_device_injection_impl()
H A Dvdev_indirect.c1263 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()
1343 zio->io_size, zio->io_type, zio->io_priority, 0, in vdev_indirect_io_start()
1347 if (zio->io_type == ZIO_TYPE_READ && in vdev_indirect_io_start()
1375 is->is_size, zio->io_type, in vdev_indirect_io_start()
H A Dvdev_raidz.c475 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_raidz_map_alloc_write()
707 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_map_alloc()
2368 abd_get_size(rc->rc_abd), zio->io_type, in vdev_raidz_io_start_write()
2381 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_write()
2410 NULL, 1ULL << ashift, zio->io_type, zio->io_priority, in raidz_start_skip_writes()
2453 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_read_row()
2484 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_read_phys_cols()
2578 zio->io_type == ZIO_TYPE_WRITE ? "WRITE" : "READ", in vdev_raidz_io_start()
2598 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_start()
2607 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_start()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dzinject.c898 int io_type = ZINJECT_IOTYPE_ALL; in main()
1092 io_type = str_to_iotype(optarg); in main()
1093 if (io_type == ZINJECT_IOTYPES) { in main()
1215 (record.zi_freq == 0 || io_type != ZINJECT_IOTYPE_READ)) { in main()
1222 record.zi_iotype = io_type; in main()
1229 switch (io_type) { in main()
749 int io_type = ZIO_TYPES; main() local
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c1039 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_intr()
1137 if (zio->io_type == ZIO_TYPE_FLUSH) { in vdev_geom_io_start()
1155 } else if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_geom_io_start()
1162 ASSERT(zio->io_type == ZIO_TYPE_READ || in vdev_geom_io_start()
1163 zio->io_type == ZIO_TYPE_WRITE || in vdev_geom_io_start()
1164 zio->io_type == ZIO_TYPE_TRIM || in vdev_geom_io_start()
1165 zio->io_type == ZIO_TYPE_FLUSH); in vdev_geom_io_start()
1175 switch (zio->io_type) { in vdev_geom_io_start()
1181 if (zio->io_type == ZIO_TYPE_READ) in vdev_geom_io_start()
1202 if (zio->io_type == ZIO_TYPE_READ) { in vdev_geom_io_start()
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c235 zio->io_vd->vdev_path, zio->io_error, zio->io_type, in vdev_disk_error()
706 vbio->vbio_zio->io_type == ZIO_TYPE_WRITE ? in vbio_add_page()
945 if (zio->io_type == ZIO_TYPE_WRITE) in vdev_disk_io_rw()
1085 int rw = zio->io_type == ZIO_TYPE_READ ? READ : WRITE; in vdev_classic_physio()
1373 switch (zio->io_type) { in vdev_disk_io_start()
1431 ASSERT3S(zio->io_type, ==, -1); in vdev_disk_io_start()
1455 if (zio->io_type == ZIO_TYPE_READ) in vdev_disk_io_done()
/freebsd/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()
1415 scsi_io_printf(io, "Unknown IO type=%d\n", 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()
[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/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/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_common.h62 __entry->zio_type = zio->io_type; \
/freebsd/contrib/lua/src/
H A Dliolib.c163 static int io_type (lua_State *L) { in io_type() function
751 {"type", io_type},
/freebsd/usr.sbin/bhyve/
H A Dpci_virtio_scsi.c401 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()
/freebsd/sys/dev/usb/storage/
H A Dcfumass.c664 io->io_hdr.io_type = CTL_IO_SCSI; in cfumass_t_command_callback()
903 if (io->io_hdr.io_type == CTL_IO_TASK && in cfumass_done()

12