Lines Matching refs:intval

256 	uint64_t intval;  in zpool_get_prop()  local
274 intval = zpool_get_prop_int(zhp, prop, &src); in zpool_get_prop()
275 (void) snprintf(buf, len, "%llu", intval); in zpool_get_prop()
310 intval = zpool_get_prop_int(zhp, prop, &src); in zpool_get_prop()
321 (u_longlong_t)intval); in zpool_get_prop()
323 (void) zfs_nicenum(intval, buf, len); in zpool_get_prop()
329 if (intval == 0) { in zpool_get_prop()
333 (u_longlong_t)intval); in zpool_get_prop()
335 (void) zfs_nicebytes(intval, buf, len); in zpool_get_prop()
341 (u_longlong_t)intval); in zpool_get_prop()
344 (u_longlong_t)intval); in zpool_get_prop()
348 if (intval == UINT64_MAX) { in zpool_get_prop()
352 (u_longlong_t)intval); in zpool_get_prop()
355 (u_longlong_t)intval); in zpool_get_prop()
361 (u_longlong_t)(intval / 100), in zpool_get_prop()
362 (u_longlong_t)(intval % 100)); in zpool_get_prop()
365 (u_longlong_t)(intval / 100), in zpool_get_prop()
366 (u_longlong_t)(intval % 100)); in zpool_get_prop()
375 (void) strlcpy(buf, zpool_state_to_name(intval, in zpool_get_prop()
379 if (intval >= SPA_VERSION_FEATURES) { in zpool_get_prop()
385 (void) snprintf(buf, len, "%llu", intval); in zpool_get_prop()
390 intval = zpool_get_prop_int(zhp, prop, &src); in zpool_get_prop()
391 if (zpool_prop_index_to_string(prop, intval, &strval) in zpool_get_prop()
452 uint64_t intval; in zpool_valid_proplist() local
523 &strval, &intval, errbuf) != 0) in zpool_valid_proplist()
531 if (intval < version || in zpool_valid_proplist()
532 !SPA_VERSION_IS_SUPPORTED(intval)) { in zpool_valid_proplist()
535 propname, intval); in zpool_valid_proplist()
552 if (intval != 0 && in zpool_valid_proplist()
553 (intval < ASHIFT_MIN || intval > ASHIFT_MAX)) { in zpool_valid_proplist()
558 propname, intval, ASHIFT_MIN, ASHIFT_MAX); in zpool_valid_proplist()