Home
last modified time | relevance | path

Searched refs:raidvd (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz.c3658 vdev_t *raidvd = cvd->vdev_parent; in vdev_raidz_xlate() local
3659 ASSERT(raidvd->vdev_ops == &vdev_raidz_ops); in vdev_raidz_xlate()
3661 vdev_raidz_t *vdrz = raidvd->vdev_tsd; in vdev_raidz_xlate()
3680 uint64_t ashift = raidvd->vdev_top->vdev_ashift; in vdev_raidz_xlate()
3754 vdev_t *raidvd = vdev_lookup_top(spa, vre->vre_vdev_id); in raidz_reflow_complete_sync() local
3755 vdev_raidz_t *vdrz = raidvd->vdev_tsd; in raidz_reflow_complete_sync()
3782 raidvd->vdev_ms_count << raidvd->vdev_ms_shift); in raidz_reflow_complete_sync()
3805 raidvd->vdev_rz_expanding = B_FALSE; in raidz_reflow_complete_sync()
4137 vdev_t *raidvd = vdev_lookup_top(spa, vre->vre_vdev_id); in raidz_reflow_scratch_sync() local
4138 int ashift = raidvd->vdev_ashift; in raidz_reflow_scratch_sync()
[all …]
H A Dvdev_draid.c2086 vdev_t *raidvd = cvd->vdev_parent; in vdev_draid_xlate() local
2087 ASSERT(raidvd->vdev_ops == &vdev_draid_ops); in vdev_draid_xlate()
2089 vdev_draid_config_t *vdc = raidvd->vdev_tsd; in vdev_draid_xlate()
2090 uint64_t ashift = raidvd->vdev_top->vdev_ashift; in vdev_draid_xlate()
2104 uint64_t astart = vdev_draid_get_astart(raidvd, logical_start); in vdev_draid_xlate()
2121 uint64_t group = vdev_draid_offset_to_group(raidvd, logical_start); in vdev_draid_xlate()
2122 uint64_t nextstart = vdev_draid_group_to_offset(raidvd, group + 1); in vdev_draid_xlate()
2128 uint64_t start = vdev_draid_logical_to_physical(raidvd, in vdev_draid_xlate()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3137 vdev_t *raidvd; in ztest_get_raidz_children() local
3142 raidvd = ztest_spa->spa_root_vdev->vdev_child[0]; in ztest_get_raidz_children()
3144 ASSERT(raidvd->vdev_ops == &vdev_raidz_ops); in ztest_get_raidz_children()
3146 return (raidvd->vdev_children); in ztest_get_raidz_children()
3967 vdev_t *raidvd; in raidz_scratch_verify() local
3994 raidvd = vdev_lookup_top(spa, vre->vre_vdev_id); in raidz_scratch_verify()
3997 write_size = P2ALIGN_TYPED(VDEV_BOOT_SIZE, 1 << raidvd->vdev_ashift, in raidz_scratch_verify()
3999 logical_size = write_size * raidvd->vdev_children; in raidz_scratch_verify()