Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dvdev_queue.c418 qtt = vdev_queue_type_tree(vq, zio->io_type); in vdev_queue_io_add()
440 qtt = vdev_queue_type_tree(vq, zio->io_type); in vdev_queue_io_remove()
489 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_pending_remove()
492 } else if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_queue_pending_remove()
504 if (aio->io_type == ZIO_TYPE_READ) { in vdev_queue_agg_io_done()
664 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_aggregate()
687 t = vdev_queue_type_tree(vq, zio->io_type); in vdev_queue_aggregate()
728 if (zio->io_type == ZIO_TYPE_WRITE && mandatory != NULL) { in vdev_queue_aggregate()
764 abuf, size, first->io_type, zio->io_priority, in vdev_queue_aggregate()
773 ASSERT3U(dio->io_type, ==, aio->io_type); in vdev_queue_aggregate()
[all …]
H A Dvdev_mirror.c452 if (zio->io_type == ZIO_TYPE_READ) { in vdev_mirror_io_start()
466 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start()
478 ASSERT(zio->io_type == ZIO_TYPE_WRITE || in vdev_mirror_io_start()
479 zio->io_type == ZIO_TYPE_FREE); in vdev_mirror_io_start()
492 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start()
534 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_mirror_io_done()
563 } else if (zio->io_type == ZIO_TYPE_FREE) { in vdev_mirror_io_done()
567 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_done()
H A Dvdev_file.c177 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_file_io_start()
191 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_start()
194 zio->io_error = vn_rdwr(zio->io_type == ZIO_TYPE_READ ? in vdev_file_io_start()
H A Dzio.c408 if (zio->io_type == ZIO_TYPE_READ) in zio_subblock()
674 zio->io_type = type; in zio_create()
891 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in zio_write_override()
1502 zio_type_t t = zio->io_type; in zio_taskq_dispatch()
2111 zio = zio_gang_issue_func[gio->io_type](pio, bp, gn, data); in zio_gang_tree_issue()
2818 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in zio_dva_throttle()
3041 if (vd->vdev_ops->vdev_op_leaf && zio->io_type == ZIO_TYPE_FREE && in zio_vdev_io_start()
3076 if (zio->io_type == ZIO_TYPE_READ || in zio_vdev_io_start()
3077 zio->io_type == ZIO_TYPE_WRITE) in zio_vdev_io_start()
3080 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_vdev_io_start()
[all …]
H A Dvdev_geom.c976 switch (zio->io_type) { in vdev_geom_io_start()
1010 ASSERT(zio->io_type == ZIO_TYPE_READ || in vdev_geom_io_start()
1011 zio->io_type == ZIO_TYPE_WRITE || in vdev_geom_io_start()
1012 zio->io_type == ZIO_TYPE_FREE || in vdev_geom_io_start()
1013 zio->io_type == ZIO_TYPE_IOCTL); in vdev_geom_io_start()
1023 switch (zio->io_type) { in vdev_geom_io_start()
1027 bp->bio_cmd = zio->io_type == ZIO_TYPE_READ ? BIO_READ : BIO_WRITE; in vdev_geom_io_start()
H A Dvdev_raidz.c1743 zio->io_type == ZIO_TYPE_FREE, in vdev_raidz_io_start()
1752 if (zio->io_type == ZIO_TYPE_FREE) { in vdev_raidz_io_start()
1758 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start()
1766 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_start()
1774 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start()
1791 zio->io_type, zio->io_priority, in vdev_raidz_io_start()
1799 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_start()
1831 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start()
2161 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_done()
2177 } else if (zio->io_type == ZIO_TYPE_FREE) { in vdev_raidz_io_done()
[all …]
H A Dvdev_cache.c272 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_cache_read()
351 ASSERT(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()
H A Dvdev_disk.c458 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_disk_io_start()
492 bp->b_flags = (zio->io_type == ZIO_TYPE_READ ? B_READ : B_WRITE); in vdev_disk_io_start()
H A Dvdev.c1058 if (zio->io_type == ZIO_TYPE_READ) { in vdev_probe_done()
1069 } else if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_probe_done()
1073 } else if (zio->io_type == ZIO_TYPE_NULL) { in vdev_probe_done()
2878 if (zio->io_type == ZIO_TYPE_READ) in vdev_accessible()
2881 if (zio->io_type == ZIO_TYPE_WRITE) in vdev_accessible()
2974 zio_type_t type = zio->io_type; in vdev_stat_update()
/netbsd-src/external/cddl/osnet/dist/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()
/netbsd-src/sys/sys/
H A Diostat.h91 int io_type; /* type of device the state belong to */ member
/netbsd-src/sys/kern/
H A Dsubr_iostat.c143 stats->io_type = type; in iostat_alloc()
364 if ((disk_only == 1) && (stats->io_type != IOSTAT_DISK)) in iostati_getnames()
H A Dsubr_disk.c153 if ((stat != NULL) && (stat->io_type == IOSTAT_DISK)) in disk_find()
/netbsd-src/sys/dev/ic/
H A Dicpreg.h197 u_int8_t io_type; /* type (SCSI/FCAL) */ member
/netbsd-src/sys/arch/evbsh3/t_sh7706lan/
H A Dt_sh7706lan_space.c88 int io_type = type & ~T_SH7706LAN_IOMEM_PCMCIA_8BIT; in t_sh7706lan_iomem_add_mapping() local
110 switch (io_type) { in t_sh7706lan_iomem_add_mapping()
/netbsd-src/external/mit/lua/dist/src/
H A Dliolib.c165 static int io_type (lua_State *L) { in io_type() function
753 {"type", io_type},
/netbsd-src/sys/arch/evbsh3/ap_ms104_sh4/
H A Dap_ms104_sh4_space.c88 int io_type = type & ~AP_MS104_SH4_IOMEM_PCMCIA_8BIT; in ap_ms104_sh4_iomem_add_mapping() local
110 switch (io_type) { in ap_ms104_sh4_iomem_add_mapping()
/netbsd-src/sys/arch/landisk/dev/
H A Dobio.c261 int io_type = type & ~OBIO_IOMEM_PCMCIA_8BIT; in obio_iomem_add_mapping() local
283 switch (io_type) { in obio_iomem_add_mapping()
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dzio.h430 zio_type_t io_type; member
/netbsd-src/external/cddl/osnet/dist/cmd/ztest/
H A Dztest.c2165 enum ztest_io_type io_type; in ztest_io() local
2176 io_type = ztest_random(ZTEST_IO_TYPES); in ztest_io()
2178 io_type = ZTEST_IO_WRITE_TAG; in ztest_io()
2182 switch (io_type) { in ztest_io()