Home
last modified time | relevance | path

Searched refs:vdev_child (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev.c99 csize = vdev_psize_to_asize(vd->vdev_child[c], psize); in vdev_default_asize()
147 vdev_set_min_asize(vd->vdev_child[c]); in vdev_set_min_asize()
158 ASSERT(rvd->vdev_child[vdev] != NULL); in vdev_lookup_top()
159 return (rvd->vdev_child[vdev]); in vdev_lookup_top()
174 if ((mvd = vdev_lookup_by_guid(vd->vdev_child[c], guid)) != in vdev_lookup_by_guid()
190 n += vdev_count_leaves_impl(vd->vdev_child[c]); in vdev_count_leaves_impl()
217 ASSERT(id >= pvd->vdev_children || pvd->vdev_child[id] == NULL); in vdev_add_child()
224 if (pvd->vdev_child != NULL) { in vdev_add_child()
225 bcopy(pvd->vdev_child, newchild, oldsize); in vdev_add_child()
226 kmem_free(pvd->vdev_child, oldsize); in vdev_add_child()
[all …]
H A Dvdev_root.c71 vdev_t *cvd = vd->vdev_child[c]; in vdev_root_open()
95 vdev_close(vd->vdev_child[c]); in vdev_root_close()
H A Dspa.c1607 spa_check_removed(vd->vdev_child[c]); in spa_check_removed()
1646 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_valid()
1647 vdev_t *mtvd = mrvd->vdev_child[c]; in spa_config_valid()
1675 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_valid()
1676 vdev_t *mtvd = mrvd->vdev_child[c]; in spa_config_valid()
1772 vdev_t *tvd = rvd->vdev_child[c]; in spa_passivate_log()
1792 vdev_t *tvd = rvd->vdev_child[c]; in spa_activate_log()
2772 if (rvd->vdev_child[c]->vdev_ms_array == 0) in spa_load_impl()
3560 vdev_metaslab_set_size(rvd->vdev_child[c]); in spa_create()
3561 vdev_expand(rvd->vdev_child[c], txg); in spa_create()
[all …]
H A Dvdev_mirror.c123 mc->mc_vd = vd->vdev_child[c]; in vdev_mirror_map_alloc()
148 vdev_t *cvd = vd->vdev_child[c]; in vdev_mirror_open()
173 vdev_close(vd->vdev_child[c]); in vdev_mirror_close()
H A Dvdev_label.c326 vdev_t *cvd = vd->vdev_child[c]; in vdev_config_generate()
408 vdev_t *tvd = rvd->vdev_child[c]; in vdev_top_config_generate()
642 if ((error = vdev_label_init(vd->vdev_child[c], in vdev_label_init()
920 vdev_uberblock_load_impl(zio, vd->vdev_child[c], flags, cbp); in vdev_uberblock_load_impl()
998 vdev_uberblock_sync(zio, ub, vd->vdev_child[c], flags); in vdev_uberblock_sync()
1098 vdev_label_sync(zio, vd->vdev_child[c], l, txg, flags); in vdev_label_sync()
H A Dvdev_raidz.c1493 cvd = vd->vdev_child[c]; in vdev_raidz_open()
1523 vdev_close(vd->vdev_child[c]); in vdev_raidz_close()
1630 cvd = vd->vdev_child[rc->rc_devidx]; in vdev_raidz_physio()
1738 cvd = vd->vdev_child[rc->rc_devidx]; in vdev_raidz_io_start()
1754 cvd = vd->vdev_child[rc->rc_devidx]; in vdev_raidz_io_start()
1774 cvd = vd->vdev_child[rc->rc_devidx]; in vdev_raidz_io_start()
1822 vdev_t *vd = zio->io_vd->vdev_child[rc->rc_devidx]; in raidz_checksum_error()
2271 vd->vdev_child[rc->rc_devidx], in vdev_raidz_io_done()
2328 vd->vdev_child[rc->rc_devidx], in vdev_raidz_io_done()
2346 cvd = vd->vdev_child[rc->rc_devidx]; in vdev_raidz_io_done()
H A Dspa_config.c523 vdev_t *tvd = rvd->vdev_child[c]; in spa_config_update()
H A Dmetaslab.c288 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_histogram_verify()
326 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_fragmentation()
375 vdev_t *tvd = rvd->vdev_child[c]; in metaslab_class_expandable_space()
H A Dzio.c656 vdev_t *vd = spa->spa_root_vdev->vdev_child[vdevid]; in zfs_blkptr_verify()
891 zio_nowait(zio_ioctl(zio, spa, vd->vdev_child[c], cmd, in zio_ioctl()
H A Dzvol.c1137 int err = zvol_dumpio_vdev(vd->vdev_child[c], in zvol_dumpio_vdev()
/titanic_41/usr/src/cmd/zdb/
H A Dzdb.c621 refcount += get_dtl_refcount(vd->vdev_child[c]); in get_dtl_refcount()
640 refcount += get_metaslab_refcount(vd->vdev_child[c]); in get_metaslab_refcount()
805 vdev_t *tvd = rvd->vdev_child[c]; in dump_metaslab_groups()
851 vd = rvd->vdev_child[c]; in dump_metaslabs()
869 vd = rvd->vdev_child[c]; in dump_metaslabs()
1051 dump_dtl(vd->vdev_child[c], indent + 4); in dump_dtl()
2551 vdev_t *vd = rvd->vdev_child[c]; in zdb_leak_init()
2606 vdev_t *vd = rvd->vdev_child[c]; in zdb_leak_fini()
3182 vdev = vdev->vdev_child[i]; in zdb_vdev_lookup()
3189 vdev_t *vc = vdev->vdev_child[i]; in zdb_vdev_lookup()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h147 vdev_t **vdev_child; /* array of children */ member
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c1003 tvd = rvd->vdev_child[top]; in ztest_random_vdev_top()
2461 if ((mvd = vdev_lookup_by_path(vd->vdev_child[c], path)) != in vdev_lookup_by_path()
2480 vdev_t *cvd = rvd->vdev_child[c]; in find_vdev_hole()
2678 vdev_t *tvd = rvd->vdev_child[c]; in ztest_split_pool()
2784 oldvd = rvd->vdev_child[top]; in ztest_vdev_attach_detach()
2788 oldvd = oldvd->vdev_child[leaf / ztest_opts.zo_raidz]; in ztest_vdev_attach_detach()
2793 oldvd = oldvd->vdev_child[leaf % ztest_opts.zo_raidz]; in ztest_vdev_attach_detach()
2803 oldvd = oldvd->vdev_child[ztest_random(oldvd->vdev_children)]; in ztest_vdev_attach_detach()
3022 vdev_t *cvd = vd->vdev_child[c]; in vdev_walk_tree()
3049 tvd = spa->spa_root_vdev->vdev_child[top]; in ztest_vdev_LUN_growth()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1557 (uintptr_t)vdev.vdev_child) == -1) { in do_print_vdev()
1558 mdb_warn("failed to read vdev children at %p", vdev.vdev_child); in do_print_vdev()
1673 GETMEMB(root_vdevp, "vdev", vdev_child, childp)) { in metaslab_walk_init()