Lines Matching +full:big +full:- +full:endian +full:- +full:desc
9 * or https://opensource.org/licenses/CDDL-1.0.
46 show_vdev_stats(const char *desc, const char *ctype, nvlist_t *nv, int indent) in show_vdev_stats() argument
59 if (indent == 0 && desc != NULL) { in show_vdev_stats()
61 " capacity operations bandwidth ---- errors ----\n"); in show_vdev_stats()
66 if (desc != NULL) { in show_vdev_stats()
86 sec = MAX(1, vs->vs_timestamp / NANOSEC); in show_vdev_stats()
88 nicenum(vs->vs_alloc, used, sizeof (used)); in show_vdev_stats()
89 nicenum(vs->vs_space - vs->vs_alloc, avail, sizeof (avail)); in show_vdev_stats()
90 nicenum(vs->vs_ops[ZIO_TYPE_READ] / sec, rops, sizeof (rops)); in show_vdev_stats()
91 nicenum(vs->vs_ops[ZIO_TYPE_WRITE] / sec, wops, sizeof (wops)); in show_vdev_stats()
92 nicenum(vs->vs_bytes[ZIO_TYPE_READ] / sec, rbytes, in show_vdev_stats()
94 nicenum(vs->vs_bytes[ZIO_TYPE_WRITE] / sec, wbytes, in show_vdev_stats()
96 nicenum(vs->vs_read_errors, rerr, sizeof (rerr)); in show_vdev_stats()
97 nicenum(vs->vs_write_errors, werr, sizeof (werr)); in show_vdev_stats()
98 nicenum(vs->vs_checksum_errors, cerr, sizeof (cerr)); in show_vdev_stats()
102 desc, in show_vdev_stats()
103 (int)(indent+strlen(desc)-25-(vs->vs_space ? 0 : 12)), in show_vdev_stats()
105 vs->vs_space ? 6 : 0, vs->vs_space ? used : "", in show_vdev_stats()
106 vs->vs_space ? 6 : 0, vs->vs_space ? avail : "", in show_vdev_stats()
173 "be a 32-bit unsigned integer, got '%s'\n", k, v_str); in set_global_var_parse_kv()
190 * Sets given global variable in libzpool to given unsigned 32-bit value.
203 * On big endian systems changing a 64-bit variable would set the high in set_global_var()
208 "little-endian systems\n"); in set_global_var()
273 return (-1); in pool_active()
290 (void) strlcpy(zc->zc_name, name, sizeof (zc->zc_name)); in pool_active()
298 free((void *)(uintptr_t)zc->zc_nvlist_dst); in pool_active()
306 (void) strlcpy(zcl->zc_name, name, sizeof (zcl->zc_name)); in pool_active()
314 free((void *)(uintptr_t)zcl->zc_nvlist_dst); in pool_active()
338 return (-1); in pool_active()
344 (void) strlcpy(zcp->zc_name, name, sizeof (zcp->zc_name)); in pool_active()
348 free((void *)(uintptr_t)zcp->zc_nvlist_dst); in pool_active()