Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/fs/zfs/
H A Dvdev_queue.c279 avl_add(vdev_queue_type_tree(vq, zio->io_type), zio); in vdev_queue_io_add()
294 avl_remove(vdev_queue_type_tree(vq, zio->io_type), zio); in vdev_queue_io_remove()
336 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_pending_remove()
339 } else if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_queue_pending_remove()
350 if (aio->io_type == ZIO_TYPE_READ) { in vdev_queue_agg_io_done()
492 avl_tree_t *t = vdev_queue_type_tree(vq, zio->io_type); in vdev_queue_aggregate()
500 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_aggregate()
561 if (zio->io_type == ZIO_TYPE_WRITE && mandatory != NULL) { in vdev_queue_aggregate()
593 zio_buf_alloc(size), size, first->io_type, zio->io_priority, in vdev_queue_aggregate()
602 ASSERT3U(dio->io_type, ==, aio->io_type); in vdev_queue_aggregate()
[all …]
H A Dvdev_file.c193 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_file_io_start()
214 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_start()
223 bp->b_flags = (zio->io_type == ZIO_TYPE_READ ? B_READ : B_WRITE); in vdev_file_io_start()
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 Dzio.c318 if (zio->io_type == ZIO_TYPE_READ) in zio_subblock()
552 zio->io_type = type; in zio_create()
765 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in zio_write_override()
1293 zio_type_t t = zio->io_type; in zio_taskq_dispatch()
1881 zio = zio_gang_issue_func[gio->io_type](pio, bp, gn, data); in zio_gang_tree_issue()
2696 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_vdev_io_start()
2719 VERIFY(zio->io_type != ZIO_TYPE_WRITE || spa_writeable(spa)); in zio_vdev_io_start()
2738 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in zio_vdev_io_start()
2744 (zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE)) { in zio_vdev_io_start()
2746 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 Dvdev_disk.c738 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_disk_io_start()
799 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_disk_io_start()
809 (zio->io_type == ZIO_TYPE_READ ? B_READ : B_WRITE); in vdev_disk_io_start()
H A Dvdev_raidz.c1734 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_start()
1742 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start()
1759 zio->io_type, zio->io_priority, in vdev_raidz_io_start()
1767 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_start()
1808 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start()
2138 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_done()
2156 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_done()
2274 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 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()
H A Dvdev.c940 if (zio->io_type == ZIO_TYPE_READ) { in vdev_probe_done()
951 } else if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_probe_done()
955 } else if (zio->io_type == ZIO_TYPE_NULL) { in vdev_probe_done()
2646 if (zio->io_type == ZIO_TYPE_READ) in vdev_accessible()
2649 if (zio->io_type == ZIO_TYPE_WRITE) in vdev_accessible()
2729 zio_type_t type = zio->io_type; in vdev_stat_update()
/titanic_50/usr/src/cmd/zinject/
H A Dzinject.c665 int io_type = ZIO_TYPES; in main() local
828 io_type = ZIO_TYPE_READ; in main()
830 io_type = ZIO_TYPE_WRITE; in main()
832 io_type = ZIO_TYPE_FREE; in main()
834 io_type = ZIO_TYPE_CLAIM; in main()
836 io_type = ZIO_TYPES; in main()
945 record.zi_iotype = io_type; in main()
/titanic_50/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_50/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_50/usr/src/uts/common/fs/zfs/sys/
H A Dzio.h395 zio_type_t io_type; member
/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_tdaemon.c633 typedef struct io_type { struct
/titanic_50/usr/src/cmd/ztest/
H A Dztest.c2166 enum ztest_io_type io_type; in ztest_io() local
2177 io_type = ztest_random(ZTEST_IO_TYPES); in ztest_io()
2179 io_type = ZTEST_IO_WRITE_TAG; in ztest_io()
2183 switch (io_type) { in ztest_io()
/titanic_50/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2005 enum zio_type io_type; member
2047 if ((type = mdb_ctf_enum_name(type_enum, zio.io_type)) != NULL) in zio_print_cb()
/titanic_50/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_50/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()