Lines Matching refs:format
62 enum zfs_nicenum_format format) in zfs_nicenum_format() argument
83 if (format == ZFS_NICENUM_RAW) { in zfs_nicenum_format()
86 } else if (format == ZFS_NICENUM_RAWTIME && num > 0) { in zfs_nicenum_format()
89 } else if (format == ZFS_NICENUM_RAWTIME && num == 0) { in zfs_nicenum_format()
94 while (n >= k_unit[format] && index < units_len[format]) { in zfs_nicenum_format()
95 n /= k_unit[format]; in zfs_nicenum_format()
99 u = units[format][index]; in zfs_nicenum_format()
102 if ((format == ZFS_NICENUM_TIME) && (num == 0)) { in zfs_nicenum_format()
105 (uint64_t)powl(k_unit[format], index)) == 0)) { in zfs_nicenum_format()
125 (uint64_t)powl(k_unit[format], index); in zfs_nicenum_format()
135 if (format == ZFS_NICENUM_TIME) { in zfs_nicenum_format()