Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev_queue.c278 avl_add(vdev_queue_type_tree(vq, zio->io_type), zio); in vdev_queue_io_add()
293 avl_remove(vdev_queue_type_tree(vq, zio->io_type), zio); in vdev_queue_io_remove()
335 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_pending_remove()
338 } else if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_queue_pending_remove()
349 if (aio->io_type == ZIO_TYPE_READ) { in vdev_queue_agg_io_done()
491 avl_tree_t *t = vdev_queue_type_tree(vq, zio->io_type); in vdev_queue_aggregate()
499 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_aggregate()
560 if (zio->io_type == ZIO_TYPE_WRITE && mandatory != NULL) { in vdev_queue_aggregate()
592 zio_buf_alloc(size), size, first->io_type, zio->io_priority, in vdev_queue_aggregate()
601 ASSERT3U(dio->io_type, ==, aio->io_type); in vdev_queue_aggregate()
[all …]
H A Dvdev_mirror.c272 if (zio->io_type == ZIO_TYPE_READ) { in vdev_mirror_io_start()
285 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start()
297 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in vdev_mirror_io_start()
310 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start()
352 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_mirror_io_done()
383 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_done()
H A Dvdev_file.c193 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_file_io_start()
220 bp->b_flags = (zio->io_type == ZIO_TYPE_READ ? B_READ : B_WRITE); in vdev_file_io_start()
H A Dzio.c317 if (zio->io_type == ZIO_TYPE_READ) in zio_subblock()
551 zio->io_type = type; in zio_create()
764 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in zio_write_override()
1290 zio_type_t t = zio->io_type; in zio_taskq_dispatch()
1826 zio = zio_gang_issue_func[gio->io_type](pio, bp, gn, data); in zio_gang_tree_issue()
2628 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_vdev_io_start()
2651 VERIFY(zio->io_type != ZIO_TYPE_WRITE || spa_writeable(spa)); in zio_vdev_io_start()
2670 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in zio_vdev_io_start()
2676 (zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE)) { in zio_vdev_io_start()
2678 if (zio->io_type == ZIO_TYPE_READ && vdev_cache_read(zio)) in zio_vdev_io_start()
[all …]
H A Dvdev_cache.c262 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_cache_read()
341 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in vdev_cache_write()
H A Dzio_inject.c143 if (zio->io_type != ZIO_TYPE_READ) in zio_handle_fault_injection()
254 handler->zi_record.zi_iotype != zio->io_type) in zio_handle_device_injection()
H A Dvdev_raidz.c1733 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_start()
1741 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start()
1758 zio->io_type, zio->io_priority, in vdev_raidz_io_start()
1766 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_start()
1807 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start()
2137 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_done()
2155 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_done()
2273 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_done()
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 Dvdev_disk.c738 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_disk_io_start()
806 (zio->io_type == ZIO_TYPE_READ ? B_READ : B_WRITE); in vdev_disk_io_start()
H A Dvdev.c939 if (zio->io_type == ZIO_TYPE_READ) { in vdev_probe_done()
950 } else if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_probe_done()
954 } else if (zio->io_type == ZIO_TYPE_NULL) { in vdev_probe_done()
2636 if (zio->io_type == ZIO_TYPE_READ) in vdev_accessible()
2639 if (zio->io_type == ZIO_TYPE_WRITE) in vdev_accessible()
2719 zio_type_t type = zio->io_type; in vdev_stat_update()
/titanic_41/usr/src/cmd/zinject/
H A Dzinject.c561 int io_type = ZIO_TYPES; in main() local
723 io_type = ZIO_TYPE_READ; in main()
725 io_type = ZIO_TYPE_WRITE; in main()
727 io_type = ZIO_TYPE_FREE; in main()
729 io_type = ZIO_TYPE_CLAIM; in main()
731 io_type = ZIO_TYPES; in main()
840 record.zi_iotype = io_type; in main()
/titanic_41/usr/src/uts/common/sys/rsm/
H A Drsmapi_common.h78 int io_type; member
H A Drsm.h176 int io_type; member
189 int32_t io_type; member
/titanic_41/usr/src/lib/librsm/common/
H A Drsmgen.c564 if (l_iovec->io_type == RSM_HANDLE_TYPE) { in __rsm_getv()
569 l_iovec->io_type = RSM_VA_TYPE; in __rsm_getv()
591 if (ka_iovec->io_type == RSM_HANDLE_TYPE) { in __rsm_getv()
713 if (l_iovec->io_type == RSM_HANDLE_TYPE) { in __rsm_putv()
718 l_iovec->io_type = RSM_VA_TYPE; in __rsm_putv()
745 if (ka_iovec->io_type == RSM_HANDLE_TYPE) { in __rsm_putv()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dzio.h392 zio_type_t io_type; member
/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_tdaemon.c633 typedef struct io_type { struct
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c2162 enum ztest_io_type io_type; in ztest_io() local
2173 io_type = ztest_random(ZTEST_IO_TYPES); in ztest_io()
2175 io_type = ZTEST_IO_WRITE_TAG; in ztest_io()
2179 switch (io_type) { in ztest_io()
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2003 enum zio_type io_type; member
2045 if ((type = mdb_ctf_enum_name(type_enum, zio.io_type)) != NULL) in zio_print_cb()
/titanic_41/usr/src/uts/common/io/rsm/
H A Drsm.c7326 iovec->io_type = (int)iovec32->io_type; in iovec_copyin()
7327 if (iovec->io_type == RSM_HANDLE_TYPE) in iovec_copyin()
7599 if (ka_iovec->io_type == RSM_HANDLE_TYPE) { in rsm_iovec_ioctl()
7705 if (ka_iovec->io_type == RSM_HANDLE_TYPE) { in rsm_iovec_ioctl()
/titanic_41/usr/src/uts/common/io/usb/clients/video/usbvc/
H A Dusbvc.c3081 uchar_t io_type) in usbvc_start_isoc_polling() argument
3132 usbvcp->usbvc_io_type = io_type; in usbvc_start_isoc_polling()