MCPcopy Create free account
hub / github.com/F-Stack/f-stack / zfs_nicebytes

Function zfs_nicebytes

freebsd/contrib/openzfs/lib/libzutil/zutil_nicenum.c:168–172  ·  view source on GitHub ↗

* Convert a number of bytes to an appropriately human-readable output. */

Source from the content-addressed store, hash-verified

166 * Convert a number of bytes to an appropriately human-readable output.
167 */
168void
169zfs_nicebytes(uint64_t num, char *buf, size_t buflen)
170{
171 zfs_nicenum_format(num, buf, buflen, ZFS_NICENUM_BYTES);
172}

Callers 15

dump_ddt_statFunction · 0.85
zfs_valid_proplistFunction · 0.85
zfs_prop_getFunction · 0.85
zfs_prop_get_userquotaFunction · 0.85
zfs_prop_get_writtenFunction · 0.85
send_progress_threadFunction · 0.85
send_print_verboseFunction · 0.85
zfs_sendFunction · 0.85
zfs_receive_oneFunction · 0.85
zpool_get_propFunction · 0.85
zpool_createFunction · 0.85
zpool_addFunction · 0.85

Calls 1

zfs_nicenum_formatFunction · 0.70

Tested by

no test coverage detected