Searched refs:vdev_t (Results 1 - 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dvdev.h51 extern void vdev_dbgmsg(vdev_t *vd, const char *fmt, ...);
52 extern void vdev_dbgmsg_print_tree(vdev_t *, int);
53 extern int vdev_open(vdev_t *);
54 extern void vdev_open_children(vdev_t *);
55 extern boolean_t vdev_uses_zvols(vdev_t *);
56 extern int vdev_validate(vdev_t *);
57 extern int vdev_copy_path_strict(vdev_t *, vdev_t *);
58 extern void vdev_copy_path_relaxed(vdev_t *, vdev_t *);
[all...]
H A Dvdev_initialize.h35 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 Dvdev_trim.h37 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);
H A Dvdev_impl.h71 typedef int vdev_open_func_t(vdev_t *vd, uint64_t *size, uint64_t *max_size,
73 typedef void vdev_close_func_t(vdev_t *vd);
74 typedef uint64_t vdev_asize_func_t(vdev_t *vd, uint64_t psize);
77 typedef void vdev_state_change_func_t(vdev_t *vd, int, int);
78 typedef boolean_t vdev_need_resilver_func_t(vdev_t *vd, uint64_t, size_t);
79 typedef void vdev_hold_func_t(vdev_t *vd);
80 typedef void vdev_rele_func_t(vdev_t *vd);
82 typedef void vdev_remap_cb_t(uint64_t inner_offset, vdev_t *vd,
84 typedef void vdev_remap_func_t(vdev_t *vd, uint64_t offset, uint64_t size,
90 typedef void vdev_xlation_func_t(vdev_t *cv
[all...]
H A Dvdev_raidz.h41 extern int vdev_raidz_physio(vdev_t *,
H A Duberblock.h43 extern boolean_t uberblock_update(uberblock_t *ub, vdev_t *rvd, uint64_t txg,
H A Dvdev_disk.h53 extern int vdev_disk_physio(vdev_t *,
H A Dmetaslab.h88 void metaslab_free_concrete(vdev_t *, uint64_t, uint64_t, boolean_t);
90 void metaslab_free_impl_cb(uint64_t, vdev_t *, uint64_t, uint64_t, void *);
93 int metaslab_claim_impl(vdev_t *, uint64_t, uint64_t, uint64_t);
116 void metaslab_space_update(vdev_t *, metaslab_class_t *,
119 metaslab_group_t *metaslab_group_create(metaslab_class_t *, vdev_t *, int);
H A Dzio.h459 vdev_t *io_vd;
506 extern zio_t *zio_null(zio_t *pio, spa_t *spa, vdev_t *vd,
536 extern zio_t *zio_ioctl(zio_t *pio, spa_t *spa, vdev_t *vd, int cmd,
539 extern zio_t *zio_trim(zio_t *pio, vdev_t *vd, uint64_t offset, uint64_t size,
543 extern zio_t *zio_read_phys(zio_t *pio, vdev_t *vd, uint64_t offset,
548 extern zio_t *zio_write_phys(zio_t *pio, vdev_t *vd, uint64_t offset,
559 extern void zio_flush(zio_t *zio, vdev_t *vd);
585 extern zio_t *zio_vdev_child_io(zio_t *zio, blkptr_t *bp, vdev_t *vd,
590 extern zio_t *zio_vdev_delegated_io(vdev_t *vd, uint64_t offset,
634 extern int zio_handle_device_injection(vdev_t *v
[all...]
H A Ddsl_scan.h182 void dsl_scan_io_queue_vdev_xfer(vdev_t *svd, vdev_t *tvd);
H A Dvdev_removal.h82 extern void free_from_removing_vdev(vdev_t *, uint64_t, uint64_t);
H A Dmmp.h52 vdev_t *mmp_last_leaf; /* last mmp write sent here */
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_root.c41 vdev_root_core_tvds(vdev_t *vd)
46 vdev_t *cvd = vd->vdev_child[c];
67 too_many_errors(vdev_t *vd, uint64_t numerrors)
84 vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize,
99 vdev_t *cvd = vd->vdev_child[c];
123 vdev_root_close(vdev_t *vd)
130 vdev_root_state_change(vdev_t *vd, int faulted, int degraded)
H A Dvdev.c111 vdev_dbgmsg(vdev_t *vd, const char *fmt, ...)
132 vdev_dbgmsg_print_tree(vdev_t *vd, int indent)
218 vdev_default_xlate(vdev_t *vd, const range_seg_t *in, range_seg_t *res)
229 vdev_default_asize(vdev_t *vd, uint64_t psize)
249 vdev_get_min_asize(vdev_t *vd)
251 vdev_t *pvd = vd->vdev_parent;
279 vdev_set_min_asize(vdev_t *vd)
287 vdev_t *
290 vdev_t *rvd = spa->spa_root_vdev;
302 vdev_t *
[all...]
H A Dvdev_missing.c47 vdev_missing_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize,
64 vdev_missing_close(vdev_t *vd)
H A Dvdev_initialize.c48 vdev_initialize_should_stop(vdev_t *vd)
58 * We pass in the guid instead of the vdev_t since the vdev may
69 vdev_t *vd = spa_lookup_by_guid(tx->tx_pool->dp_spa, guid, B_FALSE);
100 vdev_initialize_change_state(vdev_t *vd, vdev_initializing_state_t new_state)
154 vdev_t *vd = zio->io_vd;
186 vdev_initialize_write(vdev_t *vd, uint64_t start, uint64_t size, abd_t *data)
279 vdev_initialize_ranges(vdev_t *vd, abd_t *data)
307 vdev_initialize_calculate_progress(vdev_t *vd)
381 vdev_initialize_load(vdev_t *vd)
412 vdev_t *v
[all...]
H A Dspa_checkpoint.c200 vdev_t *sdc_vd;
209 vdev_t *vd = sdc->sdc_vd;
256 vdev_t *rvd = spa->spa_root_vdev;
261 vdev_t *vd = rvd->vdev_child[c];
280 vdev_t *vd = arg;
365 vdev_t *rvd = spa->spa_root_vdev;
398 vdev_t *rvd = spa->spa_root_vdev;
401 vdev_t *vd = rvd->vdev_child[c];
H A Dvdev_trim.c149 vdev_t *trim_vdev; /* Leaf vdev to TRIM */
168 vdev_trim_should_stop(vdev_t *vd)
178 vdev_autotrim_should_stop(vdev_t *tvd)
193 * We pass in the guid instead of the vdev_t since the vdev may
204 vdev_t *vd = spa_lookup_by_guid(tx->tx_pool->dp_spa, guid, B_FALSE);
269 vdev_trim_change_state(vdev_t *vd, vdev_trim_state_t new_state,
360 vdev_t *vd = zio->io_vd;
406 vdev_t *vd = zio->io_vd;
450 vdev_t *vd = ta->trim_vdev;
496 * We know the vdev_t wil
[all...]
H A Dvdev_file.c45 vdev_file_hold(vdev_t *vd)
51 vdev_file_rele(vdev_t *vd)
57 vdev_file_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize,
148 vdev_file_close(vdev_t *vd)
218 vdev_t *vd = zio->io_vd;
H A Dvdev_removal.c187 spa_vdev_removal_create(vdev_t *vd)
237 vdev_t *vd = vdev_lookup_top(spa, vdev_id);
393 vdev_t *vd = vdev_lookup_top(spa,
421 vdev_t *vd = vdev_lookup_top(spa, indirect_vdev_id);
476 free_from_removing_vdev(vdev_t *vd, uint64_t offset, uint64_t size)
670 vdev_t *vd = vdev_lookup_top(spa, svr->svr_vdev_id);
674 vdev_t *pvd = vdev_lookup_top(spa,
696 vdev_t *vd = arg;
713 vdev_t *vd = vdev_lookup_top(spa, svr->svr_vdev_id);
861 vdev_t *source_v
[all...]
H A Dvdev_indirect.c234 vdev_t *ic_vdev;
259 vdev_t *is_vdev; /* top-level vdev */
323 vdev_indirect_mark_obsolete(vdev_t *vd, uint64_t offset, uint64_t size)
343 * wrapper is provided because the DMU does not know about vdev_t's and
350 vdev_t *vd = vdev_lookup_top(spa, vdev_id);
391 vdev_indirect_should_condense(vdev_t *vd)
484 vdev_t *vd = vdev_lookup_top(spa, scip->scip_vdev);
591 spa_condense_indirect_generate_new_mapping(vdev_t *vd,
649 vdev_t *vd;
752 spa_condense_indirect_start_sync(vdev_t *v
[all...]
H A Dvdev_label.c185 vdev_label_read(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset,
200 vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset,
215 root_vdev_actions_getprogress(vdev_t *vd, nvlist_t *nvl)
249 vdev_config_generate(spa_t *spa, vdev_t *vd, boolean_t getstats,
467 vdev_t *cvd = vd->vdev_child[c];
542 vdev_t *rvd = spa->spa_root_vdev;
549 vdev_t *tvd = rvd->vdev_child[c];
576 vdev_label_read_config(vdev_t *vd, uint64_t txg)
659 vdev_inuse(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason,
778 vdev_label_init(vdev_t *v
[all...]
H A Dvdev_disk.c59 static void vdev_disk_close(vdev_t *);
82 vdev_disk_alloc(vdev_t *vd)
95 vdev_disk_free(vdev_t *vd)
122 vdev_t *vd = (vdev_t *)arg;
158 vdev_t *vd = (vdev_t *)arg;
193 vdev_t *vd = (vdev_t *)arg;
215 vdev_disk_hold(vdev_t *v
[all...]
H A Duberblock.c48 uberblock_update(uberblock_t *ub, vdev_t *rvd, uint64_t txg, uint64_t mmp_delay)
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c58 vdev_t *ic_vdev;
76 vdev_t *is_vdev; /* top-level vdev */
155 static int vdev_indirect_read(vdev_t *, const blkptr_t *, void *, off_t,
157 static int vdev_mirror_read(vdev_t *, const blkptr_t *, void *, off_t,
474 vdev_read_phys(vdev_t *vdev, const blkptr_t *bp, void *buf,
500 vdev_t *rs_vd;
508 rs_alloc(vdev_t *vd, uint64_t offset, uint64_t asize, uint64_t split_offset)
736 vdev_indirect_mapping_duplicate_adjacent_entries(vdev_t *vd, uint64_t offset,
771 static vdev_t *
774 vdev_t *rv
[all...]

Completed in 145 milliseconds

123