Lines Matching defs:compression
60 * enum ntfs_compression_constants - constants used in the compression code
265 * If compression is not effective, the header and an uncompressed
321 * compression modes of zlib. */
443 /* Free the compression context and return the total number of bytes
450 * ntfs_decompress - decompress a compression block into an array of pages
453 * @cb_start: compression block to decompress
454 * @cb_size: size of compression block @cb_start in bytes
456 * This decompresses the compression block @cb_start into the destination
459 * @cb_start is a pointer to the compression block which needs decompressing
468 * Pointers into the compressed data, i.e. the compression block (cb),
488 * Have we reached the end of the compression block or the end of the
490 * position in the compression block is one byte before its end so the
720 FILE_ATTR_FLAGS compression;
727 compression = na->ni->flags & FILE_ATTR_COMPRESSED;
756 ntfs_log_error("Unsupported compression block size %ld\n",
777 /* Need a temporary buffer for each loaded compression block. */
789 * The first vcn in the first compression block (cb) which we need to
801 /* Number of compression blocks (cbs) in the wanted vcn range. */
811 /* Check whether the compression block is sparse. */
824 ntfs_log_debug("Found sparse compression block.\n");
837 ntfs_log_debug("Found uncompressed compression block.\n");
867 na->ni->flags |= compression;
884 na->ni->flags |= compression;
895 ntfs_log_debug("Found compressed compression block.\n");
927 na->ni->flags |= compression;
941 na->ni->flags |= compression;
946 ntfs_log_debug("Successfully read the compression block.\n");
1434 * Free unneeded clusters after compression
1566 ntfs_log_error("Bad end of a compression block set\n");
1570 ntfs_log_error("No cluster to free after compression\n");
1619 * Flush a full compression block
1712 ntfs_log_error("Unsupported compression block size %ld\n",
1725 * Cannot accept writing beyond the current compression set
1726 * because when compression occurs, clusters are freed
1773 * The set of compression blocks contains compressed data
1822 * if compression was not successful,
1841 * if the compression block is not full, or
1842 * if compression failed for whatever reason,
1867 * This compresses the last partial compression block of the file.
1899 ntfs_log_error("Unsupported compression block size %ld\n",
1949 /* if compression failed, leave uncompressed */