Home
last modified time | relevance | path

Searched refs:tvd (Results 1 – 10 of 10) sorted by relevance

/trueos/contrib/ntp/clockstuff/
HDclktest.c288 struct timeval tv, tvd; in doio() local
348 tvd.tv_sec = tv.tv_sec - lasttv.tv_sec; in doio()
349 tvd.tv_usec = tv.tv_usec - lasttv.tv_usec; in doio()
350 if (tvd.tv_usec < 0) { in doio()
351 tvd.tv_usec += 1000000; in doio()
352 tvd.tv_sec--; in doio()
356 tv.tv_sec, tv.tv_usec, tvd.tv_sec, tvd.tv_usec, in doio()
/trueos/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDvdev.c752 vdev_top_transfer(vdev_t *svd, vdev_t *tvd) in vdev_top_transfer() argument
759 ASSERT(tvd == tvd->vdev_top); in vdev_top_transfer()
761 tvd->vdev_ms_array = svd->vdev_ms_array; in vdev_top_transfer()
762 tvd->vdev_ms_shift = svd->vdev_ms_shift; in vdev_top_transfer()
763 tvd->vdev_ms_count = svd->vdev_ms_count; in vdev_top_transfer()
769 if (tvd->vdev_mg) in vdev_top_transfer()
770 ASSERT3P(tvd->vdev_mg, ==, svd->vdev_mg); in vdev_top_transfer()
771 tvd->vdev_mg = svd->vdev_mg; in vdev_top_transfer()
772 tvd->vdev_ms = svd->vdev_ms; in vdev_top_transfer()
777 if (tvd->vdev_mg != NULL) in vdev_top_transfer()
[all …]
HDspa_config.c546 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_update() local
547 if (tvd->vdev_ms_array == 0) { in spa_config_update()
548 vdev_ashift_optimize(tvd); in spa_config_update()
549 vdev_metaslab_set_size(tvd); in spa_config_update()
551 vdev_expand(tvd, txg); in spa_config_update()
HDspa.c1386 vdev_t *vd, *tvd; in spa_load_spares() local
1397 if ((tvd = spa_lookup_by_guid(spa, vd->vdev_guid, in spa_load_spares()
1398 B_FALSE)) != NULL && tvd->vdev_isspare) in spa_load_spares()
1399 spa_spare_remove(tvd); in spa_load_spares()
1438 if ((tvd = spa_lookup_by_guid(spa, vd->vdev_guid, in spa_load_spares()
1440 if (!tvd->vdev_isspare) in spa_load_spares()
1441 spa_spare_add(tvd); in spa_load_spares()
1456 if (!vdev_is_dead(tvd)) in spa_load_spares()
1457 spa_spare_activate(tvd); in spa_load_spares()
1692 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_valid() local
[all …]
HDmetaslab.c396 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_histogram_verify() local
397 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_histogram_verify()
403 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_histogram_verify()
434 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_fragmentation() local
435 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_fragmentation()
441 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_fragmentation()
483 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_expandable_space() local
484 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_expandable_space()
486 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_expandable_space()
491 space += tvd->vdev_max_asize - tvd->vdev_asize; in metaslab_class_expandable_space()
HDvdev_raidz.c1605 vdev_t *tvd = vd->vdev_top; in vdev_raidz_physio() local
1636 SPA_OLD_MAXBLOCKSIZE, origoffset, B_FALSE, tvd->vdev_ashift, in vdev_raidz_physio()
1733 vdev_t *tvd = vd->vdev_top; in vdev_raidz_io_start() local
1741 tvd->vdev_ashift, vd->vdev_children, in vdev_raidz_io_start()
1787 1 << tvd->vdev_ashift, in vdev_raidz_io_start()
HDvdev_label.c408 vdev_t *tvd = rvd->vdev_child[c]; in vdev_top_config_generate() local
410 if (tvd->vdev_ishole) in vdev_top_config_generate()
/trueos/cddl/contrib/opensolaris/cmd/ztest/
HDztest.c1014 vdev_t *tvd; in ztest_random_vdev_top() local
1020 tvd = rvd->vdev_child[top]; in ztest_random_vdev_top()
1021 } while (tvd->vdev_ishole || (tvd->vdev_islog && !log_ok) || in ztest_random_vdev_top()
1022 tvd->vdev_mg == NULL || tvd->vdev_mg->mg_class == NULL); in ztest_random_vdev_top()
2695 vdev_t *tvd = rvd->vdev_child[c]; in ztest_split_pool() local
2699 if (tvd->vdev_islog || tvd->vdev_ops == &vdev_hole_ops) { in ztest_split_pool()
2972 vdev_t *tvd = vd->vdev_top; in online_vdev() local
3012 (u_longlong_t)tvd->vdev_state, in online_vdev()
3054 vdev_t *vd, *tvd; in ztest_vdev_LUN_growth() local
3066 tvd = spa->spa_root_vdev->vdev_child[top]; in ztest_vdev_LUN_growth()
[all …]
/trueos/sys/cddl/boot/zfs/
HDzfssubr.c1450 vdev_t *tvd = vd->v_top; in vdev_raidz_read() local
1467 rm = vdev_raidz_map_alloc(data, offset, bytes, tvd->v_ashift, in vdev_raidz_read()
/trueos/cddl/contrib/opensolaris/cmd/zdb/
HDzdb.c731 vdev_t *tvd = rvd->vdev_child[c]; in dump_metaslab_groups() local
732 metaslab_group_t *mg = tvd->vdev_mg; in dump_metaslab_groups()
742 (u_longlong_t)tvd->vdev_id, in dump_metaslab_groups()
743 (u_longlong_t)tvd->vdev_ms_count); in dump_metaslab_groups()