Lines Matching refs:compressed

239 			 * FIXME: If compressed file: Only read if lcn != -1.
244 * FIXME: Really only when file is compressed, or can
276 * FIXME: If compressed file: Only read if lcn != -1.
280 * FIXME: Really only when file is compressed, or can
338 * @compressed:
1281 * avoid fragmenting a compressed file
1312 * for a compressed file, be sure to allocate the full
1314 * existing compressed data.
1346 * For a compressed attribute, we must be sure there are two
1426 * Returns the number of clusters with existing compressed data
1588 * Returns the number of clusters with existing compressed data
1777 BOOL compressed;
1790 compressed = (na->data_flags & ATTR_COMPRESSION_MASK)
1796 * Moreover a file cannot be both encrypted and compressed.
1799 && (compressed || !vol->efs_raw)) {
1804 * Fill the gap, when writing beyond the end of a compressed
1807 if (compressed
1812 /* If this is a compressed attribute it needs special treatment. */
1818 if (compressed
1828 /* for a compressed file, get prepared to reserve a full block */
1859 compressed = (na->data_flags & ATTR_COMPRESSION_MASK)
1864 * For compressed data, a single full block was allocated
1871 if (compressed) {
1923 * However, for compressed file, we need the full compression
1929 if (compressed)
1942 * For a compressed attribute, we must be sure there is an
1943 * available entry, and, when reopening a compressed file,
1947 if (compressed) {
1968 /* fix data_size for compressed files */
1969 if (compressed) {
1991 if ((compressed || NAttrSparse(na))
2024 * Determine if there is compressed data in the current
2030 * The compressed size can never be over full size by
2032 * compressed to 4098 and the last 3640 bytes compressed
2039 if (compressed) {
2076 /* just making non-resident, so not yet compressed */
2120 if (compressed) {
2148 * This is done even for compressed files, because
2165 if (compressed) {
2179 if (compressed) {
2213 * For a compressed file, we try to make a partial update
2220 updatemap = (compressed
2293 updatemap = (compressed
2318 BOOL compressed;
2330 compressed = (na->data_flags & ATTR_COMPRESSION_MASK)
2340 /* If this is not a compressed attribute get out */
2342 if (!compressed || !NAttrNonResident(na))
2355 * For a compressed attribute, we must be sure there are two
2403 /* done, if the last block set was compressed */
4822 * attribute record. (Not compressed thus no compressed_size element
5389 * update allocated and compressed size.
5453 set it so, even if attribute is not actually compressed. */
5485 /* Update compressed size if required. */
5582 * If attribute was sparse, the compressed
5906 * function updates sparse bit, allocated and compressed size (allocates/frees
5913 * FIXME: This function does not update sparse bit and compressed size correctly
5976 * For compressed files we must keep full compressions blocks,
6363 BOOL compressed;
6391 * TODO: Implement making handling of compressed attributes.
6397 compressed = (na->data_flags & ATTR_COMPRESSION_MASK)
6399 if (compressed
6403 ntfs_log_perror("Failed to truncate compressed attribute");
6408 * For compressed data, the last block must be fully
6415 * Note : do not request upsizing of compressed files
6418 if (compressed && newsize && (newsize > na->data_size))
6459 * Stuff a hole in a compressed file
6536 ntfs_log_error("Failed to stuff a compressed file"