/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zio.h | 273 typedef void zio_done_func_t(zio_t *zio); 402 typedef zio_t *zio_gang_issue_func_t(zio_t *zio, blkptr_t *bp, 405 typedef void zio_transform_func_t(zio_t *zio, struct abd *data, uint64_t size); 415 typedef zio_t *zio_pipe_stage_t(zio_t *zio); 441 zio_t *zl_parent; 442 zio_t *zl_child; 470 zio_t *io_logical; 522 zio_t *io_gang_leader; 554 extern zio_t *zio_null(zio_t *pio, spa_t *spa, vdev_t *vd, 557 extern zio_t *zio_root(spa_t *spa, [all …]
|
H A D | vdev.h | 68 extern zio_t *vdev_probe(vdev_t *vd, zio_t *pio); 123 extern void vdev_stat_update(zio_t *zio, uint64_t psize); 162 extern boolean_t vdev_accessible(vdev_t *vd, zio_t *zio); 167 extern zio_t *vdev_queue_io(zio_t *zio); 168 extern void vdev_queue_io_done(zio_t *zio); 169 extern void vdev_queue_change_io_priority(zio_t *zio, zio_priority_t priority); 207 extern void vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t
|
H A D | vdev_raidz.h | 57 void vdev_raidz_child_done(zio_t *); 58 void vdev_raidz_io_done(zio_t *); 59 void vdev_raidz_checksum_error(zio_t *, struct raidz_col *, abd_t *); 60 struct raidz_row *vdev_raidz_row_alloc(int, zio_t *);
|
H A D | dmu_impl.h | 265 void dmu_sync_done(zio_t *, arc_buf_t *buf, void *varg); 266 void dmu_sync_ready(zio_t *, arc_buf_t *buf, void *varg); 271 int dmu_write_direct(zio_t *, dmu_buf_impl_t *, abd_t *, dmu_tx_t *);
|
H A D | zil_impl.h | 114 zio_t *lwb_child_zio; /* parent zio for children */ 115 zio_t *lwb_write_zio; /* zio for the lwb buffer */ 116 zio_t *lwb_root_zio; /* root zio for lwb write and flushes */
|
H A D | arc.h | 88 typedef void arc_read_done_func_t(zio_t *zio, const zbookmark_phys_t *zb, 90 typedef void arc_write_done_func_t(zio_t *zio, arc_buf_t *buf, void *priv); 317 int arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, 320 zio_t *arc_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp,
|
H A D | metaslab.h | 87 blkptr_t *, int, uint64_t, blkptr_t *, int, zio_alloc_list_t *, zio_t *, 112 zio_t *, int); 113 void metaslab_class_throttle_unreserve(metaslab_class_t *, int, int, zio_t *);
|
H A D | vdev_draid.h | 98 extern void vdev_draid_map_alloc_empty(zio_t *, struct raidz_row *); 99 extern int vdev_draid_map_verify_empty(zio_t *, struct raidz_row *);
|
H A D | zio_checksum.h | 140 extern void zio_checksum_compute(zio_t *, enum zio_checksum, 144 extern int zio_checksum_error(zio_t *zio, zio_bad_cksum_t *out);
|
H A D | spa_impl.h | 398 zio_t **spa_async_zio_root; 399 zio_t *spa_suspend_zio_root; /* root of all suspended I/O */ 400 zio_t *spa_txg_zio[TXG_SIZE]; /* spa_sync() waits for this */ 493 task_func_t *func, zio_t *zio, boolean_t cutinline);
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zio.c | 173 static inline void __zio_execute(zio_t *zio); 175 static void zio_taskq_dispatch(zio_t *, zio_taskq_type_t, boolean_t); 201 sizeof (zio_t), 0, NULL, NULL, NULL, NULL, NULL, 0); in zio_init() 501 zio_push_transform(zio_t *zio, abd_t *data, uint64_t size, uint64_t bufsize, in zio_push_transform() 519 zio_pop_transforms(zio_t *zio) in zio_pop_transforms() 545 zio_subblock(zio_t *zio, abd_t *data, uint64_t size) in zio_subblock() 554 zio_decompress(zio_t *zio, abd_t *data, uint64_t size) in zio_decompress() 570 zio_decrypt(zio_t *zio, abd_t *data, uint64_t size) in zio_decrypt() 708 zio_t * 709 zio_walk_parents(zio_t *cio, zio_link_t **zl) in zio_walk_parents() [all …]
|
H A D | vdev_queue.c | 234 const zio_t *z1 = (const zio_t *)x1; in vdev_queue_offset_compare() 235 const zio_t *z2 = (const zio_t *)x2; in vdev_queue_offset_compare() 250 const zio_t *z1 = (const zio_t *)x1; in vdev_queue_to_compare() 251 const zio_t *z2 = (const zio_t *)x2; in vdev_queue_to_compare() 272 vdev_queue_class_add(vdev_queue_t *vq, zio_t *zio) in vdev_queue_class_add() 285 vdev_queue_class_remove(vdev_queue_t *vq, zio_t *zio) in vdev_queue_class_remove() 486 sizeof (zio_t), in vdev_queue_init() 490 vdev_queue_to_compare, sizeof (zio_t), in vdev_queue_init() 495 vdev_queue_offset_compare, sizeof (zio_t), in vdev_queue_init() 498 vdev_queue_offset_compare, sizeof (zio_t), in vdev_queue_init() [all …]
|
H A D | vdev_file.c | 210 zio_t *zio = (zio_t *)arg; in vdev_file_io_strategy() 243 zio_t *zio = (zio_t *)arg; in vdev_file_io_fsync() 254 zio_t *zio = (zio_t *)arg; in vdev_file_io_deallocate() 264 vdev_file_io_start(zio_t *zio) in vdev_file_io_start() 305 vdev_file_io_done(zio_t *zio) in vdev_file_io_done()
|
H A D | dmu_direct.c | 76 dmu_read_abd_done(zio_t *zio) in dmu_read_abd_done() 82 dmu_write_direct_ready(zio_t *zio) in dmu_write_direct_ready() 88 dmu_write_direct_done(zio_t *zio) in dmu_write_direct_done() 131 dmu_write_direct(zio_t *pio, dmu_buf_impl_t *db, abd_t *data, dmu_tx_t *tx) in dmu_write_direct() 195 zio_t *zio = zio_write(pio, os->os_spa, txg, bp, data, in dmu_write_direct() 223 zio_t *pio = zio_root(spa, NULL, NULL, ZIO_FLAG_CANFAIL); in dmu_write_abd() 263 zio_t *rio = zio_root(spa, NULL, NULL, ZIO_FLAG_CANFAIL); in dmu_read_abd() 332 zio_t *cio = zio_read(rio, spa, bp, mbuf, db->db.db_size, in dmu_read_abd()
|
H A D | vdev_label.c | 188 vdev_label_read(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset, in vdev_label_read() 203 vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset, in vdev_label_write() 795 zio_t *zio[VDEV_LABELS]; in vdev_label_read_config() 1074 zio_t *zio; in vdev_label_init() 1283 vdev_label_read_bootenv_done(zio_t *zio) in vdev_label_read_bootenv_done() 1285 zio_t *rio = zio->io_private; in vdev_label_read_bootenv_done() 1305 vdev_label_read_bootenv_impl(zio_t *zio, vdev_t *vd, int flags) in vdev_label_read_bootenv_impl() 1338 zio_t *zio = zio_root(spa, NULL, &abd, flags); in vdev_label_read_bootenv() 1395 zio_t *zio; in vdev_label_write_bootenv() 1542 vdev_uberblock_load_done(zio_t *zio) in vdev_uberblock_load_done() [all …]
|
H A D | zio_inject.c | 239 zio_match_dva(zio_t *zio) in zio_match_dva() 269 zio_handle_fault_injection(zio_t *zio, int error) in zio_handle_fault_injection() 321 zio_handle_label_injection(zio_t *zio, int error) in zio_handle_label_injection() 367 zio_t *zio = private; in zio_handle_device_injection_impl() 381 zio_match_iotype(zio_t *zio, uint32_t iotype) in zio_handle_device_injection_impl() 405 zio_handle_device_injection_impl(vdev_t *vd, zio_t *zio, int err1, int err2) in zio_handle_device_injection_impl() 505 zio_handle_device_injection(vdev_t *vd, zio_t *zio, int error) in spa_handle_ignored_writes() 511 zio_handle_device_injections(vdev_t *vd, zio_t *zio, int err1, int err2) in spa_handle_ignored_writes() 521 zio_handle_ignored_writes(zio_t *zio) in spa_handle_ignored_writes() 598 zio_handle_io_delay(zio_t *zi in zio_handle_io_delay() [all...] |
H A D | vdev_indirect.c | 292 vdev_indirect_map_free(zio_t *zio) in vdev_indirect_map_free() 1180 vdev_indirect_child_io_done(zio_t *zio) in vdev_indirect_child_io_done() 1182 zio_t *pio = zio->io_private; in vdev_indirect_child_io_done() 1199 zio_t *zio = arg; in vdev_indirect_gather_splits() 1241 vdev_indirect_read_split_done(zio_t *zio) in vdev_indirect_read_split_done() 1259 vdev_indirect_read_all(zio_t *zio) in vdev_indirect_read_all() 1297 vdev_indirect_io_start(zio_t *zio) in vdev_indirect_io_start() 1390 vdev_indirect_checksum_error(zio_t *zio, in vdev_indirect_checksum_error() 1424 vdev_indirect_repair(zio_t *zio) in vdev_indirect_repair() 1466 vdev_indirect_all_checksum_errors(zio_t *zio) in vdev_indirect_all_checksum_errors() [all …]
|
H A D | vdev_missing.c | 70 vdev_missing_io_start(zio_t *zio) in vdev_missing_io_start() 77 vdev_missing_io_done(zio_t *zio) in vdev_missing_io_done()
|
H A D | vdev_raidz.c | 419 vdev_raidz_map_free_vsd(zio_t *zio) in vdev_raidz_map_free_vsd() 440 vdev_raidz_row_alloc(int cols, zio_t *zio) in vdev_raidz_row_alloc() 468 vdev_raidz_map_alloc_write(zio_t *zio, raidz_map_t *rm, uint64_t ashift) in vdev_raidz_map_alloc_write() 555 vdev_raidz_map_alloc_read(zio_t *zio, raidz_map_t *rm) in vdev_raidz_map_alloc_read() 583 vdev_raidz_map_alloc(zio_t *zio, uint64_t ashift, uint64_t dcols, in vdev_raidz_map_alloc() 734 vdev_raidz_map_alloc_expanded(zio_t *zio, in vdev_raidz_map_alloc_expanded() 2285 vdev_raidz_child_done(zio_t *zio) in vdev_raidz_child_done() 2296 vdev_raidz_shadow_child_done(zio_t *zio) in vdev_raidz_shadow_child_done() 2304 vdev_raidz_io_verify(zio_t *zio, raidz_map_t *rm, raidz_row_t *rr, int col) in vdev_raidz_io_verify() 2345 vdev_raidz_io_start_write(zio_t *zio, raidz_row_t *rr) in vdev_raidz_io_start_write() [all …]
|
H A D | vdev_mirror.c | 170 vdev_mirror_map_free(zio_t *zio) in vdev_mirror_map_free() 265 vdev_mirror_map_init(zio_t *zio) in vdev_mirror_map_init() 441 vdev_mirror_child_done(zio_t *zio) in vdev_mirror_child_done() 458 vdev_mirror_dva_select(zio_t *zio, int p) in vdev_mirror_dva_select() 475 vdev_mirror_preferred_child_randomize(zio_t *zio) in vdev_mirror_preferred_child_randomize() 528 vdev_mirror_child_select(zio_t *zio) in vdev_mirror_child_select() 604 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()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | vdev_label_os.c | 42 zio_t *zio; in vdev_label_write_pad2() 77 vdev_child_done(zio_t *zio) in vdev_child_done() 79 zio_t *pio = zio->io_private; in vdev_child_done() 102 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 | 42 TP_PROTO(zio_t *zio, hrtime_t now), 57 TP_PROTO(zio_t *zio, hrtime_t now, hrtime_t diff), 74 TP_PROTO(zio_t *zio),
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | vdev_disk.c | 226 vdev_disk_error(zio_t *zio) in vdev_disk_error() 654 zio_t *vbio_zio; /* parent zio */ 672 vbio_alloc(zio_t *zio, struct block_device *bdev, int flags) in vbio_alloc() 789 zio_t *zio = vbio->vbio_zio; in vbio_completion() 903 vdev_disk_io_rw(zio_t *zio) in vdev_disk_io_rw() 984 zio_t *dr_zio; /* Parent ZIO */ 1035 zio_t *zio = dr->dr_zio; in vdev_classic_dio_put() 1065 vdev_classic_bio_max_segs(zio_t *zio, int bio_size, uint64_t abd_offset) in vdev_classic_bio_max_segs() 1078 vdev_classic_physio(zio_t *zio) in vdev_classic_physio() 1199 zio_t *zio = bio->bi_private; in vdev_disk_io_flush_completion() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/raidz_test/ |
H A D | raidz_test.c | 286 init_zio_abd(zio_t *zio) in init_zio_abd() 292 fini_raidz_map(zio_t **zio, raidz_map_t **rm) in fini_raidz_map() 296 umem_free(*zio, sizeof (zio_t)); in fini_raidz_map() 306 zio_t *zio_test; in init_raidz_golden_map() 314 opts->zio_golden = umem_zalloc(sizeof (zio_t), UMEM_NOFAIL); in init_raidz_golden_map() 315 zio_test = umem_zalloc(sizeof (zio_t), UMEM_NOFAIL); in init_raidz_golden_map() 363 init_raidz_map(raidz_test_opts_t *opts, zio_t **zio, const int parity) in init_raidz_map() 373 *zio = umem_zalloc(sizeof (zio_t), UMEM_NOFAIL); in init_raidz_map() 401 zio_t *zio_test; in run_gen_check() 577 zio_t *zio_test; in run_rec_check()
|
H A D | raidz_test.h | 68 zio_t *zio_golden; 118 void init_zio_abd(zio_t *zio);
|