Home
last modified time | relevance | path

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

12

/freebsd-12.1/sys/cam/ctl/
H A Dctl_util.c108 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_tur()
134 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_inquiry()
143 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_inquiry()
164 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_request_sense()
172 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_request_sense()
193 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_report_luns()
201 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_report_luns()
223 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_read_write_buffer()
237 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_read_write_buffer()
261 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_read_write()
[all …]
H A Dctl_frontend_cam_sim.c560 io->io_hdr.io_type = CTL_IO_SCSI; in cfcs_action()
649 io->io_hdr.io_type = CTL_IO_TASK; in cfcs_action()
745 io->io_hdr.io_type = CTL_IO_TASK; in cfcs_action()
H A Dscsi_ctl.c1147 io->io_hdr.io_type = CTL_IO_SCSI; in ctlfedone()
1417 io->io_hdr.io_type = CTL_IO_TASK; in ctlfedone()
1912 KASSERT(io->io_hdr.io_type == CTL_IO_SCSI, in ctlfe_datamove()
1913 ("Unexpected io_type (%d) in ctlfe_datamove", 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.h221 ctl_io_type io_type; /* task I/O, SCSI I/O, etc. */ member
H A Dctl.c1447 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_isc_event_handler()
1640 taskio->io_hdr.io_type = CTL_IO_TASK; in ctl_isc_event_handler()
12476 switch (io->io_hdr.io_type) {
12491 __func__, io->io_hdr.io_type);
12976 switch (io->io_hdr.io_type) {
12991 __func__, io->io_hdr.io_type);
13001 switch (io->io_hdr.io_type) {
13011 __func__, io->io_hdr.io_type);
13237 switch (io->io_hdr.io_type) {
13290 io->io_hdr.io_type,
[all …]
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_queue.c508 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_pending_remove()
523 if (aio->io_type == ZIO_TYPE_READ) { in vdev_queue_agg_io_done()
700 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_aggregate()
723 t = vdev_queue_type_tree(vq, zio->io_type); in vdev_queue_aggregate()
728 dio->io_type == zio->io_type) { in vdev_queue_aggregate()
754 dio->io_type == zio->io_type) { in vdev_queue_aggregate()
830 ASSERT3U(dio->io_type, ==, aio->io_type); in vdev_queue_aggregate()
922 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_io()
936 ASSERT(zio->io_type == ZIO_TYPE_FREE); in vdev_queue_io()
1003 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_change_io_priority()
[all …]
H A Dvdev_file.c203 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_strategy()
204 if (zio->io_type == ZIO_TYPE_READ) { in vdev_file_io_strategy()
210 zio->io_error = vn_rdwr(zio->io_type == ZIO_TYPE_READ ? in vdev_file_io_strategy()
214 if (zio->io_type == ZIO_TYPE_READ) { in vdev_file_io_strategy()
232 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_file_io_start()
257 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_start()
H A Dvdev_mirror.c223 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_mirror_map_init()
513 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_start()
518 if (zio->io_type == ZIO_TYPE_READ) { in vdev_mirror_io_start()
536 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start()
548 ASSERT(zio->io_type == ZIO_TYPE_WRITE || in vdev_mirror_io_start()
549 zio->io_type == ZIO_TYPE_FREE); in vdev_mirror_io_start()
562 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start()
607 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_mirror_io_done()
636 } else if (zio->io_type == ZIO_TYPE_FREE) { in vdev_mirror_io_done()
640 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_done()
H A Dvdev_geom.c1042 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_intr()
1059 switch (zio->io_type) { in vdev_geom_io_start()
1093 ASSERT(zio->io_type == ZIO_TYPE_READ || in vdev_geom_io_start()
1094 zio->io_type == ZIO_TYPE_WRITE || in vdev_geom_io_start()
1095 zio->io_type == ZIO_TYPE_FREE || in vdev_geom_io_start()
1096 zio->io_type == ZIO_TYPE_IOCTL); in vdev_geom_io_start()
1106 switch (zio->io_type) { in vdev_geom_io_start()
1112 if (zio->io_type == ZIO_TYPE_READ) { in vdev_geom_io_start()
1146 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_done()
1156 if (zio->io_type == ZIO_TYPE_READ) in vdev_geom_io_done()
H A Dzio.c399 if (zio->io_type == ZIO_TYPE_READ) in zio_subblock()
694 zio->io_type = type; in zio_create()
1594 zio_type_t t = zio->io_type; in zio_taskq_dispatch()
3208 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_vdev_io_start()
3248 if (zio->io_type == ZIO_TYPE_READ || in zio_vdev_io_start()
3249 zio->io_type == ZIO_TYPE_WRITE) in zio_vdev_io_start()
3322 switch (zio->io_type) { in zio_vdev_io_start()
3366 zio->io_type == ZIO_TYPE_WRITE || zio->io_type == ZIO_TYPE_FREE); in zio_vdev_io_done()
3369 (zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE || in zio_vdev_io_done()
3378 if (zio->io_type == ZIO_TYPE_WRITE) in zio_vdev_io_done()
[all …]
H A Dvdev_disk.c712 if (zio->io_type == ZIO_TYPE_READ) { in vdev_disk_io_intr()
764 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_disk_io_start()
815 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_disk_io_start()
825 (zio->io_type == ZIO_TYPE_READ ? B_READ : B_WRITE); in vdev_disk_io_start()
830 if (zio->io_type == ZIO_TYPE_READ) { in vdev_disk_io_start()
H A Dvdev_raidz.c1961 zio->io_type == ZIO_TYPE_FREE, in vdev_raidz_io_start()
1970 if (zio->io_type == ZIO_TYPE_FREE) { in vdev_raidz_io_start()
1976 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start()
1984 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_start()
1998 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start()
2015 zio->io_type, zio->io_priority, in vdev_raidz_io_start()
2023 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_raidz_io_start()
2055 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start()
2390 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_done()
2410 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_done()
[all …]
H A Dvdev_indirect.c1249 is->is_size, zio->io_type, zio->io_priority, 0, in vdev_indirect_read_all()
1269 if (zio->io_type == ZIO_TYPE_WRITE) {
1271 if (zio->io_type != ZIO_TYPE_READ) {
1272 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE);
1309 zio->io_size, zio->io_type, zio->io_priority, 0,
1339 is->is_size, zio->io_type,
H A Dvdev_cache.c273 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_cache_read()
352 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_cache_write()
H A Dzfs_fm.c137 if (zio->io_type != ZIO_TYPE_READ && in zfs_ereport_start()
138 zio->io_type != ZIO_TYPE_WRITE) in zfs_ereport_start()
174 if (zio->io_type == ZIO_TYPE_READ && in zfs_ereport_start()
H A Dzio_inject.c181 if (zio->io_type != ZIO_TYPE_READ) in zio_handle_fault_injection()
292 handler->zi_record.zi_iotype != zio->io_type) in zio_handle_device_injection()
/freebsd-12.1/sys/dev/dpt/
H A Ddpt_pci.c88 dpt->io_type = SYS_RES_MEMORY; in dpt_pci_attach()
89 dpt->io_res = bus_alloc_resource_any(dev, dpt->io_type, in dpt_pci_attach()
94 dpt->io_type = SYS_RES_IOPORT; in dpt_pci_attach()
95 dpt->io_res = bus_alloc_resource_any(dev, dpt->io_type, in dpt_pci_attach()
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zinject/
H A Dzinject.c669 int io_type = ZIO_TYPES; in main() local
832 io_type = ZIO_TYPE_READ; in main()
834 io_type = ZIO_TYPE_WRITE; in main()
836 io_type = ZIO_TYPE_FREE; in main()
838 io_type = ZIO_TYPE_CLAIM; in main()
840 io_type = ZIO_TYPES; in main()
949 record.zi_iotype = io_type; in main()
/freebsd-12.1/sys/dev/ocs_fc/
H A Docs_scsi.c215 io->io_type = OCS_IO_TYPE_IO; in ocs_scsi_io_alloc()
1024 if (io->io_type == OCS_IO_TYPE_ABORT) { in ocs_scsi_check_pending()
1081 if (io->io_type == OCS_IO_TYPE_ABORT) { in ocs_scsi_check_pending()
1139 ocs_assert((io->io_type != OCS_IO_TYPE_ABORT), -1); in ocs_scsi_io_dispatch()
1218 ocs_assert((io->io_type == OCS_IO_TYPE_ABORT), -1); in ocs_scsi_io_dispatch_abort()
1288 switch (io->io_type) { in ocs_scsi_io_dispatch_hw_io()
1366 scsi_io_printf(io, "Unknown IO type=%d\n", io->io_type); in ocs_scsi_io_dispatch_hw_io()
1389 switch (io->io_type) { in ocs_scsi_io_dispatch_no_hw_io()
1978 abort_io->io_type = OCS_IO_TYPE_ABORT; in ocs_scsi_tgt_abort_io()
2080 io->io_type = OCS_IO_TYPE_BLS_RESP; in ocs_target_send_bls_resp()
[all …]
H A Docs_io.h94 ocs_io_type_e io_type; /**< indicates what this ocs_io_t structure is used for */ member
H A Docs_io.c253 io->io_type = OCS_IO_TYPE_MAX; in ocs_io_pool_io_alloc()
370 ocs_ddump_value(textbuf, "io_type", "%d", io->io_type); in ocs_ddump_io()
H A Docs_els.c218 els->io_type = OCS_IO_TYPE_ELS; in ocs_els_io_alloc_size()
1928 io->io_type = OCS_IO_TYPE_BLS_RESP; in ocs_bls_send_acc()
2085 abort_io->io_type = OCS_IO_TYPE_ABORT; in ocs_els_abort_io()
2718 io->io_type = OCS_IO_TYPE_CT_RESP; in ocs_send_ct_rsp()
2732 io->io_type = OCS_IO_TYPE_CT_RESP; in ocs_send_ct_rsp()
/freebsd-12.1/usr.sbin/bhyve/
H A Dpci_virtio_scsi.c391 io->io_hdr.io_type = CTL_IO_TASK; in pci_vtscsi_tmf_handle()
486 io->io_hdr.io_type = CTL_IO_SCSI; in pci_vtscsi_request_handle()
/freebsd-12.1/contrib/lua/src/
H A Dliolib.c150 static int io_type (lua_State *L) { in io_type() function
710 {"type", io_type},
/freebsd-12.1/sys/dev/usb/storage/
H A Dcfumass.c672 io->io_hdr.io_type = CTL_IO_SCSI; in cfumass_t_command_callback()
911 if (io->io_hdr.io_type == CTL_IO_TASK && in cfumass_done()

12