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.c4114 vdev_t *raidvd = cvd->vdev_parent; in vdev_raidz_xlate() local
4115 ASSERT(raidvd->vdev_ops == &vdev_raidz_ops); in vdev_raidz_xlate()
4117 vdev_raidz_t *vdrz = raidvd->vdev_tsd; in vdev_raidz_xlate()
4136 uint64_t ashift = raidvd->vdev_top->vdev_ashift; in vdev_raidz_xlate()
4210 vdev_t *raidvd = vdev_lookup_top(spa, vre->vre_vdev_id); in raidz_reflow_complete_sync() local
4211 vdev_raidz_t *vdrz = raidvd->vdev_tsd; in raidz_reflow_complete_sync()
4238 raidvd->vdev_ms_count << raidvd->vdev_ms_shift); in raidz_reflow_complete_sync()
4261 raidvd->vdev_rz_expanding = B_FALSE; in raidz_reflow_complete_sync()
4593 vdev_t *raidvd = vdev_lookup_top(spa, vre->vre_vdev_id); in raidz_reflow_scratch_sync() local
4594 int ashift = raidvd->vdev_ashift; in raidz_reflow_scratch_sync()
[all …]
H A Dvdev_draid.c2305 vdev_t *raidvd = cvd->vdev_parent; in vdev_draid_xlate() local
2306 ASSERT(raidvd->vdev_ops == &vdev_draid_ops); in vdev_draid_xlate()
2308 vdev_draid_config_t *vdc = raidvd->vdev_tsd; in vdev_draid_xlate()
2309 uint64_t ashift = raidvd->vdev_top->vdev_ashift; in vdev_draid_xlate()
2323 uint64_t astart = vdev_draid_get_astart(raidvd, logical_start); in vdev_draid_xlate()
2340 uint64_t group = vdev_draid_offset_to_group(raidvd, logical_start); in vdev_draid_xlate()
2341 uint64_t nextstart = vdev_draid_group_to_offset(raidvd, group + 1); in vdev_draid_xlate()
2347 uint64_t start = vdev_draid_logical_to_physical(raidvd, in vdev_draid_xlate()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c3295 vdev_t *raidvd; in ztest_get_raidz_children() local
3300 raidvd = ztest_spa->spa_root_vdev->vdev_child[0]; in ztest_get_raidz_children()
3302 ASSERT(raidvd->vdev_ops == &vdev_raidz_ops); in ztest_get_raidz_children()
3304 return (raidvd->vdev_children); in ztest_get_raidz_children()
4125 vdev_t *raidvd; in raidz_scratch_verify() local
4152 raidvd = vdev_lookup_top(spa, vre->vre_vdev_id); in raidz_scratch_verify()
4155 write_size = P2ALIGN_TYPED(VDEV_BOOT_SIZE, 1 << raidvd->vdev_ashift, in raidz_scratch_verify()
4157 logical_size = write_size * raidvd->vdev_children; in raidz_scratch_verify()