Home
last modified time | relevance | path

Searched refs:vs_space (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libzpool/common/
H A Dutil.c91 nicenum(vs->vs_space - vs->vs_alloc, avail, sizeof (avail)); in show_vdev_stats()
105 (int)(indent+strlen(desc)-25-(vs->vs_space ? 0 : 12)), in show_vdev_stats()
107 vs->vs_space ? 6 : 0, vs->vs_space ? used : "", in show_vdev_stats()
108 vs->vs_space ? 6 : 0, vs->vs_space ? avail : "", in show_vdev_stats()
/illumos-gate/usr/src/cmd/availdevs/
H A Davaildevs.c147 set_uint64_prop(pool, ATTR_POOL_SIZE, vs->vs_space); in add_pool_to_xml()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev.c887 ASSERT0(vd->vdev_stat.vs_space); in vdev_free()
1009 tvd->vdev_stat.vs_space = svd->vdev_stat.vs_space; in vdev_top_transfer()
1013 svd->vdev_stat.vs_space = 0; in vdev_top_transfer()
3877 vd->vdev_stat.vs_space = 0; in vdev_clear_stats()
4110 vd->vdev_stat.vs_space += space_delta; in vdev_space_update()
4119 rvd->vdev_stat.vs_space += space_delta; in vdev_space_update()
H A Dmetaslab.c714 mg->mg_free_capacity = ((vs->vs_space - vs->vs_alloc) * 100) / in metaslab_group_alloc_update()
715 (vs->vs_space + 1); in metaslab_group_alloc_update()
974 return (vs->vs_space != 0 && mg->mg_activation_count > 0); in metaslab_group_initialized()
5155 vu = (vs->vs_alloc * 100) / (vs->vs_space + 1); in metaslab_alloc_dva()
H A Dvdev_removal.c1165 ASSERT0(vd->vdev_stat.vs_space); in vdev_remove_complete()
H A Dspa_misc.c1838 vd->vdev_stat.vs_dspace : vd->vdev_stat.vs_space; in spa_update_dspace()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dzfs.h1048 uint64_t vs_space; /* total capacity */ member
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c3944 if (vs->vs_space == 0) { in print_iostat_default()
3953 print_one_stat(vs->vs_space - vs->vs_alloc, format, in print_iostat_default()
5226 boolean_t toplevel = (vs->vs_space != 0); in print_list_stats()
5253 print_one_column(ZPOOL_PROP_SIZE, vs->vs_space, NULL, scripted, in print_list_stats()
5257 print_one_column(ZPOOL_PROP_FREE, vs->vs_space - vs->vs_alloc, in print_list_stats()
5267 cap = (vs->vs_space == 0) ? 0 : in print_list_stats()
5268 (vs->vs_alloc * 10000 / vs->vs_space); in print_list_stats()
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_pool.c1090 bean->method_setSize, (jlong)vs->vs_space); in populate_DeviceStatsBean()