Lines Matching defs:compression

46 #include "compression.h"
822 * Check if the inode needs to be submitted to compression, based on mount
832 KERN_ERR "BTRFS: unexpected compression for ino %llu\n",
850 * So here we add an artificial limit that subpage compression can only
854 * the tailing partial page will be locked until the full compression
874 /* bad compression ratios */
894 * Work queue call back to started compression on a file and pages.
896 * This is done inside an ordered work queue, and the compression is spread
901 * If this code finds it can't get good compression, it puts an entry onto the
956 * compression, that's just a waste of CPU time. So, if the
970 * Skip compression for a small file range(<=blocksize) that
994 * We do compression for mount -o compress and when the inode has not
996 * discover bad compression ratios.
1058 * One last check to make sure the compression is really a win, compare
1059 * the page count read with the blocks on disk, compression must free at
6156 /* 1 to add compression property */
6198 * Currently only the compression flags and the cow flags are inherited.
7559 * compression on the data, while keeping the pages locked, so by the
7564 * are locked, likely due to compression still in progress, we don't want
7566 * dirty or under writeback (same as for the non-compression case).
7907 * compression enabled. The first filemap_fdatawrite_range() only kicks
7908 * in the compression of data (in an async thread) and will return
7909 * before the compression is done and writeback is started. A second
7910 * filemap_fdatawrite_range() is needed to wait for the compression to
9827 encoded->compression = ret;
9828 if (encoded->compression) {
10101 encoded->compression = ret;
10130 encoded->compression,
10158 int compression;
10169 switch (encoded->compression) {
10171 compression = BTRFS_COMPRESS_ZLIB;
10174 compression = BTRFS_COMPRESS_ZSTD;
10182 if (encoded->compression -
10186 compression = BTRFS_COMPRESS_LZO;
10212 * size, but the buffered I/O path falls back to no compression for such
10318 orig_count, compression, folios[0],
10335 ins.offset, ins.offset, ram_bytes, compression,
10348 compression);