Lines Matching defs:compressed

250 			 * FIXME: If compressed file: Only read if lcn != -1.
255 * FIXME: Really only when file is compressed, or can
288 * FIXME: If compressed file: Only read if lcn != -1.
292 * FIXME: Really only when file is compressed, or can
350 * @compressed:
1365 * avoid fragmenting a compressed file
1396 * for a compressed file, be sure to allocate the full
1398 * existing compressed data.
1431 * For a compressed attribute, we must be sure there are two
1511 * Returns the number of clusters with existing compressed data
1674 * Returns the number of clusters with existing compressed data
1865 BOOL compressed;
1868 compressed = (na->data_flags & ATTR_COMPRESSION_MASK)
1874 * Moreover a file cannot be both encrypted and compressed.
1877 && (compressed || !vol->efs_raw)) {
1882 * Fill the gap, when writing beyond the end of a compressed
1885 if (compressed
1890 /* If this is a compressed attribute it needs special treatment. */
1896 if (compressed
1906 /* for a compressed file, get prepared to reserve a full block */
1944 compressed = (na->data_flags & ATTR_COMPRESSION_MASK)
1949 * For compressed data, a single full block was allocated
1956 if (compressed) {
2008 * However, for compressed file, we need the full compression
2011 if (compressed && !NAttrDataAppending(na)) {
2023 if (compressed)
2037 * For a compressed attribute, we must be sure there is an
2038 * available entry, and, when reopening a compressed file,
2042 if (compressed) {
2063 /* fix data_size for compressed files */
2064 if (compressed) {
2086 if ((compressed || NAttrSparse(na))
2119 * Determine if there is compressed data in the current
2125 * The compressed size can never be over full size by
2127 * compressed to 4098 and the last 3640 bytes compressed
2134 if (compressed) {
2171 /* just making non-resident, so not yet compressed */
2215 if (compressed) {
2243 * This is done even for compressed files, because
2260 if (compressed) {
2274 if (compressed) {
2308 * For a compressed file, we try to make a partial update
2437 BOOL compressed;
2450 compressed = (na->data_flags & ATTR_COMPRESSION_MASK)
2460 /* If this is not a compressed attribute get out */
2462 if (!compressed || !NAttrNonResident(na))
2475 * For a compressed attribute, we must be sure there are two
2523 /* done, if the last block set was compressed */
5199 * attribute record. (Not compressed thus no compressed_size element
5770 * update allocated and compressed size.
5834 set it so, even if attribute is not actually compressed. */
5866 /* Update compressed size if required. */
5971 * If attribute was sparse, the compressed
6303 * function updates sparse bit, allocated and compressed size (allocates/frees
6310 * FIXME: This function does not update sparse bit and compressed size correctly
6373 * For compressed files we must keep full compressions blocks,
6772 BOOL compressed;
6800 * TODO: Implement making handling of compressed attributes.
6806 compressed = (na->data_flags & ATTR_COMPRESSION_MASK)
6808 if (compressed
6812 ntfs_log_perror("Failed to truncate compressed attribute");
6817 * For compressed data, the last block must be fully
6824 * Note : do not request upsizing of compressed files
6827 if (compressed && newsize && (newsize > na->data_size))
6868 * Stuff a hole in a compressed file
6945 ntfs_log_error("Failed to stuff a compressed file"