| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | vdev.h | 56 extern int vdev_open(vdev_t *); 57 extern void vdev_open_children(vdev_t *); 59 extern int vdev_validate(vdev_t *); 60 extern int vdev_copy_path_strict(vdev_t *, vdev_t *); 61 extern void vdev_copy_path_relaxed(vdev_t *, vdev_t *); 62 extern void vdev_close(vdev_t *); 64 extern void vdev_reopen(vdev_t *); 70 extern vdev_t *vdev_lookup_by_guid(vdev_t *vd, uint64_t guid); 97 extern void vdev_hold(vdev_t *); 98 extern void vdev_rele(vdev_t *); [all …]
|
| H A D | vdev_impl.h | 72 typedef void vdev_fini_func_t(vdev_t *vd); 75 typedef void vdev_close_func_t(vdev_t *vd); 84 typedef void vdev_hold_func_t(vdev_t *vd); 85 typedef void vdev_rele_func_t(vdev_t *vd); 161 vdev_t *vq_vdev; 568 extern void vdev_free(vdev_t *vd); 573 extern void vdev_add_child(vdev_t *pvd, vdev_t *cvd); 574 extern void vdev_remove_child(vdev_t *pvd, vdev_t *cvd); 576 extern vdev_t *vdev_add_parent(vdev_t *cvd, vdev_ops_t *ops); 583 extern int vdev_load(vdev_t *vd); [all …]
|
| H A D | vdev_draid.h | 95 extern boolean_t vdev_draid_readable(vdev_t *, uint64_t); 96 extern boolean_t vdev_draid_missing(vdev_t *, uint64_t, uint64_t, uint64_t); 97 extern uint64_t vdev_draid_asize_to_psize(vdev_t *, uint64_t); 99 extern nvlist_t *vdev_draid_read_config_spare(vdev_t *); 102 extern vdev_t *vdev_draid_spare_get_child(vdev_t *, uint64_t); 103 extern vdev_t *vdev_draid_spare_get_parent(vdev_t *); 104 extern int vdev_draid_spare_create(nvlist_t *, vdev_t *, uint64_t *, uint64_t);
|
| H A D | vdev_trim.h | 37 extern void vdev_trim(vdev_t *vd, uint64_t rate, boolean_t partial, 39 extern void vdev_trim_stop(vdev_t *vd, vdev_trim_state_t tgt, list_t *vd_list); 40 extern void vdev_trim_stop_all(vdev_t *vd, vdev_trim_state_t tgt_state); 42 extern void vdev_trim_restart(vdev_t *vd); 45 extern void vdev_autotrim_stop_wait(vdev_t *vd); 47 extern int vdev_trim_simple(vdev_t *vd, uint64_t start, uint64_t size);
|
| H A D | vdev_rebuild.h | 66 vdev_t *vr_top_vdev; /* top-level vdev to rebuild */ 87 boolean_t vdev_rebuild_active(vdev_t *); 89 int vdev_rebuild_load(vdev_t *); 90 void vdev_rebuild(vdev_t *); 91 void vdev_rebuild_stop_wait(vdev_t *); 95 int vdev_rebuild_get_stats(vdev_t *, vdev_rebuild_stat_t *);
|
| H A D | vdev_initialize.h | 35 extern void vdev_initialize(vdev_t *vd); 36 extern void vdev_initialize_stop(vdev_t *vd, 38 extern void vdev_initialize_stop_all(vdev_t *vd, 41 extern void vdev_initialize_restart(vdev_t *vd);
|
| H A D | metaslab.h | 89 void metaslab_free_concrete(vdev_t *, uint64_t, uint64_t, boolean_t); 91 void metaslab_free_impl_cb(uint64_t, vdev_t *, uint64_t, uint64_t, void *); 94 int metaslab_claim_impl(vdev_t *, uint64_t, uint64_t, uint64_t); 119 void metaslab_space_update(vdev_t *, metaslab_class_t *, 122 metaslab_group_t *metaslab_group_create(metaslab_class_t *, vdev_t *, int); 141 range_seg_type_t metaslab_calculate_range_tree_type(vdev_t *vdev,
|
| H A D | zio.h | 484 vdev_t *io_vd; 541 extern zio_t *zio_null(zio_t *pio, spa_t *spa, vdev_t *vd, 571 extern zio_t *zio_ioctl(zio_t *pio, spa_t *spa, vdev_t *vd, int cmd, 578 extern zio_t *zio_read_phys(zio_t *pio, vdev_t *vd, uint64_t offset, 583 extern zio_t *zio_write_phys(zio_t *pio, vdev_t *vd, uint64_t offset, 593 extern void zio_flush(zio_t *zio, vdev_t *vd); 620 extern zio_t *zio_vdev_child_io(zio_t *zio, blkptr_t *bp, vdev_t *vd, 625 extern zio_t *zio_vdev_delegated_io(vdev_t *vd, uint64_t offset, 675 extern int zio_handle_device_injections(vdev_t *vd, zio_t *zio, int err1, 684 extern int zfs_ereport_start_checksum(spa_t *spa, vdev_t *vd, [all …]
|
| H A D | spa.h | 58 typedef struct vdev vdev_t; typedef 822 extern void spa_spare_add(vdev_t *vd); 823 extern void spa_spare_remove(vdev_t *vd); 825 extern void spa_spare_activate(vdev_t *vd); 828 extern void spa_l2cache_add(vdev_t *vd); 829 extern void spa_l2cache_remove(vdev_t *vd); 831 extern void spa_l2cache_activate(vdev_t *vd); 863 vdev_t *parent, uint_t id, int atype); 1090 extern vdev_t *spa_lookup_by_guid(spa_t *spa, uint64_t guid, 1154 extern void zfs_post_remove(spa_t *spa, vdev_t *vd); [all …]
|
| H A D | dsl_scan.h | 171 void dsl_scan_assess_vdev(struct dsl_pool *dp, vdev_t *vd); 188 void dsl_scan_io_queue_vdev_xfer(vdev_t *svd, vdev_t *tvd);
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | vdev.c | 357 vdev_t * 372 vdev_t * 415 vdev_add_child(vdev_t *pvd, vdev_t *cvd) in vdev_add_child() 460 vdev_remove_child(vdev_t *pvd, vdev_t *cvd) in vdev_remove_child() 539 vdev_t * 1079 vdev_top_transfer(vdev_t *svd, vdev_t *tvd) in vdev_top_transfer() 1183 vdev_top_update(vdev_t *tvd, vdev_t *vd) in vdev_top_update() 1198 vdev_t * 2236 vdev_copy_path_impl(vdev_t *svd, vdev_t *dvd) in vdev_copy_path_impl() 2259 vdev_copy_path_strict(vdev_t *svd, vdev_t *dvd) in vdev_copy_path_strict() [all …]
|
| H A D | vdev_root.c | 41 vdev_root_core_tvds(vdev_t *vd) in vdev_root_core_tvds() 46 vdev_t *cvd = vd->vdev_child[c]; in vdev_root_core_tvds() 67 too_many_errors(vdev_t *vd, uint64_t numerrors) in too_many_errors() 84 vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, in vdev_root_open() 99 vdev_t *cvd = vd->vdev_child[c]; in vdev_root_open() 125 vdev_root_close(vdev_t *vd) in vdev_root_close() 132 vdev_root_state_change(vdev_t *vd, int faulted, int degraded) in vdev_root_state_change()
|
| H A D | vdev_draid.c | 1144 vdev_t *vd = zio->io_vd; in vdev_draid_map_alloc_row() 1314 vdev_t *vd = zio->io_vd; in vdev_draid_map_alloc() 1545 static vdev_t * 1789 vdev_draid_close(vdev_t *vd) in vdev_draid_close() 2046 vdev_t *vd = zio->io_vd; in vdev_draid_io_start_write() 2081 vdev_t *vd = zio->io_vd; in vdev_draid_io_start_read() 2128 vdev_t *svd; in vdev_draid_io_start_read() 2441 vdev_draid_fini(vdev_t *vd) in vdev_draid_fini() 2514 vdev_t * 2552 vdev_t * [all …]
|
| H A D | vdev_initialize.c | 52 vdev_initialize_should_stop(vdev_t *vd) in vdev_initialize_should_stop() 165 vdev_t *vd = zio->io_vd; in vdev_initialize_cb() 336 vdev_t *vd = (vdev_t *)arg; in vdev_initialize_xlate_progress() 423 vdev_initialize_load(vdev_t *vd) in vdev_initialize_load() 449 vdev_t *vd = arg; in vdev_initialize_xlate_range_add() 481 vdev_t *vd = arg; in vdev_initialize_range_add() 493 vdev_t *vd = arg; in vdev_initialize_thread() 591 vdev_initialize(vdev_t *vd) in vdev_initialize() 627 vdev_t *vd; in vdev_initialize_stop_wait() 705 list_create(&vd_list, sizeof (vdev_t), in vdev_initialize_stop_all() [all …]
|
| H A D | vdev_trim.c | 367 vdev_t *vd = zio->io_vd; in vdev_trim_cb() 409 vdev_t *vd = zio->io_vd; in vdev_autotrim_cb() 439 vdev_t *vd = zio->io_vd; in vdev_trim_simple_cb() 476 vdev_t *vd = ta->trim_vdev; in vdev_trim_range() 621 vdev_t *vd = (vdev_t *)arg; in vdev_trim_xlate_progress() 714 vdev_trim_load(vdev_t *vd) in vdev_trim_load() 840 vdev_t *vd = arg; in vdev_trim_thread() 1006 vdev_t *vd; in vdev_trim_stop_wait() 1081 vdev_t *vd_l2cache; in vdev_trim_stop_all() 1180 vdev_t *vd = arg; in vdev_autotrim_thread() [all …]
|
| H A D | vdev_rebuild.c | 142 clear_rebuild_bytes(vdev_t *vd) in clear_rebuild_bytes() 158 vdev_rebuild_should_stop(vdev_t *vd) in vdev_rebuild_should_stop() 277 vdev_rebuild_initiate(vdev_t *vd) in vdev_rebuild_initiate() 469 vdev_t *vd = vr->vr_top_vdev; in vdev_rebuild_cb() 539 vdev_t *vd = vr->vr_top_vdev; in vdev_rebuild_range() 616 vdev_t *vd = vr->vr_top_vdev; in vdev_rebuild_ranges() 690 vdev_rebuild_load(vdev_t *vd) in vdev_rebuild_load() 739 vdev_t *vd = arg; in vdev_rebuild_thread() 955 vdev_rebuild_active(vdev_t *vd) in vdev_rebuild_active() 983 vdev_rebuild(vdev_t *vd) in vdev_rebuild() [all …]
|
| H A D | spa_checkpoint.c | 201 vdev_t *sdc_vd; 210 vdev_t *vd = sdc->sdc_vd; in spa_checkpoint_discard_sync_callback() 258 vdev_t *rvd = spa->spa_root_vdev; in spa_checkpoint_accounting_verify() 263 vdev_t *vd = rvd->vdev_child[c]; in spa_checkpoint_accounting_verify() 283 vdev_t *vd = arg; in spa_checkpoint_discard_thread_sync() 368 vdev_t *rvd = spa->spa_root_vdev; in spa_checkpoint_discard_is_done() 401 vdev_t *rvd = spa->spa_root_vdev; in spa_checkpoint_discard_thread() 404 vdev_t *vd = rvd->vdev_child[c]; in spa_checkpoint_discard_thread()
|
| H A D | vdev_indirect.c | 234 vdev_t *ic_vdev; 260 vdev_t *is_vdev; /* top-level vdev */ 352 vdev_t *vd = vdev_lookup_top(spa, vdev_id); in spa_vdev_indirect_mark_obsolete() 393 vdev_indirect_should_condense(vdev_t *vd) in vdev_indirect_should_condense() 654 vdev_t *vd; in spa_condense_indirect_thread() 946 vdev_indirect_close(vdev_t *vd) in vdev_indirect_close() 963 vdev_t *rs_vd; 1071 vdev_t *v = rs->rs_vd; in vdev_indirect_remap() 1135 vdev_t *dst_v = vdev_lookup_top(spa, dst_vdev); in vdev_indirect_remap() 1393 vdev_t *vd = ic->ic_vdev; in vdev_indirect_checksum_error() [all …]
|
| H A D | vdev_removal.c | 196 spa_vdev_removal_create(vdev_t *vd) in spa_vdev_removal_create() 405 vdev_t *vd = vdev_lookup_top(spa, in spa_remove_init() 686 vdev_t *pvd; in spa_finish_removal() 710 vdev_t *vd = arg; in free_mapped_segment_cb() 905 vdev_t *source_child_vd = NULL; in spa_vdev_copy_one_child() 1140 vdev_t *ivd; in vdev_remove_replace_with_indirect() 1832 vdev_t *rvd = spa->spa_root_vdev; in vdev_remove_make_hole_and_free() 1966 spa_vdev_remove_top_check(vdev_t *vd) in spa_vdev_remove_top_check() 2052 vdev_t *rvd = spa->spa_root_vdev; in spa_vdev_remove_top_check() 2055 vdev_t *cvd = rvd->vdev_child[id]; in spa_vdev_remove_top_check() [all …]
|
| H A D | vdev_label.c | 220 vdev_config_generate_stats(vdev_t *vd, nvlist_t *nv) in vdev_config_generate_stats() 633 vdev_t *cvd = vd->vdev_child[c]; in vdev_config_generate() 719 vdev_t *rvd = spa->spa_root_vdev; in vdev_top_config_generate() 726 vdev_t *tvd = rvd->vdev_child[c]; in vdev_top_config_generate() 753 vdev_label_read_config(vdev_t *vd, uint64_t txg) in vdev_label_read_config() 1457 vdev_t *vd = zio->io_vd; in vdev_uberblock_load_done() 1569 vdev_copy_uberblocks(vdev_t *vd) in vdev_copy_uberblocks() 1636 uberblock_t *ub, vdev_t *vd, int flags) in vdev_uberblock_sync() 1755 vdev_t *vd, int l, uint64_t txg, int flags) in vdev_label_sync() 1812 vdev_t *vd; in vdev_label_sync_list() [all …]
|
| H A D | spa.c | 1427 vdev_t *vd; in spa_config_parse() 2798 vdev_t **vd; in spa_try_repair() 3235 vdev_t *rvd; 5243 vdev_t *vd; 5459 vdev_t *vd; 5591 vdev_t *vd; 5632 vdev_t *rvd; 7854 vdev_t *vd; 9313 vdev_t * 9316 vdev_t *vd; [all …]
|
| H A D | vdev_mirror.c | 104 vdev_t *mc_vd; 181 vdev_mirror_load(mirror_map_t *mm, vdev_t *vd, uint64_t zio_offset) in vdev_mirror_load() 245 vdev_mirror_rebuilding(vdev_t *vd) in vdev_mirror_rebuilding() 268 vdev_t *vd = zio->io_vd; in vdev_mirror_map_init() 388 vdev_mirror_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, in vdev_mirror_open() 402 vdev_t *cvd = vd->vdev_child[c]; in vdev_mirror_open() 429 vdev_mirror_close(vdev_t *vd) in vdev_mirror_close() 519 vdev_t *vd = mc->mc_vd; in vdev_mirror_child_readable() 530 vdev_t *vd = mc->mc_vd; in vdev_mirror_child_missing() 851 vdev_mirror_state_change(vdev_t *vd, int faulted, int degraded) in vdev_mirror_state_change() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | vdev_file.c | 60 vdev_file_hold(vdev_t *vd) in vdev_file_hold() 66 vdev_file_rele(vdev_t *vd) in vdev_file_rele() 88 vdev_file_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, in vdev_file_open() 180 vdev_file_close(vdev_t *vd) in vdev_file_close() 212 vdev_t *vd = zio->io_vd; in vdev_file_io_strategy() 245 vdev_t *vd = zio->io_vd; in vdev_file_io_start()
|
| H A D | vdev_geom.c | 60 vdev_t *vd; 141 vdev_t *vd = elem->vd; in vdev_geom_attrchanged() 155 vdev_t *vd; in vdev_geom_resize() 203 vdev_t *vd = elem->vd; in vdev_geom_orphan() 339 vdev_geom_close_locked(vdev_t *vd) in vdev_geom_close_locked() 753 vdev_geom_open_by_guids(vdev_t *vd) in vdev_geom_open_by_guids() 983 vdev_geom_close(vdev_t *vd) in vdev_geom_close() 1008 vdev_t *vd; in vdev_geom_io_intr() 1065 vdev_t *vd; in vdev_geom_io_start() 1182 vdev_geom_hold(vdev_t *vd) in vdev_geom_hold() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | vdev_file.c | 60 vdev_file_hold(vdev_t *vd) in vdev_file_hold() 66 vdev_file_rele(vdev_t *vd) in vdev_file_rele() 88 vdev_file_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, in vdev_file_open() 180 vdev_file_close(vdev_t *vd) in vdev_file_close() 200 vdev_t *vd = zio->io_vd; in vdev_file_io_strategy() 242 vdev_t *vd = zio->io_vd; in vdev_file_io_start()
|