Lines Matching full:compression
22 * ntfs_compression_constants - enum of constants used in the compression code
30 /* Compression sub-block constants. */
36 * The maximum compression block size is by definition 16 * the cluster
38 * maximum compression buffer size is 64kiB, so we use this when
39 * initializing the compression buffer.
115 * ntfs_decompress - decompress a compression block into an array of pages
124 * @cb_start: compression block to decompress (IN)
125 * @cb_size: size of compression block @cb_start in bytes (IN)
132 * This decompresses the compression block @cb_start into the array of
139 * @cb_start is a pointer to the compression block which needs decompressing
144 * completed during the decompression of the compression block (@cb_start).
150 * the compression block @cb_start as it is a per-CPU buffer.
159 * Pointers into the compressed data, i.e. the compression block (cb), in ntfs_decompress()
190 * Have we reached the end of the compression block or the end of the in ntfs_decompress()
192 * position in the compression block is one byte before its end so the in ntfs_decompress()
429 * @page: locked page in the compression block(s) we need to read
434 * 1. Determine which compression block(s) @page is in.
435 * 2. Get hold of all pages corresponding to this/these compression block(s).
436 * 3. Read the (first) compression block.
438 * 5. Throw the compressed data away and proceed to 3. for the next compression
439 * block or return success if no more compression blocks left.
458 * nature of the compression algorithm used. Just in case we check and output
489 /* Number of compression blocks (cbs) in the wanted vcn range. */ in ntfs_read_compressed_block()
494 * compression blocks (cbs) overlapping @page. Due to alignment in ntfs_read_compressed_block()
585 * Now read the first compression block. in ntfs_read_compressed_block()
694 * Get the compression buffer. We must not sleep any more in ntfs_read_compressed_block()
719 ntfs_debug("Successfully read the compression block."); in ntfs_read_compressed_block()
726 /* Catch end of file inside a compression block. */ in ntfs_read_compressed_block()
732 ntfs_debug("Found sparse compression block."); in ntfs_read_compressed_block()
779 ntfs_debug("Found uncompressed compression block."); in ntfs_read_compressed_block()
844 ntfs_debug("Found compressed compression block."); in ntfs_read_compressed_block()
856 "this compression block.", in ntfs_read_compressed_block()
922 "compression block."); in ntfs_read_compressed_block()
928 "compression block."); in ntfs_read_compressed_block()
933 ntfs_error(vol->sb, "getblk() failed. Cannot read compression block."); in ntfs_read_compressed_block()