Lines Matching refs:compression
299 struct bch_compression_opt compression) in attempt_compress() argument
302 __bch2_compression_opt_to_type[compression.type]; in attempt_compress()
306 if (compression.level < LZ4HC_MIN_CLEVEL) { in attempt_compress()
320 compression.level, in attempt_compress()
335 compression.level in attempt_compress()
336 ? clamp_t(unsigned, compression.level, in attempt_compress()
355 unsigned level = min((compression.level * 3) / 2, zstd_max_clevel()); in attempt_compress()
388 struct bch_compression_opt compression) in __bio_compress() argument
393 __bch2_compression_opt_to_type[compression.type]; in __bio_compress()
425 compression); in __bio_compress()
650 f |= compression_opt_to_feature(c->opts.compression); in bch2_fs_compress_init()