Searched refs:rvd (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | spa.c | 198 vdev_t *rvd = spa->spa_root_vdev; in spa_prop_get_config() local 207 if (rvd != NULL) { in spa_prop_get_config() 230 rvd->vdev_state, src); in spa_prop_get_config() 729 vdev_t *rvd = spa->spa_root_vdev; in spa_change_guid_check() local 733 vdev_state = rvd->vdev_state; in spa_change_guid_check() 750 vdev_t *rvd = spa->spa_root_vdev; in spa_change_guid_sync() local 755 rvd->vdev_guid = *newguid; in spa_change_guid_sync() 756 rvd->vdev_guid_sum += (*newguid - oldguid); in spa_change_guid_sync() 757 vdev_config_dirty(rvd); in spa_change_guid_sync() 1623 vdev_t *mrvd, *rvd = spa->spa_root_vdev; in spa_config_valid() local [all …]
|
H A D | spa_config.c | 362 vdev_t *rvd = spa->spa_root_vdev; in spa_config_generate() local 368 vd = rvd; in spa_config_generate() 414 if (vd != rvd) { in spa_config_generate() 503 vdev_t *rvd = spa->spa_root_vdev; in spa_config_update() local 512 vdev_config_dirty(rvd); in spa_config_update() 521 for (c = 0; c < rvd->vdev_children; c++) { in spa_config_update() 522 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_update()
|
H A D | uberblock.c | 47 uberblock_update(uberblock_t *ub, vdev_t *rvd, uint64_t txg) in uberblock_update() argument 57 ub->ub_guid_sum = rvd->vdev_guid_sum; in uberblock_update()
|
H A D | vdev.c | 154 vdev_t *rvd = spa->spa_root_vdev; in vdev_lookup_top() local 158 if (vdev < rvd->vdev_children) { in vdev_lookup_top() 159 ASSERT(rvd->vdev_child[vdev] != NULL); in vdev_lookup_top() 160 return (rvd->vdev_child[vdev]); in vdev_lookup_top() 2366 vdev_t *vd, *tvd, *pvd, *rvd = spa->spa_root_vdev; in vdev_online() local 2389 for (pvd = vd; pvd != rvd; pvd = pvd->vdev_parent) in vdev_online() 2397 for (pvd = vd; pvd != rvd; pvd = pvd->vdev_parent) in vdev_online() 2537 vdev_t *rvd = spa->spa_root_vdev; in vdev_clear() local 2542 vd = rvd; in vdev_clear() 2571 vdev_reopen(vd == rvd ? rvd : vd->vdev_top); in vdev_clear() [all …]
|
H A D | vdev_label.c | 401 vdev_t *rvd = spa->spa_root_vdev; in vdev_top_config_generate() local 405 array = kmem_alloc(rvd->vdev_children * sizeof (uint64_t), KM_SLEEP); in vdev_top_config_generate() 407 for (c = 0, idx = 0; c < rvd->vdev_children; c++) { in vdev_top_config_generate() 408 vdev_t *tvd = rvd->vdev_child[c]; in vdev_top_config_generate() 420 rvd->vdev_children) == 0); in vdev_top_config_generate() 422 kmem_free(array, rvd->vdev_children * sizeof (uint64_t)); in vdev_top_config_generate() 943 vdev_uberblock_load(vdev_t *rvd, uberblock_t *ub, nvlist_t **config) in vdev_uberblock_load() argument 946 spa_t *spa = rvd->vdev_spa; in vdev_uberblock_load() 962 vdev_uberblock_load_impl(zio, rvd, flags, &cb); in vdev_uberblock_load()
|
H A D | metaslab.c | 278 vdev_t *rvd = mc->mc_spa->spa_root_vdev; in metaslab_class_histogram_verify() local 288 for (int c = 0; c < rvd->vdev_children; c++) { in metaslab_class_histogram_verify() 289 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_histogram_verify() 321 vdev_t *rvd = mc->mc_spa->spa_root_vdev; in metaslab_class_fragmentation() local 326 for (int c = 0; c < rvd->vdev_children; c++) { in metaslab_class_fragmentation() 327 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_fragmentation() 371 vdev_t *rvd = mc->mc_spa->spa_root_vdev; in metaslab_class_expandable_space() local 375 for (int c = 0; c < rvd->vdev_children; c++) { in metaslab_class_expandable_space() 376 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_expandable_space()
|
H A D | dsl_scan.c | 1831 vdev_t *rvd = spa->spa_root_vdev; in dsl_scan_scrub_cb() local 1832 uint64_t maxinflight = rvd->vdev_children * zfs_top_maxinflight; in dsl_scan_scrub_cb()
|
/titanic_50/usr/src/cmd/zdb/ |
H A D | zdb.c | 809 vdev_t *rvd = spa->spa_root_vdev; in dump_metaslab_groups() local 815 for (int c = 0; c < rvd->vdev_children; c++) { in dump_metaslab_groups() 816 vdev_t *tvd = rvd->vdev_child[c]; in dump_metaslab_groups() 850 vdev_t *vd, *rvd = spa->spa_root_vdev; in dump_metaslabs() local 851 uint64_t m, c = 0, children = rvd->vdev_children; in dump_metaslabs() 862 vd = rvd->vdev_child[c]; in dump_metaslabs() 880 vd = rvd->vdev_child[c]; in dump_metaslabs() 2601 vdev_t *rvd = spa->spa_root_vdev; in zdb_leak_init() local 2602 for (uint64_t c = 0; c < rvd->vdev_children; c++) { in zdb_leak_init() 2603 vdev_t *vd = rvd->vdev_child[c]; in zdb_leak_init() [all …]
|
/titanic_50/usr/src/cmd/ztest/ |
H A D | ztest.c | 1000 vdev_t *rvd = spa->spa_root_vdev; in ztest_random_vdev_top() local 1006 top = ztest_random(rvd->vdev_children); in ztest_random_vdev_top() 1007 tvd = rvd->vdev_child[top]; in ztest_random_vdev_top() 2478 vdev_t *rvd = spa->spa_root_vdev; in find_vdev_hole() local 2483 for (c = 0; c < rvd->vdev_children; c++) { in find_vdev_hole() 2484 vdev_t *cvd = rvd->vdev_child[c]; in find_vdev_hole() 2570 vdev_t *rvd = spa->spa_root_vdev; in ztest_vdev_aux_add_remove() local 2609 vdev_lookup_by_path(rvd, path) == NULL) in ztest_vdev_aux_add_remove() 2653 vdev_t *rvd = spa->spa_root_vdev; in ztest_split_pool() local 2680 schild = malloc(rvd->vdev_children * sizeof (nvlist_t *)); in ztest_split_pool() [all …]
|