Home
last modified time | relevance | path

Searched refs:zio_t (Results 1 – 25 of 74) sorted by relevance

123

/freebsd/sys/contrib/openzfs/include/sys/
H A Dzio.h289 typedef void zio_done_func_t(zio_t *zio);
422 typedef zio_t *zio_gang_issue_func_t(zio_t *zio, blkptr_t *bp,
425 typedef void zio_transform_func_t(zio_t *zio, struct abd *data, uint64_t size);
435 typedef zio_t *zio_pipe_stage_t(zio_t *zio);
463 zio_t *zl_parent;
464 zio_t *zl_child;
492 zio_t *io_logical;
544 zio_t *io_gang_leader;
576 extern zio_t *zio_null(zio_t *pio, spa_t *spa, vdev_t *vd,
579 extern zio_t *zio_root(spa_t *spa,
[all …]
H A Dvdev.h69 extern zio_t *vdev_probe(vdev_t *vd, zio_t *pio);
125 extern void vdev_stat_update(zio_t *zio, uint64_t psize);
180 extern boolean_t vdev_accessible(vdev_t *vd, zio_t *zio);
185 extern zio_t *vdev_queue_io(zio_t *zio);
186 extern void vdev_queue_io_done(zio_t *zio);
187 extern void vdev_queue_change_io_priority(zio_t *zio, zio_priority_t priority);
226 extern void vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t
H A Dvdev_raidz.h58 void vdev_raidz_child_done(zio_t *);
59 void vdev_raidz_io_done(zio_t *);
60 void vdev_raidz_checksum_error(zio_t *, struct raidz_col *, abd_t *);
61 struct raidz_row *vdev_raidz_row_alloc(int, zio_t *);
H A Ddmu_impl.h264 void dmu_sync_done(zio_t *, arc_buf_t *buf, void *varg);
265 void dmu_sync_ready(zio_t *, arc_buf_t *buf, void *varg);
270 int dmu_write_direct(zio_t *, dmu_buf_impl_t *, abd_t *, dmu_tx_t *);
H A Dzil_impl.h121 zio_t *lwb_child_zio; /* parent zio for children */
122 zio_t *lwb_write_zio; /* zio for the lwb buffer */
123 zio_t *lwb_root_zio; /* root zio for lwb write and flushes */
H A Darc.h89 typedef void arc_read_done_func_t(zio_t *zio, const zbookmark_phys_t *zb,
91 typedef void arc_write_done_func_t(zio_t *zio, arc_buf_t *buf, void *priv);
318 int arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp,
321 zio_t *arc_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp,
H A Dvdev_draid.h99 extern void vdev_draid_map_alloc_empty(zio_t *, struct raidz_row *);
100 extern int vdev_draid_map_verify_empty(zio_t *, struct raidz_row *);
H A Dzio_checksum.h141 extern void zio_checksum_compute(zio_t *, enum zio_checksum,
145 extern int zio_checksum_error(zio_t *zio, zio_bad_cksum_t *out);
H A Dspa_impl.h397 zio_t **spa_async_zio_root;
398 zio_t *spa_suspend_zio_root; /* root of all suspended I/O */
399 zio_t *spa_txg_zio[TXG_SIZE]; /* spa_sync() waits for this */
492 task_func_t *func, zio_t *zio, boolean_t cutinline);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzio.c174 static inline void __zio_execute(zio_t *zio);
176 static void zio_taskq_dispatch(zio_t *, zio_taskq_type_t, boolean_t);
202 sizeof (zio_t), 0, NULL, NULL, NULL, NULL, NULL, 0); in zio_init()
502 zio_push_transform(zio_t *zio, abd_t *data, uint64_t size, uint64_t bufsize, in zio_push_transform()
520 zio_pop_transforms(zio_t *zio) in zio_pop_transforms()
546 zio_subblock(zio_t *zio, abd_t *data, uint64_t size) in zio_subblock()
555 zio_decompress(zio_t *zio, abd_t *data, uint64_t size) in zio_decompress()
571 zio_decrypt(zio_t *zio, abd_t *data, uint64_t size) in zio_decrypt()
709 zio_t *
710 zio_walk_parents(zio_t *cio, zio_link_t **zl) in zio_walk_parents()
[all …]
H A Dvdev_queue.c210 const zio_t *z1 = (const zio_t *)x1; in vdev_queue_offset_compare()
211 const zio_t *z2 = (const zio_t *)x2; in vdev_queue_offset_compare()
226 const zio_t *z1 = (const zio_t *)x1; in vdev_queue_to_compare()
227 const zio_t *z2 = (const zio_t *)x2; in vdev_queue_to_compare()
248 vdev_queue_class_add(vdev_queue_t *vq, zio_t *zio) in vdev_queue_class_add()
261 vdev_queue_class_remove(vdev_queue_t *vq, zio_t *zio) in vdev_queue_class_remove()
462 sizeof (zio_t), in vdev_queue_init()
466 vdev_queue_to_compare, sizeof (zio_t), in vdev_queue_init()
471 vdev_queue_offset_compare, sizeof (zio_t), in vdev_queue_init()
474 vdev_queue_offset_compare, sizeof (zio_t), in vdev_queue_init()
[all …]
H A Dvdev_file.c211 zio_t *zio = (zio_t *)arg; in vdev_file_io_strategy()
244 zio_t *zio = (zio_t *)arg; in vdev_file_io_fsync()
255 zio_t *zio = (zio_t *)arg; in vdev_file_io_deallocate()
265 vdev_file_io_start(zio_t *zio) in vdev_file_io_start()
306 vdev_file_io_done(zio_t *zio) in vdev_file_io_done()
H A Ddmu_direct.c77 dmu_read_abd_done(zio_t *zio) in dmu_read_abd_done()
83 dmu_write_direct_ready(zio_t *zio) in dmu_write_direct_ready()
89 dmu_write_direct_done(zio_t *zio) in dmu_write_direct_done()
132 dmu_write_direct(zio_t *pio, dmu_buf_impl_t *db, abd_t *data, dmu_tx_t *tx) in dmu_write_direct()
196 zio_t *zio = zio_write(pio, os->os_spa, txg, bp, data, in dmu_write_direct()
224 zio_t *pio = zio_root(spa, NULL, NULL, ZIO_FLAG_CANFAIL); in dmu_write_abd()
264 zio_t *rio = zio_root(spa, NULL, NULL, ZIO_FLAG_CANFAIL); in dmu_read_abd()
333 zio_t *cio = zio_read(rio, spa, bp, mbuf, db->db.db_size, in dmu_read_abd()
H A Dvdev_label.c189 vdev_label_read(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset, in vdev_label_read()
204 vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset, in vdev_label_write()
796 zio_t *zio[VDEV_LABELS]; in vdev_label_read_config()
1075 zio_t *zio; in vdev_label_init()
1284 vdev_label_read_bootenv_done(zio_t *zio) in vdev_label_read_bootenv_done()
1286 zio_t *rio = zio->io_private; in vdev_label_read_bootenv_done()
1306 vdev_label_read_bootenv_impl(zio_t *zio, vdev_t *vd, int flags) in vdev_label_read_bootenv_impl()
1339 zio_t *zio = zio_root(spa, NULL, &abd, flags); in vdev_label_read_bootenv()
1396 zio_t *zio; in vdev_label_write_bootenv()
1543 vdev_uberblock_load_done(zio_t *zio) in vdev_uberblock_load_done()
[all …]
H A Dzio_inject.c240 zio_match_dva(zio_t *zio) in zio_match_dva()
270 zio_handle_fault_injection(zio_t *zio, int error) in zio_handle_fault_injection()
322 zio_handle_label_injection(zio_t *zio, int error) in zio_handle_label_injection()
368 zio_t *zio = private; in zio_inject_bitflip_cb()
382 zio_match_iotype(zio_t *zio, uint32_t iotype) in zio_match_iotype()
406 zio_handle_device_injection_impl(vdev_t *vd, zio_t *zio, int err1, int err2) in zio_handle_device_injection_impl()
506 zio_handle_device_injection(vdev_t *vd, zio_t *zio, int error) in zio_handle_device_injection()
512 zio_handle_device_injections(vdev_t *vd, zio_t *zio, int err1, int err2) in zio_handle_device_injections()
522 zio_handle_ignored_writes(zio_t *zio) in zio_handle_ignored_writes()
599 zio_handle_io_delay(zio_t *zio) in zio_handle_io_delay()
H A Dvdev_indirect.c293 vdev_indirect_map_free(zio_t *zio) in vdev_indirect_map_free()
1181 vdev_indirect_child_io_done(zio_t *zio) in vdev_indirect_child_io_done()
1183 zio_t *pio = zio->io_private; in vdev_indirect_child_io_done()
1200 zio_t *zio = arg; in vdev_indirect_gather_splits()
1242 vdev_indirect_read_split_done(zio_t *zio) in vdev_indirect_read_split_done()
1260 vdev_indirect_read_all(zio_t *zio) in vdev_indirect_read_all()
1298 vdev_indirect_io_start(zio_t *zio) in vdev_indirect_io_start()
1391 vdev_indirect_checksum_error(zio_t *zio, in vdev_indirect_checksum_error()
1425 vdev_indirect_repair(zio_t *zio) in vdev_indirect_repair()
1467 vdev_indirect_all_checksum_errors(zio_t *zio) in vdev_indirect_all_checksum_errors()
[all …]
H A Dvdev_missing.c71 vdev_missing_io_start(zio_t *zio) in vdev_missing_io_start()
78 vdev_missing_io_done(zio_t *zio) in vdev_missing_io_done()
H A Dvdev_raidz.c420 vdev_raidz_map_free_vsd(zio_t *zio) in vdev_raidz_map_free_vsd()
441 vdev_raidz_row_alloc(int cols, zio_t *zio) in vdev_raidz_row_alloc()
469 vdev_raidz_map_alloc_write(zio_t *zio, raidz_map_t *rm, uint64_t ashift) in vdev_raidz_map_alloc_write()
556 vdev_raidz_map_alloc_read(zio_t *zio, raidz_map_t *rm) in vdev_raidz_map_alloc_read()
584 vdev_raidz_map_alloc(zio_t *zio, uint64_t ashift, uint64_t dcols, in vdev_raidz_map_alloc()
735 vdev_raidz_map_alloc_expanded(zio_t *zio, in vdev_raidz_map_alloc_expanded()
2315 vdev_raidz_child_done(zio_t *zio) in vdev_raidz_child_done()
2326 vdev_raidz_shadow_child_done(zio_t *zio) in vdev_raidz_shadow_child_done()
2334 vdev_raidz_io_verify(zio_t *zio, raidz_map_t *rm, raidz_row_t *rr, int col) in vdev_raidz_io_verify()
2375 vdev_raidz_io_start_write(zio_t *zio, raidz_row_t *rr) in vdev_raidz_io_start_write()
[all …]
H A Dvdev_mirror.c171 vdev_mirror_map_free(zio_t *zio) in vdev_mirror_map_free()
266 vdev_mirror_map_init(zio_t *zio) in vdev_mirror_map_init()
442 vdev_mirror_child_done(zio_t *zio) in vdev_mirror_child_done()
459 vdev_mirror_dva_select(zio_t *zio, int p) in vdev_mirror_dva_select()
476 vdev_mirror_preferred_child_randomize(zio_t *zio) in vdev_mirror_preferred_child_randomize()
529 vdev_mirror_child_select(zio_t *zio) in vdev_mirror_child_select()
605 vdev_mirror_io_start(zio_t *zio) in vdev_mirror_io_start()
712 vdev_mirror_io_done(zio_t *zio) in vdev_mirror_io_done()
H A Dvdev_draid.c652 vdev_draid_map_alloc_write(zio_t *zio, uint64_t abd_offset, raidz_row_t *rr) in vdev_draid_map_alloc_write()
699 vdev_draid_map_alloc_scrub(zio_t *zio, uint64_t abd_offset, raidz_row_t *rr) in vdev_draid_map_alloc_scrub()
764 vdev_draid_map_alloc_read(zio_t *zio, uint64_t abd_offset, raidz_row_t *rr) in vdev_draid_map_alloc_read()
789 vdev_draid_map_alloc_empty(zio_t *zio, raidz_row_t *rr) in vdev_draid_map_alloc_empty()
856 vdev_draid_map_verify_empty(zio_t *zio, raidz_row_t *rr) in vdev_draid_map_verify_empty()
959 vdev_draid_map_alloc_row(zio_t *zio, raidz_row_t **rrp, uint64_t io_offset, in vdev_draid_map_alloc_row()
1107 vdev_draid_map_alloc(zio_t *zio) in vdev_draid_map_alloc()
1852 vdev_draid_io_start_write(zio_t *zio, raidz_row_t *rr) in vdev_draid_io_start_write()
1887 vdev_draid_io_start_read(zio_t *zio, raidz_row_t *rr) in vdev_draid_io_start_read()
2033 vdev_draid_io_start(zio_t *zio) in vdev_draid_io_start()
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_label_os.c43 zio_t *zio; in vdev_label_write_pad2()
78 vdev_child_done(zio_t *zio) in vdev_child_done()
80 zio_t *pio = zio->io_private; in vdev_child_done()
103 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 Dtrace_zio.h43 TP_PROTO(zio_t *zio, hrtime_t now),
58 TP_PROTO(zio_t *zio, hrtime_t now, hrtime_t diff),
75 TP_PROTO(zio_t *zio),
/freebsd/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c287 init_zio_abd(zio_t *zio) in init_zio_abd()
293 fini_raidz_map(zio_t **zio, raidz_map_t **rm) in fini_raidz_map()
297 umem_free(*zio, sizeof (zio_t)); in fini_raidz_map()
307 zio_t *zio_test; in init_raidz_golden_map()
315 opts->zio_golden = umem_zalloc(sizeof (zio_t), UMEM_NOFAIL); in init_raidz_golden_map()
316 zio_test = umem_zalloc(sizeof (zio_t), UMEM_NOFAIL); in init_raidz_golden_map()
364 init_raidz_map(raidz_test_opts_t *opts, zio_t **zio, const int parity) in init_raidz_map()
374 *zio = umem_zalloc(sizeof (zio_t), UMEM_NOFAIL); in init_raidz_map()
402 zio_t *zio_test; in run_gen_check()
578 zio_t *zio_test; in run_rec_check()
H A Draidz_test.h69 zio_t *zio_golden;
119 void init_zio_abd(zio_t *zio);
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c227 vdev_disk_error(zio_t *zio) in vdev_disk_error()
655 zio_t *vbio_zio; /* parent zio */
673 vbio_alloc(zio_t *zio, struct block_device *bdev, int flags) in vbio_alloc()
790 zio_t *zio = vbio->vbio_zio; in vbio_completion()
904 vdev_disk_io_rw(zio_t *zio) in vdev_disk_io_rw()
972 zio_t *zio = bio->bi_private; in vdev_disk_io_flush_completion()
985 vdev_disk_io_flush(struct block_device *bdev, zio_t *zio) in vdev_disk_io_flush()
1010 zio_t *zio = bio->bi_private; in vdev_disk_discard_end_io()
1078 vdev_disk_io_trim(zio_t *zio) in vdev_disk_io_trim()
1115 vdev_disk_io_start(zio_t *zio) in vdev_disk_io_start()
[all …]

123