Searched refs:vdev_asize (Results 1 – 8 of 8) sorted by relevance
122 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 …]
156 *asize = MIN(*asize - 1, cvd->vdev_asize - 1) + 1; in vdev_mirror_open()
280 vd->vdev_asize); in vdev_config_generate()
383 space += tvd->vdev_max_asize - tvd->vdev_asize; in metaslab_class_expandable_space()2280 distance = vd->vdev_asize >> dshift; in metaslab_alloc_dva()
1501 *asize = MIN(*asize - 1, cvd->vdev_asize - 1) + 1; in vdev_raidz_open()
4545 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()
681 if (offset + asize > vd->vdev_asize) { in zfs_blkptr_verify()
134 uint64_t vdev_asize; /* allocatable device capacity */ member