Home
last modified time | relevance | path

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

/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/
H A Dtests.d366 foreach (a, tvd; tv) in run_tests()
368 uint c = tvd.result[0]; in run_tests()
369 …debug(std_regex_test) writeln(" Test #", a, " pattern: ", tvd.pattern, " with Char = ", Char.strin… in run_tests()
373 r = regex(to!(String)(tvd.pattern), tvd.flags); in run_tests()
381 assert((c == 'c') ? !i : i, "failed to compile pattern "~tvd.pattern); in run_tests()
385 auto m = matchFn(to!(String)(tvd.input), r); in run_tests()
389 text(matchFn.stringof ~": failed to match pattern #", a ,": ", tvd.pattern) in run_tests()
393 auto result = produceExpected(m, to!(String)(tvd.format)); in run_tests()
394 assert(result == to!String(tvd.replace), in run_tests()
395 … text(matchFn.stringof ~": mismatch pattern #", a, ": ", tvd.pattern," expected: ", in run_tests()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/
H A Dtests.d366 foreach (a, tvd; tv) in run_tests()
368 uint c = tvd.result[0]; in run_tests()
369 …debug(std_regex_test) writeln(" Test #", a, " pattern: ", tvd.pattern, " with Char = ", Char.strin… in run_tests()
373 r = regex(to!(String)(tvd.pattern), tvd.flags); in run_tests()
381 assert((c == 'c') ? !i : i, "failed to compile pattern "~tvd.pattern); in run_tests()
385 auto m = matchFn(to!(String)(tvd.input), r); in run_tests()
389 text(matchFn.stringof ~": failed to match pattern #", a ,": ", tvd.pattern) in run_tests()
393 auto result = produceExpected(m, to!(String)(tvd.format)); in run_tests()
394 assert(result == to!String(tvd.replace), in run_tests()
395 … text(matchFn.stringof ~": mismatch pattern #", a, ": ", tvd.pattern," expected: ", in run_tests()
[all …]
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dvdev.c792 vdev_top_transfer(vdev_t *svd, vdev_t *tvd) in vdev_top_transfer() argument
799 ASSERT(tvd == tvd->vdev_top); in vdev_top_transfer()
801 tvd->vdev_ms_array = svd->vdev_ms_array; in vdev_top_transfer()
802 tvd->vdev_ms_shift = svd->vdev_ms_shift; in vdev_top_transfer()
803 tvd->vdev_ms_count = svd->vdev_ms_count; in vdev_top_transfer()
804 tvd->vdev_top_zap = svd->vdev_top_zap; in vdev_top_transfer()
811 if (tvd->vdev_mg) in vdev_top_transfer()
812 ASSERT3P(tvd->vdev_mg, ==, svd->vdev_mg); in vdev_top_transfer()
813 tvd->vdev_mg = svd->vdev_mg; in vdev_top_transfer()
814 tvd->vdev_ms = svd->vdev_ms; in vdev_top_transfer()
[all …]
H A Dspa_config.c543 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_update() local
544 if (tvd->vdev_ms_array == 0) { in spa_config_update()
545 vdev_ashift_optimize(tvd); in spa_config_update()
546 vdev_metaslab_set_size(tvd); in spa_config_update()
548 vdev_expand(tvd, txg); in spa_config_update()
H A Dspa.c1404 vdev_t *vd, *tvd; in spa_load_spares() local
1415 if ((tvd = spa_lookup_by_guid(spa, vd->vdev_guid, in spa_load_spares()
1416 B_FALSE)) != NULL && tvd->vdev_isspare) in spa_load_spares()
1417 spa_spare_remove(tvd); in spa_load_spares()
1456 if ((tvd = spa_lookup_by_guid(spa, vd->vdev_guid, in spa_load_spares()
1458 if (!tvd->vdev_isspare) in spa_load_spares()
1459 spa_spare_add(tvd); in spa_load_spares()
1474 if (!vdev_is_dead(tvd)) in spa_load_spares()
1475 spa_spare_activate(tvd); in spa_load_spares()
1724 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_valid() local
[all …]
H A Dmetaslab.c397 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_histogram_verify() local
398 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_histogram_verify()
404 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_histogram_verify()
435 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_fragmentation() local
436 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_fragmentation()
442 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_fragmentation()
484 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_expandable_space() local
485 metaslab_group_t *mg = tvd->vdev_mg; in metaslab_class_expandable_space()
487 if (tvd->vdev_ishole || tvd->vdev_ms_shift == 0 || in metaslab_class_expandable_space()
497 space += P2ALIGN(tvd->vdev_max_asize - tvd->vdev_asize, in metaslab_class_expandable_space()
[all …]
H A Dvdev_raidz.c1608 vdev_t *tvd = vd->vdev_top; in vdev_raidz_physio() local
1639 SPA_OLD_MAXBLOCKSIZE, origoffset, B_FALSE, tvd->vdev_ashift, in vdev_raidz_physio()
1736 vdev_t *tvd = vd->vdev_top; in vdev_raidz_io_start() local
1744 tvd->vdev_ashift, vd->vdev_children, in vdev_raidz_io_start()
1790 1 << tvd->vdev_ashift, in vdev_raidz_io_start()
H A Dvdev_label.c422 vdev_t *tvd = rvd->vdev_child[c]; in vdev_top_config_generate() local
424 if (tvd->vdev_ishole) in vdev_top_config_generate()
/netbsd-src/external/cddl/osnet/dist/cmd/ztest/
H A Dztest.c1001 vdev_t *tvd; in ztest_random_vdev_top() local
1007 tvd = rvd->vdev_child[top]; in ztest_random_vdev_top()
1008 } while (tvd->vdev_ishole || (tvd->vdev_islog && !log_ok) || in ztest_random_vdev_top()
1009 tvd->vdev_mg == NULL || tvd->vdev_mg->mg_class == NULL); in ztest_random_vdev_top()
2681 vdev_t *tvd = rvd->vdev_child[c]; in ztest_split_pool() local
2685 if (tvd->vdev_islog || tvd->vdev_ops == &vdev_hole_ops) { in ztest_split_pool()
2958 vdev_t *tvd = vd->vdev_top; in online_vdev() local
2998 (u_longlong_t)tvd->vdev_state, in online_vdev()
3040 vdev_t *vd, *tvd; in ztest_vdev_LUN_growth() local
3052 tvd = spa->spa_root_vdev->vdev_child[top]; in ztest_vdev_LUN_growth()
[all …]
/netbsd-src/external/cddl/osnet/dist/cmd/zdb/
H A Dzdb.c819 vdev_t *tvd = rvd->vdev_child[c]; in dump_metaslab_groups() local
820 metaslab_group_t *mg = tvd->vdev_mg; in dump_metaslab_groups()
830 (u_longlong_t)tvd->vdev_id, in dump_metaslab_groups()
831 (u_longlong_t)tvd->vdev_ms_count); in dump_metaslab_groups()