Home
last modified time | relevance | path

Searched refs:rvd (Results 1 – 24 of 24) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_checkpoint.c258 vdev_t *rvd = spa->spa_root_vdev; in spa_checkpoint_accounting_verify() local
262 for (uint64_t c = 0; c < rvd->vdev_children; c++) { in spa_checkpoint_accounting_verify()
263 vdev_t *vd = rvd->vdev_child[c]; in spa_checkpoint_accounting_verify()
369 vdev_t *rvd = spa->spa_root_vdev; in spa_checkpoint_discard_is_done() local
374 for (uint64_t c = 0; c < rvd->vdev_children; c++) { in spa_checkpoint_discard_is_done()
375 if (rvd->vdev_child[c]->vdev_checkpoint_sm != NULL) in spa_checkpoint_discard_is_done()
377 ASSERT0(rvd->vdev_child[c]->vdev_stat.vs_checkpoint_space); in spa_checkpoint_discard_is_done()
402 vdev_t *rvd = spa->spa_root_vdev; in spa_checkpoint_discard_thread() local
404 for (uint64_t c = 0; c < rvd->vdev_children; c++) { in spa_checkpoint_discard_thread()
405 vdev_t *vd = rvd->vdev_child[c]; in spa_checkpoint_discard_thread()
H A Dspa.c405 vdev_t *rvd = spa->spa_root_vdev; in spa_prop_get_config() local
414 if (rvd != NULL) { in spa_prop_get_config()
455 rvd->vdev_state, src); in spa_prop_get_config()
983 vdev_t *rvd = spa->spa_root_vdev; in spa_change_guid_check() local
993 vdev_state = rvd->vdev_state; in spa_change_guid_check()
1010 vdev_t *rvd = spa->spa_root_vdev; in spa_change_guid_sync() local
1015 rvd->vdev_guid = *newguid; in spa_change_guid_sync()
1016 rvd->vdev_guid_sum += (*newguid - oldguid); in spa_change_guid_sync()
1017 vdev_config_dirty(rvd); in spa_change_guid_sync()
2514 vdev_t *rvd = spa->spa_root_vdev; in spa_healthy_core_tvds() local
[all …]
H A Duberblock.c48 uberblock_update(uberblock_t *ub, vdev_t *rvd, uint64_t txg, uint64_t mmp_delay) in uberblock_update() argument
58 ub->ub_guid_sum = rvd->vdev_guid_sum; in uberblock_update()
62 if (spa_multihost(rvd->vdev_spa)) { in uberblock_update()
H A Dspa_config.c418 vdev_t *rvd = spa->spa_root_vdev; in spa_config_generate() local
425 vd = rvd; in spa_config_generate()
476 if (vd != rvd) { in spa_config_generate()
568 vdev_t *rvd = spa->spa_root_vdev; in spa_config_update() local
577 vdev_config_dirty(rvd); in spa_config_update()
586 for (c = 0; c < rvd->vdev_children; c++) { in spa_config_update()
587 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_update()
H A Dvdev_label.c755 vdev_t *rvd = spa->spa_root_vdev; in vdev_top_config_generate() local
759 array = kmem_alloc(rvd->vdev_children * sizeof (uint64_t), KM_SLEEP); in vdev_top_config_generate()
761 for (c = 0, idx = 0; c < rvd->vdev_children; c++) { in vdev_top_config_generate()
762 vdev_t *tvd = rvd->vdev_child[c]; in vdev_top_config_generate()
775 rvd->vdev_children) == 0); in vdev_top_config_generate()
777 kmem_free(array, rvd->vdev_children * sizeof (uint64_t)); in vdev_top_config_generate()
1327 vdev_label_read_bootenv(vdev_t *rvd, nvlist_t *bootenv) in vdev_label_read_bootenv() argument
1330 spa_t *spa = rvd->vdev_spa; in vdev_label_read_bootenv()
1339 vdev_label_read_bootenv_impl(zio, rvd, flags); in vdev_label_read_bootenv()
1602 vdev_uberblock_load(vdev_t *rvd, uberblock_t *ub, nvlist_t **config) in vdev_uberblock_load() argument
[all …]
H A Dvdev.c459 vdev_t *rvd = spa->spa_root_vdev; in vdev_lookup_top() local
463 if (vdev < rvd->vdev_children) { in vdev_lookup_top()
464 ASSERT(rvd->vdev_child[vdev] != NULL); in vdev_lookup_top()
465 return (rvd->vdev_child[vdev]); in vdev_lookup_top()
4290 vdev_t *vd, *tvd, *pvd, *rvd = spa->spa_root_vdev; in vdev_online() local
4310 for (pvd = vd; pvd != rvd; pvd = pvd->vdev_parent) in vdev_online()
4320 for (pvd = vd; pvd != rvd; pvd = pvd->vdev_parent) in vdev_online()
4514 vdev_t *rvd = spa->spa_root_vdev; in vdev_clear() local
4519 vd = rvd; in vdev_clear()
4556 vdev_reopen(vd == rvd ? rvd : vd->vdev_top); in vdev_clear()
[all …]
H A Dvdev_removal.c199 vdev_t *rvd = spa->spa_root_vdev; in vdev_passivate() local
209 for (uint64_t id = 0; id < rvd->vdev_children; id++) { in vdev_passivate()
210 vdev_t *cvd = rvd->vdev_child[id]; in vdev_passivate()
2040 vdev_t *rvd = spa->spa_root_vdev; in vdev_remove_make_hole_and_free() local
2048 vdev_add_child(rvd, vd); in vdev_remove_make_hole_and_free()
2049 vdev_config_dirty(rvd); in vdev_remove_make_hole_and_free()
2054 vdev_reopen(rvd); in vdev_remove_make_hole_and_free()
2258 vdev_t *rvd = spa->spa_root_vdev; in spa_vdev_remove_top_check() local
2259 for (uint64_t id = 0; id < rvd->vdev_children; id++) { in spa_vdev_remove_top_check()
2260 vdev_t *cvd = rvd->vdev_child[id]; in spa_vdev_remove_top_check()
H A Dspa_misc.c2922 vdev_t *rvd = spa->spa_root_vdev; in spa_state_to_name() local
2923 if (rvd == NULL) { in spa_state_to_name()
2926 vdev_state_t state = rvd->vdev_state; in spa_state_to_name()
2927 vdev_aux_t aux = rvd->vdev_stat.vs_aux; in spa_state_to_name()
2961 vdev_t *rvd = spa->spa_root_vdev; in spa_top_vdevs_spacemap_addressable() local
2962 for (uint64_t c = 0; c < rvd->vdev_children; c++) { in spa_top_vdevs_spacemap_addressable()
2963 if (!vdev_is_spacemap_addressable(rvd->vdev_child[c])) in spa_top_vdevs_spacemap_addressable()
H A Ddsl_scan.c850 vdev_t *rvd = scn->scn_dp->dp_spa->spa_root_vdev; in dsl_scan_setup_check() local
852 if (dsl_scan_is_running(scn) || vdev_rebuild_active(rvd) || in dsl_scan_setup_check()
935 vdev_t *rvd = spa->spa_root_vdev; in dsl_scan_setup_sync() local
936 for (uint64_t i = 0; i < rvd->vdev_children; i++) { in dsl_scan_setup_sync()
937 vdev_t *vd = rvd->vdev_child[i]; in dsl_scan_setup_sync()
1581 vdev_t *rvd = scn->scn_dp->dp_spa->spa_root_vdev; in dsl_scan_should_clear() local
1594 for (uint64_t i = 0; i < rvd->vdev_children; i++) { in dsl_scan_should_clear()
1595 vdev_t *tvd = rvd->vdev_child[i]; in dsl_scan_should_clear()
3192 vdev_t *rvd = spa->spa_root_vdev; in dsl_scan_count_data_disks() local
3195 for (i = 0; i < rvd->vdev_children; i++) { in dsl_scan_count_data_disks()
[all …]
H A Ddsl_pool.c654 vdev_t *rvd = spa->spa_root_vdev; in dsl_early_sync_task_verify() local
656 for (uint64_t c = 0; c < rvd->vdev_children; c++) { in dsl_early_sync_task_verify()
657 vdev_t *vd = rvd->vdev_child[c]; in dsl_early_sync_task_verify()
H A Dvdev_rebuild.c764 vdev_t *rvd = spa->spa_root_vdev; in vdev_rebuild_thread() local
821 uint64_t limit = (arc_c_max / 2) / MAX(rvd->vdev_children, 1); in vdev_rebuild_thread()
H A Dmetaslab.c514 vdev_t *rvd = spa->spa_root_vdev; in metaslab_class_histogram_verify() local
525 for (int c = 0; c < rvd->vdev_children; c++) { in metaslab_class_histogram_verify()
526 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_histogram_verify()
563 vdev_t *rvd = mc->mc_spa->spa_root_vdev; in metaslab_class_fragmentation() local
568 for (int c = 0; c < rvd->vdev_children; c++) { in metaslab_class_fragmentation()
569 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_fragmentation()
613 vdev_t *rvd = mc->mc_spa->spa_root_vdev; in metaslab_class_expandable_space() local
617 for (int c = 0; c < rvd->vdev_children; c++) { in metaslab_class_expandable_space()
618 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_expandable_space()
H A Ddbuf.c649 vdev_t *rvd = db->db_objset->os_spa->spa_root_vdev; in dbuf_is_l2cacheable() local
652 if (vdev < rvd->vdev_children) in dbuf_is_l2cacheable()
653 vd = rvd->vdev_child[vdev]; in dbuf_is_l2cacheable()
678 vdev_t *rvd = dn->dn_objset->os_spa->spa_root_vdev; in dnode_level_is_l2cacheable() local
681 if (vdev < rvd->vdev_children) in dnode_level_is_l2cacheable()
682 vd = rvd->vdev_child[vdev]; in dnode_level_is_l2cacheable()
H A Ddmu_objset.c445 vdev_t *rvd = os->os_spa->spa_root_vdev; in dmu_os_is_l2cacheable() local
448 if (vdev < rvd->vdev_children) in dmu_os_is_l2cacheable()
449 vd = rvd->vdev_child[vdev]; in dmu_os_is_l2cacheable()
H A Dvdev_draid.c2443 vdev_t *rvd = vd->vdev_spa->spa_root_vdev; in vdev_draid_spare_open() local
2446 vdev_t *tvd = vdev_lookup_by_guid(rvd, vds->vds_top_guid); in vdev_draid_spare_open()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dspa_os.c185 vdev_t *rvd; in spa_import_rootpool() local
247 error = spa_config_parse(spa, &rvd, nvtop, NULL, 0, in spa_import_rootpool()
259 vdev_free(rvd); in spa_import_rootpool()
/freebsd/sys/contrib/openzfs/include/sys/
H A Duberblock.h43 extern boolean_t uberblock_update(uberblock_t *ub, vdev_t *rvd, uint64_t txg,
/freebsd/sys/vm/
H A Dvm_reserv.c1052 struct vm_reserv_domain *rvd; in vm_reserv_init() local
1088 rvd = &vm_rvd[i]; in vm_reserv_init()
1089 mtx_init(&rvd->lock, "vm reserv domain", NULL, MTX_DEF); in vm_reserv_init()
1090 TAILQ_INIT(&rvd->partpop); in vm_reserv_init()
1091 mtx_init(&rvd->marker.lock, "vm reserv marker", NULL, MTX_DEF); in vm_reserv_init()
1097 rvd->marker.popcnt = VM_LEVEL_0_NPAGES; in vm_reserv_init()
1098 bit_nset(rvd->marker.popmap, 0, VM_LEVEL_0_NPAGES - 1); in vm_reserv_init()
/freebsd/sys/ofed/include/rdma/
H A Drdma_vt.h487 int rvt_register_device(struct rvt_dev_info *rvd);
488 void rvt_unregister_device(struct rvt_dev_info *rvd);
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c599 vdev_t *rvd = spa->spa_root_vdev; in livelist_metaslab_validate() local
600 for (uint64_t c = 0; c < rvd->vdev_children; c++) { in livelist_metaslab_validate()
601 vdev_t *vd = rvd->vdev_child[c]; in livelist_metaslab_validate()
662 ASSERT3U(vdev_id, <, rvd->vdev_children); in livelist_metaslab_validate()
663 vdev_t *vd = rvd->vdev_child[vdev_id]; in livelist_metaslab_validate()
1744 vdev_t *rvd = spa->spa_root_vdev; in dump_metaslab_groups() local
1751 for (unsigned c = 0; c < rvd->vdev_children; c++) { in dump_metaslab_groups()
1752 vdev_t *tvd = rvd->vdev_child[c]; in dump_metaslab_groups()
1861 vdev_t *vd, *rvd = spa->spa_root_vdev; in dump_metaslabs() local
1862 uint64_t m, c = 0, children = rvd->vdev_children; in dump_metaslabs()
[all …]
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c1534 vdev_t *rvd = spa->spa_root_vdev; in ztest_random_vdev_top() local
1540 top = ztest_random(rvd->vdev_children); in ztest_random_vdev_top()
1541 tvd = rvd->vdev_child[top]; in ztest_random_vdev_top()
3311 vdev_t *rvd = spa->spa_root_vdev; in spa_num_top_vdevs() local
3313 return (rvd->vdev_children); in spa_num_top_vdevs()
3500 vdev_t *rvd = spa->spa_root_vdev; in ztest_vdev_aux_add_remove() local
3550 vdev_lookup_by_path(rvd, path) == NULL) in ztest_vdev_aux_add_remove()
3612 vdev_t *rvd = spa->spa_root_vdev; in ztest_split_pool() local
3641 schild = umem_alloc(rvd->vdev_children * sizeof (nvlist_t *), in ztest_split_pool()
3644 vdev_t *tvd = rvd->vdev_child[c]; in ztest_split_pool()
[all …]
/freebsd/lib/libc/net/
H A Dprotocols72 rvd 66 RVD # MIT Remote Virtual Disk Protocol
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c541 vdev_t *rvd; in vdev_lookup_top() local
545 STAILQ_FOREACH(rvd, vlist, v_childlink) in vdev_lookup_top()
546 if (rvd->v_id == vdev) in vdev_lookup_top()
549 return (rvd); in vdev_lookup_top()
/freebsd/contrib/tcsh/
H A Dcomplete.tcsh258 'n/-type/(afs nfs rvd ufs)/' \
259 'n/-t/(afs nfs rvd ufs)/' \