/illumos-gate/usr/src/cmd/tbl/ |
H A D | tg.c | 27 char *vs; local 41 vs = vsize[stynum[ilin]][icol]; 42 if ((sz && *sz) || (vs && *vs)) 45 if (vs==0 || *vs==0) vs= "\\n(.s+2"; 48 fprintf(tabout, ".vs %s\n",vs); 66 if (sz && *sz) fprintf(tabout, ".br\n.ps\n.vs\ [all...] |
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | vmstate.c | 56 Vmstat_t vs; member in struct:State_s 73 *pn = state->vs.extent; 77 *pn = state->vs.n_seg; 79 *pn = state->vs.s_busy; 81 *pn = state->vs.n_busy; 83 *pn = state->vs.m_busy; 85 *pn = state->vs.s_free; 87 *pn = state->vs.n_free; 89 *pn = state->vs.m_free; 104 Vmstat_t vs; local [all...] |
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | bootconf.c | 111 char *ks, *ke, *vs, *ve; local 176 vs = p; 231 if (nvlist_add_string(nvl, ks, vs) != 0) {
|
/illumos-gate/usr/src/cmd/fm/schemes/zfs/ |
H A D | scheme.c | 224 vdev_stat_t *vs; local 228 (uint64_t **)&vs, &c); 230 ret = (vs->vs_state < VDEV_STATE_DEGRADED);
|
/illumos-gate/usr/src/cmd/availdevs/ |
H A D | availdevs.c | 127 vdev_stat_t *vs; local 137 devices, ZPOOL_CONFIG_VDEV_STATS, (uint64_t **)&vs, &n)) { 146 set_uint64_prop(pool, ATTR_POOL_USED, vs->vs_alloc); 147 set_uint64_prop(pool, ATTR_POOL_SIZE, vs->vs_space); 148 set_uint64_prop(pool, ATTR_POOL_REPLACEMENT_SIZE, vs->vs_rsize); 150 vs->vs_bytes[ZIO_TYPE_READ]); 152 vs->vs_bytes[ZIO_TYPE_WRITE]); 154 vs->vs_ops[ZIO_TYPE_READ]); 156 vs->vs_ops[ZIO_TYPE_WRITE]); 157 set_uint64_prop(pool, ATTR_POOL_READ_ERRORS, vs [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_status.c | 124 vdev_stat_t *vs; local 145 (uint64_t **)&vs, &c) == 0); 147 if (func(vs->vs_state, vs->vs_aux, 148 vs->vs_read_errors + 149 vs->vs_write_errors + 150 vs->vs_checksum_errors)) 188 vdev_stat_t *vs; local 202 (uint64_t **)&vs, &vsc) == 0); 226 if (vs [all...] |
H A D | libzfs_pool.c | 251 vdev_stat_t *vs; local 352 ZPOOL_CONFIG_VDEV_STATS, (uint64_t **)&vs, &vsc) 356 vs->vs_aux), len); 3350 vdev_stat_t *vs; local 3369 (uint64_t **)&vs, &vsc) != 0 || 3370 vs->vs_state >= VDEV_STATE_DEGRADED) &&
|
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | dhcp_impl.h | 129 DHCP_OPT *vs[VS_OPTION_END - VS_OPTION_START + 1]; member in struct:dhcp_list
|
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | util.c | 71 vdev_stat_t *vs; local 95 (uint64_t **)&vs, &c) != 0) 96 vs = &v0; 98 sec = MAX(1, vs->vs_timestamp / NANOSEC); 100 nicenum(vs->vs_alloc, used); 101 nicenum(vs->vs_space - vs->vs_alloc, avail); 102 nicenum(vs->vs_ops[ZIO_TYPE_READ] / sec, rops); 103 nicenum(vs->vs_ops[ZIO_TYPE_WRITE] / sec, wops); 104 nicenum(vs [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_label.c | 134 * The 'vs' configuration follows the format described in 'spa_config.c'. 309 vdev_stat_t vs; local 312 vdev_get_stats(vd, &vs); 314 (uint64_t *)&vs, sizeof (vs) / sizeof (uint64_t));
|
H A D | vdev.c | 2735 vdev_get_stats(vdev_t *vd, vdev_stat_t *vs) argument 2744 bcopy(&vd->vdev_stat, vs, sizeof (*vs)); 2745 vs->vs_timestamp = gethrtime() - vs->vs_timestamp; 2746 vs->vs_state = vd->vdev_state; 2747 vs->vs_rsize = vdev_get_min_asize(vd); 2749 vs->vs_rsize += VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE; 2756 vs->vs_esize = P2ALIGN(vd->vdev_max_asize - vd->vdev_asize, 2760 vs 2795 vdev_stat_t *vs = &vd->vdev_stat; local 2813 vdev_stat_t *vs = &vd->vdev_stat; local [all...] |
H A D | metaslab.c | 505 vdev_stat_t *vs = &vd->vdev_stat; local 515 mg->mg_free_capacity = ((vs->vs_space - vs->vs_alloc) * 100) / 516 (vs->vs_space + 1); 684 vdev_stat_t *vs = &vd->vdev_stat; local 686 return (vs->vs_space != 0 && mg->mg_activation_count > 0); 1699 * vs. unloaded metaslabs to determine which metaslab is 3060 vdev_stat_t *vs = &vd->vdev_stat; local 3063 vu = (vs->vs_alloc * 100) / (vs [all...] |
H A D | zvol.c | 1485 zvol_getefi(void *arg, int flag, uint64_t vs, uint8_t bs) argument 1509 gpe.efi_gpe_EndingLBA = LE_64((vs >> bs) - 1); 1520 gpt.efi_gpt_LastUsableLBA = LE_64((vs >> bs) - 1); 1710 uint64_t vs = zv->zv_volsize; local 1714 error = zvol_getefi((void *)arg, flag, vs, bs);
|
H A D | spa.c | 3210 vdev_stat_t *vs; local 3241 (uint64_t **)&vs, &vsc) == 0); 3242 vs->vs_state = VDEV_STATE_CANT_OPEN; 3243 vs->vs_aux = VDEV_AUX_SPARED; 3260 vdev_stat_t *vs; local 3297 ZPOOL_CONFIG_VDEV_STATS, (uint64_t **)&vs, &vsc) 3299 vdev_get_stats(vd, vs);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky_subr.c | 503 vmem_seg_t vs; local 505 if (mdb_vread(&vs, sizeof (vs), addr) == -1) { 510 depth = MIN(vs.vs_depth, VMEM_STACK_DEPTH); 512 leaky_add_leak(TYPE_VMEM, addr, vs.vs_start, vs.vs_timestamp, 513 vs.vs_stack, depth, 0, (vs.vs_end - vs.vs_start)); 900 vmem_seg_t vs; local [all...] |
H A D | kmem.c | 2255 whatis_walk_seg(uintptr_t addr, const vmem_seg_t *vs, whatis_info_t *wi) argument 2259 size_t size = vs->vs_end - vs->vs_start; 2263 if (vs->vs_type != VMEM_ALLOC && vs->vs_type != VMEM_FREE) 2266 while (mdb_whatis_match(w, vs->vs_start, size, &cur)) { 2267 mdb_whatis_report_object(w, cur, vs->vs_start, ""); 2275 (vs->vs_type == VMEM_ALLOC && vs->vs_depth != 0))) { 2280 (vs 3645 vmem_seg_t vs; local [all...] |
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/ |
H A D | zfs_mod.c | 109 vdev_stat_t *vs; local 115 (uint64_t **)&vs, &c) == 0); 116 return (vs->vs_state);
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_activate.c | 885 vdev_stat_t *vs; local 895 (uint64_t **)&vs, &vsc) != 0) || 896 vs->vs_state < VDEV_STATE_DEGRADED) { 903 path, zpool_state_to_name(vs->vs_state, vs->vs_aux));
|
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_pool.c | 1071 vdev_stat_t *vs; local 1074 vdev, ZPOOL_CONFIG_VDEV_STATS, (uint64_t **)&vs, &c); 1082 bean->method_setUsed, (jlong)vs->vs_alloc); 1085 bean->method_setSize, (jlong)vs->vs_space); 1088 bean->method_setReplacementSize, (jlong)vs->vs_rsize); 1091 bean->method_setReadBytes, (jlong)vs->vs_bytes[ZIO_TYPE_READ]); 1094 bean->method_setWriteBytes, (jlong)vs->vs_bytes[ZIO_TYPE_WRITE]); 1097 bean->method_setReadOperations, (jlong)vs->vs_ops[ZIO_TYPE_READ]); 1100 bean->method_setWriteOperations, (jlong)vs->vs_ops[ZIO_TYPE_WRITE]); 1103 bean->method_setReadErrors, (jlong)vs [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_selfcred.c | 1556 char vs[64]; local 1561 (void) strcpy(vs, "yes"); 1563 (void) strcpy(vs, "no"); 1568 (void) sprintf(vs, "%lld", *(int64_t *)def_val); 1575 scf_strerror(scf_error()), vs);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | leaky_subr.c | 792 vmem_seg_t vs; local 821 if (mdb_vread(&vs, sizeof (vs), addr) == -1) { 826 depth = MIN(vs.vs_depth, VMEM_STACK_DEPTH); 828 leaky_add_leak(TYPE_VMEM, addr, vs.vs_start, vs.vs_timestamp, 829 vs.vs_stack, depth, 0, (vs.vs_end - vs.vs_start)); 1126 vmem_seg_t vs; local [all...] |
/illumos-gate/usr/src/cmd/sysdef/ |
H A D | sysdef.c | 125 int vs, tu, utsnm, bdev, pnstrpush, variable 368 vs = setup("v"); 386 for (nlptr = &nl[vs]; nlptr != &nl[endnm]; nlptr++) { 394 if (SYM_VALUE(vs)) { 395 MEMSEEK(vs);
|
/illumos-gate/usr/src/uts/common/io/nvme/ |
H A D | nvme.c | 1872 nvme_reg_vs_t vs; local 1880 vs.r = nvme_get32(nvme, NVME_REG_VS); 1881 nvme->n_version.v_major = vs.b.vs_mjr; 1882 nvme->n_version.v_minor = vs.b.vs_mnr;
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 1326 vdev_stat_t *vs; local 1338 (uint64_t **)&vs, &c) == 0); 1340 state = zpool_state_to_name(vs->vs_state, vs->vs_aux); 1346 if (vs->vs_aux == VDEV_AUX_SPARED) 1348 else if (vs->vs_state == VDEV_STATE_HEALTHY) 1356 zfs_nicenum(vs->vs_read_errors, rbuf, sizeof (rbuf)); 1357 zfs_nicenum(vs->vs_write_errors, wbuf, sizeof (wbuf)); 1358 zfs_nicenum(vs->vs_checksum_errors, cbuf, sizeof (cbuf)); 1367 } else if (vs 1474 vdev_stat_t *vs; local 1606 vdev_stat_t *vs; local 2944 vdev_stat_t *vs; local 4120 vdev_stat_t *vs; local [all...] |
/illumos-gate/usr/src/uts/common/io/usbgem/ |
H A D | usbgem.c | 4843 struct usbgem_stats *vs; local 4854 vs = &dp->stats; 4856 gs->glds_errxmt = vs->errxmt; 4857 gs->glds_errrcv = vs->errrcv; 4858 gs->glds_collisions = vs->collisions; 4860 gs->glds_excoll = vs->excoll; 4861 gs->glds_defer = vs->defer; 4862 gs->glds_frame = vs->frame; 4863 gs->glds_crc = vs->crc; 4865 gs->glds_overflow = vs [all...] |