Home
last modified time | relevance | path

Searched refs:vdev_asize (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev.c122 return (vd->vdev_asize); in vdev_get_min_asize()
129 return (P2ALIGN(vd->vdev_asize, 1ULL << vd->vdev_ms_shift)); in vdev_get_min_asize()
514 &vd->vdev_asize); in vdev_alloc()
767 mvd->vdev_asize = cvd->vdev_asize; in vdev_add_parent()
836 uint64_t newc = vd->vdev_asize >> vd->vdev_ms_shift; in vdev_metaslab_init()
1264 if (vd->vdev_asize == 0) { in vdev_open()
1269 vd->vdev_asize = asize; in vdev_open()
1293 if (vd->vdev_state == VDEV_STATE_HEALTHY && asize > vd->vdev_asize && in vdev_open()
1295 vd->vdev_asize = asize; in vdev_open()
1604 vd->vdev_ms_shift = highbit64(vd->vdev_asize / metaslabs_per_vdev); in vdev_metaslab_set_size()
[all …]
H A Dvdev_mirror.c156 *asize = MIN(*asize - 1, cvd->vdev_asize - 1) + 1; in vdev_mirror_open()
H A Dvdev_label.c280 vd->vdev_asize); in vdev_config_generate()
H A Dmetaslab.c383 space += tvd->vdev_max_asize - tvd->vdev_asize; in metaslab_class_expandable_space()
2280 distance = vd->vdev_asize >> dshift; in metaslab_alloc_dva()
H A Dvdev_raidz.c1501 *asize = MIN(*asize - 1, cvd->vdev_asize - 1) + 1; in vdev_raidz_open()
H A Dspa.c4545 if (newvd->vdev_asize < vdev_get_min_asize(oldvd)) in spa_vdev_attach()
5017 vml[c]->vdev_top->vdev_asize) == 0); in spa_vdev_split_mirror()
H A Dzio.c681 if (offset + asize > vd->vdev_asize) { in zfs_blkptr_verify()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h134 uint64_t vdev_asize; /* allocatable device capacity */ member