Home
last modified time | relevance | path

Searched refs:io_type (Results 1 – 25 of 40) 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_error.c1117 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 Dctl_nvme_all.c26 nvme_opcode_sbuf(ctnio->io_hdr.io_type == CTL_IO_NVME_ADMIN, in ctl_nvme_command_string()
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()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_queue.c506 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_io_add()
508 else if (zio->io_type == ZIO_TYPE_WRITE) in vdev_queue_io_add()
516 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_io_remove()
518 else if (zio->io_type == ZIO_TYPE_WRITE) in vdev_queue_io_remove()
611 if (zio->io_type == ZIO_TYPE_TRIM) in vdev_queue_aggregate()
634 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_aggregate()
638 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_queue_aggregate()
666 dio->io_type == zio->io_type) { in vdev_queue_aggregate()
693 dio->io_type == zio->io_type) { in vdev_queue_aggregate()
709 if (zio->io_type == ZIO_TYPE_WRITE && mandatory != NULL) { in vdev_queue_aggregate()
[all …]
H A Dvdev_file.c224 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_strategy()
225 if (zio->io_type == ZIO_TYPE_READ) { in vdev_file_io_strategy()
270 if (zio->io_type == ZIO_TYPE_FLUSH) { in vdev_file_io_start()
289 if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_file_io_start()
299 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_start()
H A Dvdev_mirror.c309 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_mirror_map_init()
617 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_start()
622 if (zio->io_type == ZIO_TYPE_READ) { in vdev_mirror_io_start()
648 zio->io_size, zio->io_type, in vdev_mirror_io_start()
662 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in vdev_mirror_io_start()
690 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start()
736 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_mirror_io_done()
766 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_done()
H A Dzio.c550 if (zio->io_type == ZIO_TYPE_READ) in zio_subblock()
890 (pio->io_type == zio->io_type || in zio_notify_parent()
891 (pio->io_type == ZIO_TYPE_NULL && !pio->io_done))) { in zio_notify_parent()
1011 zio->io_type = type; in zio_create()
1402 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in zio_write_override()
2156 zio_type_t t = zio->io_type; in zio_taskq_dispatch()
2210 ASSERT((zio->io_type != ZIO_TYPE_WRITE) || ZIO_HAS_ALLOCATOR(zio)); in zio_issue_async()
2307 vq ? vq->vq_io_complete_ts : 0, pio->io_type, in zio_deadman_impl()
2518 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_wait()
2573 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_nowait()
[all …]
H A Dvdev_draid.c659 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_draid_map_alloc_write()
707 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_scrub()
769 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_read()
796 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_empty()
865 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_verify_empty()
1080 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_map_alloc_row()
1086 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_row()
1874 rc->rc_abd, rc->rc_size, zio->io_type, zio->io_priority, in vdev_draid_io_start_write()
2051 zio->io_type, zio->io_priority, 0, in vdev_draid_io_start_read()
2072 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_io_start()
[all …]
H A Dvdev_indirect.c1264 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_indirect_read_all()
1290 is->is_size, zio->io_type, zio->io_priority, 0, in vdev_indirect_read_all()
1309 if (zio->io_type != ZIO_TYPE_READ) { in vdev_indirect_io_start()
1310 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_indirect_io_start()
1344 zio->io_size, zio->io_type, zio->io_priority, 0, in vdev_indirect_io_start()
1348 if (zio->io_type == ZIO_TYPE_READ && in vdev_indirect_io_start()
1376 is->is_size, zio->io_type, in vdev_indirect_io_start()
H A Dzio_inject.c284 if (zio->io_type != ZIO_TYPE_READ) in zio_handle_fault_injection()
372 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in zio_inject_bitflip_cb()
396 return (iotype == zio->io_type); in zio_match_iotype()
416 if (zio != NULL && zio->io_type != ZIO_TYPE_FLUSH && in zio_handle_device_injection_impl()
H A Dvdev_raidz.c503 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_raidz_map_alloc_write()
735 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_map_alloc()
2460 abd_get_size(rc->rc_abd), zio->io_type, in vdev_raidz_io_start_write()
2473 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_write()
2502 NULL, 1ULL << ashift, zio->io_type, zio->io_priority, in raidz_start_skip_writes()
2584 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_read_row()
2616 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_read_phys_cols()
2720 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_start()
2729 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_start()
3108 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_raidz_io_done_verified()
[all …]
H A Dzfs_fm.c666 DATA_TYPE_UINT32, zio->io_type, NULL); in zfs_ereport_start()
1108 if (zio->io_type != ZIO_TYPE_READ && in zfs_ereport_is_valid()
1109 zio->io_type != ZIO_TYPE_WRITE) in zfs_ereport_is_valid()
1129 if (zio->io_type == ZIO_TYPE_READ && in zfs_ereport_is_valid()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c1040 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_intr()
1138 if (zio->io_type == ZIO_TYPE_FLUSH) { in vdev_geom_io_start()
1156 } else if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_geom_io_start()
1163 ASSERT(zio->io_type == ZIO_TYPE_READ || in vdev_geom_io_start()
1164 zio->io_type == ZIO_TYPE_WRITE || in vdev_geom_io_start()
1165 zio->io_type == ZIO_TYPE_TRIM || in vdev_geom_io_start()
1166 zio->io_type == ZIO_TYPE_FLUSH); in vdev_geom_io_start()
1176 switch (zio->io_type) { in vdev_geom_io_start()
1182 if (zio->io_type == ZIO_TYPE_READ) in vdev_geom_io_start()
1203 if (zio->io_type == ZIO_TYPE_READ) { in vdev_geom_io_start()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dzinject.c926 int io_type = ZINJECT_IOTYPE_ALL; in main() local
1121 io_type = str_to_iotype(optarg); in main()
1122 if (io_type == ZINJECT_IOTYPES) { in main()
1256 (record.zi_freq == 0 || io_type != ZINJECT_IOTYPE_READ)) { in main()
1263 record.zi_iotype = io_type; in main()
1270 switch (io_type) { in main()
1329 record.zi_iotype = io_type; in main()
1490 record.zi_iotype = io_type; in main()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c236 zio->io_vd->vdev_path, zio->io_error, zio->io_type, in vdev_disk_error()
711 vbio->vbio_zio->io_type == ZIO_TYPE_WRITE ? in vbio_add_page()
950 if (zio->io_type == ZIO_TYPE_WRITE) in vdev_disk_io_rw()
1148 switch (zio->io_type) { in vdev_disk_io_start()
1206 ASSERT3S(zio->io_type, ==, -1); in vdev_disk_io_start()
1230 if (zio->io_type == ZIO_TYPE_READ) in vdev_disk_io_done()
/freebsd/tests/sys/cam/ctl/
H A Dprout_register_huge_cdb.c65 io->io_hdr.io_type = CTL_IO_SCSI; in main()
/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()
/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 const *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.h63 __entry->zio_type = zio->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/contrib/lua/src/
H A Dliolib.c163 static int io_type (lua_State *L) { in io_type() function
764 {"type", io_type},

12