| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | zio.h | 283 typedef void zio_done_func_t(zio_t *zio); 416 typedef zio_t *zio_gang_issue_func_t(zio_t *zio, blkptr_t *bp, 419 typedef void zio_transform_func_t(zio_t *zio, struct abd *data, uint64_t size); 429 typedef zio_t *zio_pipe_stage_t(zio_t *zio); 465 zio_t *zl_parent; 466 zio_t *zl_child; 483 zio_t *zb_arrived; /* lock-free LIFO of arrived members */ 504 zio_t *io_logical; 558 zio_t *io_gang_leader; 577 zio_t *io_exec_next; /* link on a list of zios to execute */ [all …]
|
| H A D | vdev.h | 61 extern zio_t *vdev_probe(vdev_t *vd, zio_t *pio); 117 extern void vdev_stat_update(zio_t *zio, uint64_t psize); 172 extern boolean_t vdev_accessible(vdev_t *vd, zio_t *zio); 177 extern zio_t *vdev_queue_io(zio_t *zio); 178 extern void vdev_queue_io_done(zio_t *zio); 179 extern boolean_t vdev_should_queue_io(zio_t *zio); 180 extern void vdev_queue_change_io_priority(zio_t *zio, zio_priority_t priority); 220 extern void vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t
|
| H A D | vdev_raidz.h | 48 void vdev_raidz_child_done(zio_t *); 49 void vdev_raidz_io_done(zio_t *); 50 void vdev_raidz_checksum_error(zio_t *, struct raidz_col *, abd_t *); 51 struct raidz_row *vdev_raidz_row_alloc(int, zio_t *);
|
| H A D | dmu_impl.h | 254 void dmu_sync_done(zio_t *, arc_buf_t *buf, void *varg); 255 void dmu_sync_ready(zio_t *, arc_buf_t *buf, void *varg); 260 int dmu_write_direct(zio_t *, dmu_buf_impl_t *, abd_t *, dmu_tx_t *);
|
| H A D | zil_impl.h | 111 zio_t *lwb_child_zio; /* parent zio for children */ 112 zio_t *lwb_write_zio; /* zio for the lwb buffer */ 113 zio_t *lwb_root_zio; /* root zio for lwb write and flushes */
|
| H A D | arc.h | 79 typedef void arc_read_done_func_t(zio_t *zio, const zbookmark_phys_t *zb, 81 typedef void arc_write_done_func_t(zio_t *zio, arc_buf_t *buf, void *priv); 307 int arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, 310 zio_t *arc_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp,
|
| H A D | vdev_draid.h | 90 extern void vdev_draid_map_alloc_empty(zio_t *, struct raidz_row *); 91 extern int vdev_draid_map_verify_empty(zio_t *, struct raidz_row *);
|
| H A D | zio_checksum.h | 131 extern void zio_checksum_compute(zio_t *, enum zio_checksum, 135 extern int zio_checksum_error(zio_t *zio, zio_bad_cksum_t *out);
|
| H A D | spa_impl.h | 412 zio_t **spa_async_zio_root; 413 zio_t *spa_suspend_zio_root; /* root of all suspended I/O */ 414 zio_t *spa_txg_zio[TXG_SIZE]; /* spa_sync() waits for this */ 517 task_func_t *func, zio_t *zio, boolean_t cutinline);
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zio.c | 164 static inline void __zio_execute(zio_t *zio); 166 static void zio_taskq_dispatch(zio_t *, zio_taskq_type_t, boolean_t); 167 static void zio_batch_join(zio_batch_t *, zio_t *); 193 sizeof (zio_t), 0, NULL, NULL, NULL, NULL, NULL, 0); in zio_init() 493 zio_push_transform(zio_t *zio, abd_t *data, uint64_t size, uint64_t bufsize, in zio_push_transform() 511 zio_pop_transforms(zio_t *zio) in zio_pop_transforms() 537 zio_subblock(zio_t *zio, abd_t *data, uint64_t size) in zio_subblock() 546 zio_decompress(zio_t *zio, abd_t *data, uint64_t size) in zio_decompress() 562 zio_decrypt(zio_t *zio, abd_t *data, uint64_t size) in zio_decrypt() 702 zio_t * [all …]
|
| H A D | vdev_queue.c | 200 const zio_t *z1 = (const zio_t *)x1; in vdev_queue_offset_compare() 201 const zio_t *z2 = (const zio_t *)x2; in vdev_queue_offset_compare() 216 const zio_t *z1 = (const zio_t *)x1; in vdev_queue_to_compare() 217 const zio_t *z2 = (const zio_t *)x2; in vdev_queue_to_compare() 238 vdev_queue_class_add(vdev_queue_t *vq, zio_t *zio) in vdev_queue_class_add() 251 vdev_queue_class_remove(vdev_queue_t *vq, zio_t *zio) in vdev_queue_class_remove() 452 sizeof (zio_t), in vdev_queue_init() 456 vdev_queue_to_compare, sizeof (zio_t), in vdev_queue_init() 461 vdev_queue_offset_compare, sizeof (zio_t), in vdev_queue_init() 464 vdev_queue_offset_compare, sizeof (zio_t), in vdev_queue_init() [all …]
|
| H A D | vdev_file.c | 206 zio_t *zio = (zio_t *)arg; in vdev_file_io_strategy() 240 zio_t *zio = (zio_t *)arg; in vdev_file_io_fsync() 251 zio_t *zio = (zio_t *)arg; in vdev_file_io_deallocate() 261 vdev_file_io_start(zio_t *zio) in vdev_file_io_start() 302 vdev_file_io_done(zio_t *zio) in vdev_file_io_done()
|
| H A D | dmu_direct.c | 67 dmu_read_abd_done(zio_t *zio) in dmu_read_abd_done() 73 dmu_write_direct_ready(zio_t *zio) in dmu_write_direct_ready() 79 dmu_write_direct_done(zio_t *zio) in dmu_write_direct_done() 128 dmu_write_direct(zio_t *pio, dmu_buf_impl_t *db, abd_t *data, dmu_tx_t *tx) in dmu_write_direct() 192 zio_t *zio = zio_write(pio, os->os_spa, txg, bp, data, in dmu_write_direct() 220 zio_t *pio = zio_root(spa, NULL, NULL, ZIO_FLAG_CANFAIL); in dmu_write_abd() 260 zio_t *rio = zio_root(spa, NULL, NULL, ZIO_FLAG_CANFAIL); in dmu_read_abd() 329 zio_t *cio = zio_read(rio, spa, bp, mbuf, db->db.db_size, in dmu_read_abd()
|
| H A D | vdev_label.c | 181 vdev_label_read(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset, in vdev_label_read() 196 vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset, in vdev_label_write() 845 zio_t *zio[VDEV_LABELS]; in vdev_label_read_config() 1139 zio_t *zio; in vdev_label_init() 1365 vdev_label_read_bootenv_done(zio_t *zio) in vdev_label_read_bootenv_done() 1367 zio_t *rio = zio->io_private; in vdev_label_read_bootenv_done() 1387 vdev_label_read_bootenv_impl(zio_t *zio, vdev_t *vd, int flags) in vdev_label_read_bootenv_impl() 1420 zio_t *zio = zio_root(spa, NULL, &abd, flags); in vdev_label_read_bootenv() 1478 zio_t *zio; in vdev_label_write_bootenv() 1621 vdev_uberblock_load_done(zio_t *zio) in vdev_uberblock_load_done() [all …]
|
| H A D | zio_inject.c | 230 zio_match_dva(zio_t *zio) in zio_match_dva() 260 zio_handle_fault_injection(zio_t *zio, int error) in zio_handle_fault_injection() 312 zio_handle_label_injection(zio_t *zio, int error) in zio_handle_label_injection() 358 zio_t *zio = private; in zio_inject_bitflip_cb() 372 zio_match_iotype(zio_t *zio, uint32_t iotype) in zio_match_iotype() 396 zio_handle_device_injection_impl(vdev_t *vd, zio_t *zio, int err1, int err2) in zio_handle_device_injection_impl() 496 zio_handle_device_injection(vdev_t *vd, zio_t *zio, int error) in zio_handle_device_injection() 502 zio_handle_device_injections(vdev_t *vd, zio_t *zio, int err1, int err2) in zio_handle_device_injections() 512 zio_handle_ignored_writes(zio_t *zio) in zio_handle_ignored_writes() 589 zio_handle_io_delay(zio_t *zio) in zio_handle_io_delay() [all …]
|
| H A D | vdev_indirect.c | 289 vdev_indirect_map_free(zio_t *zio) in vdev_indirect_map_free() 1178 vdev_indirect_child_io_done(zio_t *zio) in vdev_indirect_child_io_done() 1180 zio_t *pio = zio->io_private; in vdev_indirect_child_io_done() 1197 zio_t *zio = arg; in vdev_indirect_gather_splits() 1239 vdev_indirect_read_split_done(zio_t *zio) in vdev_indirect_read_split_done() 1257 vdev_indirect_read_all(zio_t *zio) in vdev_indirect_read_all() 1295 vdev_indirect_io_start(zio_t *zio) in vdev_indirect_io_start() 1388 vdev_indirect_checksum_error(zio_t *zio, in vdev_indirect_checksum_error() 1422 vdev_indirect_repair(zio_t *zio) in vdev_indirect_repair() 1464 vdev_indirect_all_checksum_errors(zio_t *zio) in vdev_indirect_all_checksum_errors() [all …]
|
| H A D | vdev_missing.c | 61 vdev_missing_io_start(zio_t *zio) in vdev_missing_io_start() 68 vdev_missing_io_done(zio_t *zio) in vdev_missing_io_done()
|
| H A D | vdev_mirror.c | 161 vdev_mirror_map_free(zio_t *zio) in vdev_mirror_map_free() 256 vdev_mirror_map_init(zio_t *zio) in vdev_mirror_map_init() 432 vdev_mirror_child_done(zio_t *zio) in vdev_mirror_child_done() 449 vdev_mirror_dva_select(zio_t *zio, int p) in vdev_mirror_dva_select() 466 vdev_mirror_preferred_child_randomize(zio_t *zio) in vdev_mirror_preferred_child_randomize() 519 vdev_mirror_child_select(zio_t *zio) in vdev_mirror_child_select() 595 vdev_mirror_io_start(zio_t *zio) in vdev_mirror_io_start() 711 vdev_mirror_io_done(zio_t *zio) in vdev_mirror_io_done()
|
| H A D | vdev_raidz.c | 457 vdev_raidz_map_free_vsd(zio_t *zio) in vdev_raidz_map_free_vsd() 478 vdev_raidz_row_alloc(int cols, zio_t *zio) in vdev_raidz_row_alloc() 506 vdev_raidz_map_alloc_write(zio_t *zio, raidz_map_t *rm, uint64_t ashift) in vdev_raidz_map_alloc_write() 610 vdev_raidz_map_alloc_read(zio_t *zio, raidz_map_t *rm) in vdev_raidz_map_alloc_read() 640 vdev_raidz_map_alloc(zio_t *zio, uint64_t ashift, uint64_t dcols, in vdev_raidz_map_alloc() 791 vdev_raidz_map_alloc_expanded(zio_t *zio, in vdev_raidz_map_alloc_expanded() 2413 vdev_raidz_child_done(zio_t *zio) in vdev_raidz_child_done() 2424 vdev_raidz_shadow_child_done(zio_t *zio) in vdev_raidz_shadow_child_done() 2432 vdev_raidz_io_verify(zio_t *zio, raidz_map_t *rm, raidz_row_t *rr, int col) in vdev_raidz_io_verify() 2473 vdev_raidz_io_start_write(zio_t *zio, raidz_row_t *rr) in vdev_raidz_io_start_write() [all …]
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | vdev_label_os.c | 33 zio_t *zio; in vdev_label_write_pad2() 64 vdev_child_done(zio_t *zio) in vdev_child_done() 66 zio_t *pio = zio->io_private; in vdev_child_done() 89 zio_t *pio = zio_root(spa, NULL, NULL, 0); in vdev_check_boot_reserve()
|
| /freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_zio.h | 33 TP_PROTO(zio_t *zio, hrtime_t now), 48 TP_PROTO(zio_t *zio, hrtime_t now, hrtime_t diff), 65 TP_PROTO(zio_t *zio),
|
| H A D | trace_dbuf.h | 92 TP_PROTO(dmu_buf_impl_t *db, zio_t *zio), 110 TP_PROTO(dmu_buf_impl_t *db, zio_t *zio), \
|
| /freebsd/sys/contrib/openzfs/cmd/raidz_test/ |
| H A D | raidz_test.c | 290 init_zio_abd(zio_t *zio) in init_zio_abd() 297 fini_raidz_map(zio_t **zio, raidz_map_t **rm) in fini_raidz_map() 301 umem_free(*zio, sizeof (zio_t)); in fini_raidz_map() 311 zio_t *zio_test; in init_raidz_golden_map() 319 opts->zio_golden = umem_zalloc(sizeof (zio_t), UMEM_NOFAIL); in init_raidz_golden_map() 320 zio_test = umem_zalloc(sizeof (zio_t), UMEM_NOFAIL); in init_raidz_golden_map() 368 init_raidz_map(raidz_test_opts_t *opts, zio_t **zio, const int parity) in init_raidz_map() 378 *zio = umem_zalloc(sizeof (zio_t), UMEM_NOFAIL); in init_raidz_map() 406 zio_t *zio_test; in run_gen_check() 582 zio_t *zio_test; in run_rec_check()
|
| H A D | raidz_test.h | 59 zio_t *zio_golden; 109 void init_zio_abd(zio_t *zio);
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | vdev_disk.c | 227 vdev_disk_error(zio_t *zio) in vdev_disk_error() 743 zio_t *vbio_zio; /* parent zio */ 762 vbio_alloc(zio_t *zio, struct block_device *bdev, int flags) in vbio_alloc() 884 zio_t *zio = vbio->vbio_zio; in vbio_completion() 1003 vdev_disk_io_rw(zio_t *zio) in vdev_disk_io_rw() 1088 zio_t *zio = bio->bi_private; in vdev_disk_io_flush_completion() 1101 vdev_disk_io_flush(struct block_device *bdev, zio_t *zio) in vdev_disk_io_flush() 1126 zio_t *zio = bio->bi_private; in vdev_disk_discard_end_io() 1194 vdev_disk_io_trim(zio_t *zio) in vdev_disk_io_trim() 1231 vdev_disk_io_start(zio_t *zio) in vdev_disk_io_start() [all …]
|