Home
last modified time | relevance | path

Searched refs:io_type (Results 1 – 25 of 44) 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()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_queue.c496 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_io_add()
498 else if (zio->io_type == ZIO_TYPE_WRITE) in vdev_queue_io_add()
506 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_io_remove()
508 else if (zio->io_type == ZIO_TYPE_WRITE) in vdev_queue_io_remove()
601 if (zio->io_type == ZIO_TYPE_TRIM) in vdev_queue_aggregate()
624 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_aggregate()
628 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_queue_aggregate()
656 dio->io_type == zio->io_type) { in vdev_queue_aggregate()
683 dio->io_type == zio->io_type) { in vdev_queue_aggregate()
699 if (zio->io_type == ZIO_TYPE_WRITE && mandatory != NULL) { in vdev_queue_aggregate()
[all …]
H A Dvdev_file.c219 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_strategy()
220 if (zio->io_type == ZIO_TYPE_READ) { in vdev_file_io_strategy()
265 if (zio->io_type == ZIO_TYPE_FLUSH) { in vdev_file_io_start()
284 if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_file_io_start()
294 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_start()
H A Dvdev_mirror.c299 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_mirror_map_init()
607 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_start()
612 if (zio->io_type == ZIO_TYPE_READ) { in vdev_mirror_io_start()
642 zio->io_size, zio->io_type, in vdev_mirror_io_start()
657 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 Dzio.c541 if (zio->io_type == ZIO_TYPE_READ) in zio_subblock()
905 (pio->io_type == zio->io_type || in zio_notify_parent()
906 (pio->io_type == ZIO_TYPE_NULL && !pio->io_done))) { in zio_notify_parent()
1021 zio->io_type = type; in zio_create()
1415 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in zio_write_override()
1744 ASSERT3U(zio->io_type, ==, pio->io_type); in zio_vdev_child_io()
2220 zio_type_t t = zio->io_type; in zio_taskq_dispatch_func()
2280 ASSERT((zio->io_type != ZIO_TYPE_WRITE) || ZIO_HAS_ALLOCATOR(zio)); in zio_issue_async()
2578 vq ? vq->vq_io_complete_ts : 0, pio->io_type, in zio_deadman_impl()
2851 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_wait()
[all …]
H A Dvdev_draid.c782 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_draid_map_alloc_write()
831 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_scrub()
893 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_read()
920 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_empty()
989 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_verify_empty()
1243 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_map_alloc_row()
1249 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_row()
2059 rc->rc_abd, rc->rc_size, zio->io_type, zio->io_priority, in vdev_draid_io_start_write()
2239 zio->io_type, zio->io_priority, 0, in vdev_draid_io_start_read()
2261 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_io_start()
[all …]
H A Dvdev_indirect.c1261 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_indirect_read_all()
1287 is->is_size, zio->io_type, zio->io_priority, 0, in vdev_indirect_read_all()
1306 if (zio->io_type != ZIO_TYPE_READ) { in vdev_indirect_io_start()
1307 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_indirect_io_start()
1341 zio->io_size, zio->io_type, zio->io_priority, 0, in vdev_indirect_io_start()
1345 if (zio->io_type == ZIO_TYPE_READ && in vdev_indirect_io_start()
1373 is->is_size, zio->io_type, in vdev_indirect_io_start()
H A Dzio_inject.c274 if (zio->io_type != ZIO_TYPE_READ) in zio_handle_fault_injection()
362 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in zio_inject_bitflip_cb()
386 return (iotype == zio->io_type); in zio_match_iotype()
406 if (zio != NULL && zio->io_type != ZIO_TYPE_FLUSH && in zio_handle_device_injection_impl()
H A Dvdev_raidz.c513 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_raidz_map_alloc_write()
764 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_map_alloc()
2496 abd_get_size(rc->rc_abd), zio->io_type, in vdev_raidz_io_start_write()
2509 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_write()
2538 NULL, 1ULL << ashift, zio->io_type, zio->io_priority, in raidz_start_skip_writes()
2620 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_read_row()
2652 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_read_phys_cols()
2758 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_start()
2767 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_start()
3147 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_raidz_io_done_verified()
[all …]
H A Dzfs_fm.c656 DATA_TYPE_UINT32, zio->io_type, NULL); in zfs_ereport_start()
1098 if (zio->io_type != ZIO_TYPE_READ && in zfs_ereport_is_valid()
1099 zio->io_type != ZIO_TYPE_WRITE) in zfs_ereport_is_valid()
1119 if (zio->io_type == ZIO_TYPE_READ && in zfs_ereport_is_valid()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c1035 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_intr()
1133 if (zio->io_type == ZIO_TYPE_FLUSH) { in vdev_geom_io_start()
1151 } else if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_geom_io_start()
1158 ASSERT(zio->io_type == ZIO_TYPE_READ || in vdev_geom_io_start()
1159 zio->io_type == ZIO_TYPE_WRITE || in vdev_geom_io_start()
1160 zio->io_type == ZIO_TYPE_TRIM || in vdev_geom_io_start()
1161 zio->io_type == ZIO_TYPE_FLUSH); in vdev_geom_io_start()
1171 switch (zio->io_type) { in vdev_geom_io_start()
1177 if (zio->io_type == ZIO_TYPE_READ) in vdev_geom_io_start()
1198 if (zio->io_type == ZIO_TYPE_READ) { in vdev_geom_io_start()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dzinject.c920 int io_type = ZINJECT_IOTYPE_ALL; in main() local
1116 io_type = str_to_iotype(optarg); in main()
1117 if (io_type == ZINJECT_IOTYPES) { in main()
1251 (record.zi_freq == 0 || io_type != ZINJECT_IOTYPE_READ)) { in main()
1258 record.zi_iotype = io_type; in main()
1265 switch (io_type) { in main()
1324 record.zi_iotype = io_type; in main()
1485 record.zi_iotype = io_type; 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/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()
797 vbio->vbio_zio->io_type == ZIO_TYPE_WRITE ? in vbio_add_page()
1051 if (zio->io_type == ZIO_TYPE_WRITE) in vdev_disk_io_rw()
1260 switch (zio->io_type) { in vdev_disk_io_start()
1318 ASSERT3S(zio->io_type, ==, -1); in vdev_disk_io_start()
1342 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/contrib/dev/broadcom/brcm80211/include/
H A Dbrcmu_d11.h148 u8 io_type; member
/freebsd/usr.sbin/bhyve/
H A Dpci_virtio_scsi_ctl.c213 io->io_hdr.io_type = CTL_IO_TASK; in vtscsi_ctl_tmf_hdl()
295 io->io_hdr.io_type = CTL_IO_SCSI; in vtscsi_ctl_req_hdl()
/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.h53 __entry->zio_type = zio->io_type; \
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmutil/
H A Dd11.c239 if (d11inf->io_type == BRCMU_D11N_IOTYPE) { in brcmu_d11_attach()

12