Lines Matching defs:frame
998 /* Allocate frame aligned clusters.
999 * ntfs.sys usually uses 16 clusters per frame for sparsed or compressed.
1000 * ntfs3 uses 1 cluster per frame for new created sparsed files. */
1005 /* Get frame aligned vcn and to_alloc. */
1370 * Read header of Xpress/LZX file to get info about frame.
1373 struct runs_tree *run, u64 frame, u64 frames,
1389 vbo[1] = frame << 2;
1394 vbo[1] = frame << 3;
1399 * Read 4/8 bytes at [vbo - 4(8)] == offset where compressed frame starts.
1400 * Read 4/8 bytes at [vbo] == offset where compressed frame ends.
1515 * attr_is_frame_compressed - Used to detect compressed frame.
1518 CLST frame, CLST *clst_data)
1535 vcn = frame * clst_frame;
1549 /* Sparsed frame. */
1555 * The frame is not compressed 'cause
1567 * The frame is compressed if *clst_data + slen >= clst_frame.
1592 * not enough for frame.
1602 * There is no sparsed clusters in this frame
1617 * attr_allocate_frame - Allocate/free clusters for @frame.
1621 int attr_allocate_frame(struct ntfs_inode *ni, CLST frame, size_t compr_size,
1642 vcn = frame << NTFS_LZNT_CUNIT;
1672 err = attr_is_frame_compressed(ni, attr_b, frame, &clst_data);
2365 /* Allow to insert only frame aligned ranges. */