Home
last modified time | relevance | path

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

/netbsd/external/cddl/osnet/dist/lib/libzpool/common/
H A Dutil.c99 nicenum(vs->vs_space - vs->vs_alloc, avail); in show_vdev_stats()
111 (int)(indent + strlen(prefix) - 25 - (vs->vs_space ? 0 : 12)), in show_vdev_stats()
113 vs->vs_space ? 6 : 0, vs->vs_space ? used : "", in show_vdev_stats()
114 vs->vs_space ? 6 : 0, vs->vs_space ? avail : "", in show_vdev_stats()
/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dvdev.c735 ASSERT0(vd->vdev_stat.vs_space); in vdev_free()
823 tvd->vdev_stat.vs_space = svd->vdev_stat.vs_space; in vdev_top_transfer()
827 svd->vdev_stat.vs_space = 0; in vdev_top_transfer()
2946 vd->vdev_stat.vs_space = 0; in vdev_clear_stats()
3134 vd->vdev_stat.vs_space += space_delta; in vdev_space_update()
3141 rvd->vdev_stat.vs_space += space_delta; in vdev_space_update()
H A Dmetaslab.c602 mg->mg_free_capacity = ((vs->vs_space - vs->vs_alloc) * 100) / in metaslab_group_alloc_update()
603 (vs->vs_space + 1); in metaslab_group_alloc_update()
775 return (vs->vs_space != 0 && mg->mg_activation_count > 0); in metaslab_group_initialized()
3152 vu = (vs->vs_alloc * 100) / (vs->vs_space + 1); in metaslab_alloc_dva()
/netbsd/external/cddl/osnet/dist/cmd/zpool/
H A Dzpool_main.c2402 if (newvs->vs_space == 0) { in print_vdev_stats()
2406 print_one_stat(newvs->vs_space - newvs->vs_alloc); in print_vdev_stats()
2981 boolean_t toplevel = (vs->vs_space != 0); in print_list_stats()
2998 print_one_column(ZPOOL_PROP_SIZE, vs->vs_space, scripted, in print_list_stats()
3002 print_one_column(ZPOOL_PROP_FREE, vs->vs_space - vs->vs_alloc, in print_list_stats()
3009 cap = (vs->vs_space == 0) ? 0 : in print_list_stats()
3010 (vs->vs_alloc * 100 / vs->vs_space); in print_list_stats()
/netbsd/external/cddl/osnet/dist/uts/common/sys/fs/
H A Dzfs.h756 uint64_t vs_space; /* total capacity */ member