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.c4112 vdev_t *raidvd = cvd->vdev_parent; in vdev_raidz_xlate() local
4113 ASSERT(raidvd->vdev_ops == &vdev_raidz_ops); in vdev_raidz_xlate()
4115 vdev_raidz_t *vdrz = raidvd->vdev_tsd; in vdev_raidz_xlate()
4134 uint64_t ashift = raidvd->vdev_top->vdev_ashift; in vdev_raidz_xlate()
4208 vdev_t *raidvd = vdev_lookup_top(spa, vre->vre_vdev_id); in raidz_reflow_complete_sync() local
4209 vdev_raidz_t *vdrz = raidvd->vdev_tsd; in raidz_reflow_complete_sync()
4236 raidvd->vdev_ms_count << raidvd->vdev_ms_shift); in raidz_reflow_complete_sync()
4259 raidvd->vdev_rz_expanding = B_FALSE; in raidz_reflow_complete_sync()
4591 vdev_t *raidvd = vdev_lookup_top(spa, vre->vre_vdev_id); in raidz_reflow_scratch_sync() local
4592 int ashift = raidvd->vdev_ashift; in raidz_reflow_scratch_sync()
[all …]
H A Dvdev_draid.c2304 vdev_t *raidvd = cvd->vdev_parent; in vdev_draid_xlate() local
2305 ASSERT(raidvd->vdev_ops == &vdev_draid_ops); in vdev_draid_xlate()
2307 vdev_draid_config_t *vdc = raidvd->vdev_tsd; in vdev_draid_xlate()
2308 uint64_t ashift = raidvd->vdev_top->vdev_ashift; in vdev_draid_xlate()
2322 uint64_t astart = vdev_draid_get_astart(raidvd, logical_start); in vdev_draid_xlate()
2339 uint64_t group = vdev_draid_offset_to_group(raidvd, logical_start); in vdev_draid_xlate()
2340 uint64_t nextstart = vdev_draid_group_to_offset(raidvd, group + 1); in vdev_draid_xlate()
2346 uint64_t start = vdev_draid_logical_to_physical(raidvd, in vdev_draid_xlate()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3094 vdev_t *raidvd; in ztest_get_raidz_children() local
3099 raidvd = ztest_spa->spa_root_vdev->vdev_child[0]; in ztest_get_raidz_children()
3101 ASSERT(raidvd->vdev_ops == &vdev_raidz_ops); in ztest_get_raidz_children()
3103 return (raidvd->vdev_children); in ztest_get_raidz_children()
3924 vdev_t *raidvd; in raidz_scratch_verify() local
3951 raidvd = vdev_lookup_top(spa, vre->vre_vdev_id); in raidz_scratch_verify()
3954 write_size = P2ALIGN_TYPED(VDEV_BOOT_SIZE, 1 << raidvd->vdev_ashift, in raidz_scratch_verify()
3956 logical_size = write_size * raidvd->vdev_children; in raidz_scratch_verify()