Lines Matching refs:vs

1299 	vdev_stat_t *vs;
1312 (uint64_t **)&vs, &vsc) == 0);
1314 state = zpool_state_to_name(vs->vs_state, vs->vs_aux);
1320 if (vs->vs_aux == VDEV_AUX_SPARED)
1322 else if (vs->vs_state == VDEV_STATE_HEALTHY)
1330 zfs_nicenum(vs->vs_read_errors, rbuf, sizeof (rbuf));
1331 zfs_nicenum(vs->vs_write_errors, wbuf, sizeof (wbuf));
1332 zfs_nicenum(vs->vs_checksum_errors, cbuf, sizeof (cbuf));
1338 vs->vs_state <= VDEV_STATE_CANT_OPEN) {
1342 } else if (vs->vs_aux != 0) {
1345 switch (vs->vs_aux) {
1414 vs->vs_configured_ashift < vs->vs_physical_ashift) {
1417 1 << vs->vs_configured_ashift, 1 << vs->vs_physical_ashift);
1424 vs->vs_scan_processed != 0 && children == 0) {
1459 vdev_stat_t *vs;
1468 (uint64_t **)&vs, &c) == 0);
1471 (void) printf(" %s", zpool_state_to_name(vs->vs_state, vs->vs_aux));
1473 if (vs->vs_aux != 0) {
1476 switch (vs->vs_aux) {
1591 vdev_stat_t *vs;
1612 (uint64_t **)&vs, &vsc) == 0);
1613 health = zpool_state_to_name(vs->vs_state, vs->vs_aux);
1713 if (vs->vs_state == VDEV_STATE_HEALTHY) {
1729 } else if (vs->vs_state == VDEV_STATE_DEGRADED) {
1776 if (((vs->vs_state == VDEV_STATE_CLOSED) ||
1777 (vs->vs_state == VDEV_STATE_CANT_OPEN)) &&
1778 (vs->vs_aux == VDEV_AUX_CORRUPT_DATA)) {
2909 vdev_stat_t *vs;
2915 (uint64_t **)&vs, &c) == 0);
2927 if (vs->vs_space == 0) {
2933 print_one_column(ZPOOL_PROP_SIZE, vs->vs_space,
2935 print_one_column(ZPOOL_PROP_CAPACITY, vs->vs_alloc,
2938 vs->vs_space - vs->vs_alloc, scripted);
2940 print_one_column(ZPOOL_PROP_EXPANDSZ, vs->vs_esize,
4080 vdev_stat_t *vs;
4112 (uint64_t **)&vs, &c) == 0);
4113 health = zpool_state_to_name(vs->vs_state, vs->vs_aux);