Lines Matching refs:zstd_level
177 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()
521 ASSERT3U(zstd_level, !=, 0); in zfs_zstd_compress_impl()
535 ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, zstd_level); in zfs_zstd_compress_impl()
611 int16_t zstd_level; in zfs_zstd_compress_buf() local
612 if (zstd_enum_to_level(level, &zstd_level)) { in zfs_zstd_compress_buf()
637 if (zstd_earlyabort_pass > 0 && zstd_level >= zstd_cutoff_level && in zfs_zstd_compress_buf()
678 int16_t zstd_level; in zfs_zstd_decompress_level_buf() local
704 if (zstd_enum_to_level(curlevel, &zstd_level)) { in zfs_zstd_decompress_level_buf()