Lines Matching defs:num
575 zfs_nicenum(uint64_t num, char *buf, size_t buflen)
577 uint64_t n = num;
590 } else if ((num & ((1ULL << 10 * index) - 1)) == 0) {
609 (double)num / (1ULL << 10 * index), u) <= 5)
1130 zfs_nicestrtonum(libzfs_handle_t *hdl, const char *value, uint64_t *num)
1135 *num = 0;
1147 *num = strtoull(value, &end, 10);
1179 *num = (uint64_t)fval;
1185 if (shift >= 64 || (*num << shift) >> shift != *num) {
1192 *num <<= shift;