Lines Matching full:compressed
3 * NTFS kernel compressed attributes handling.
100 * zero_partial_compressed_page - zero out of bounds compressed page region
120 * handle_bounds_compressed_page - test for&handle out of bounds compressed page
161 * Return 0 if success or -EOVERFLOW on error in the compressed stream.
178 * Pointers into the compressed data, i.e. the compression block (cb), in ntfs_decompress()
256 /* Does the minimum size of a compressed sb overflow valid range? */ in ntfs_decompress()
286 /* This sb is not compressed, just copy it into destination. */ in ntfs_decompress()
314 ntfs_debug("Found compressed sub-block."); in ntfs_decompress()
315 /* This sb is compressed, decompress it into destination. */ in ntfs_decompress()
446 * ntfs_read_compressed_block - read a compressed block into the page cache
450 * attribute is known to be non-resident, not encrypted, but compressed.
456 * 5. Throw the compressed data away and proceed to 3. for the next compression
476 u32 cb_size = ni->itype.compressed.block_size; in ntfs_read_compressed_block()
491 ni->itype.compressed.block_size_bits; in ntfs_read_compressed_block()
550 ntfs_debug("Compressed read outside i_size - truncated?"); in ntfs_read_compressed_block()
584 cb_clusters = ni->itype.compressed.block_clusters; in ntfs_read_compressed_block()
786 /* Compressed cb, decompress it into the destination page(s). */ in ntfs_read_compressed_block()
789 ntfs_debug("Found compressed compression block."); in ntfs_read_compressed_block()
860 ntfs_error(vol->sb, "IO error while reading compressed data."); in ntfs_read_compressed_block()
1078 * Returns a header of two bytes followed by the compressed data.
1085 * Returns the size of the compressed block, including the
1251 /* Determine whether to store the data compressed or uncompressed. */ in ntfs_compress_block()
1253 /* Compressed. */ in ntfs_compress_block()
1283 /* a single compressed zero */ in ntfs_write_cb()
1285 /* a couple of compressed zeroes */ in ntfs_write_cb()
1287 /* more compressed zeroes, to be followed by some count */ in ntfs_write_cb()
1293 int pages_count = (round_up(ni->itype.compressed.block_size + 2 * in ntfs_write_cb()
1294 (ni->itype.compressed.block_size / NTFS_SB_SIZE) + 2, PAGE_SIZE)) / PAGE_SIZE; in ntfs_write_cb()
1339 ni->itype.compressed.block_size)) in ntfs_write_cb()
1378 pos & ~((loff_t)ni->itype.compressed.block_size - 1)); in ntfs_write_cb()
1381 err = ntfs_non_resident_attr_punch_hole(ni, new_vcn, ni->itype.compressed.block_clusters); in ntfs_write_cb()
1472 int pages_per_cb = ni->itype.compressed.block_size >> PAGE_SHIFT; in ntfs_compress_write()
1473 int cb_size = ni->itype.compressed.block_size, cb_off, err = 0; in ntfs_compress_write()
1483 round_up(end, ni->itype.compressed.block_size)); in ntfs_compress_write()