Home
last modified time | relevance | path

Searched refs:zstd_level (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/
H A Dzfs_zstd.c177 int16_t zstd_level; member
425 zstd_enum_to_level(enum zio_zstd_levels level, int16_t *zstd_level) in zstd_enum_to_level() argument
428 *zstd_level = zstd_levels[level - 1].zstd_level; in zstd_enum_to_level()
433 *zstd_level = zstd_levels[level - ZIO_ZSTD_LEVEL_FAST_1 in zstd_enum_to_level()
434 + ZIO_ZSTD_LEVEL_19].zstd_level; in zstd_enum_to_level()
447 int16_t zstd_level; in zfs_zstd_compress_wrap() local
448 if (zstd_enum_to_level(level, &zstd_level)) { in zfs_zstd_compress_wrap()
473 if (zstd_earlyabort_pass > 0 && zstd_level >= zstd_cutoff_level && in zfs_zstd_compress_wrap()
507 int16_t zstd_level; in zfs_zstd_compress_impl() local
514 if (zstd_enum_to_level(level, &zstd_level)) { in zfs_zstd_compress_impl()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_decompress_zstd.ksh87 read -r zstd_size zstd_version zstd_level < <(sed -Ene 's/^.+ ZSTD:size=([^:]+):version=([^:]+):lev…
94 log_note "ZSTD level $zstd_level"
95 (( $zstd_level != $random_level )) && log_fail \
96 "zdb -Z failed: compression level did not match header level ($zstd_level < $random_level)"