Home
last modified time | relevance | path

Searched refs:start_vcn (Results 1 – 3 of 3) sorted by relevance

/linux/fs/ntfs/
H A Dfile.c811 s64 start_vcn, end_vcn; in ntfs_allocate_range() local
816 start_vcn = ntfs_bytes_to_cluster(vol, offset); in ntfs_allocate_range()
824 if (need_space > start_vcn) in ntfs_allocate_range()
827 need_space = end_vcn - start_vcn; in ntfs_allocate_range()
850 s64 start_vcn, end_vcn; in ntfs_punch_hole() local
874 start_vcn = ntfs_bytes_to_cluster(vol, offset); in ntfs_punch_hole()
882 ntfs_cluster_to_bytes(vol, start_vcn + 1), in ntfs_punch_hole()
890 if (end_vcn - start_vcn == 1) in ntfs_punch_hole()
892 start_vcn++; in ntfs_punch_hole()
906 if (end_vcn - start_vcn == 1) in ntfs_punch_hole()
[all …]
H A Dcompress.c481 s64 start_vcn = (((s64)index << PAGE_SHIFT) & ~cb_size_mask) >> in ntfs_read_compressed_block() local
490 unsigned int nr_cbs = ntfs_cluster_to_bytes(vol, end_vcn - start_vcn) >> in ntfs_read_compressed_block()
497 unsigned int nr_pages = ntfs_cluster_to_pidx(vol, end_vcn - start_vcn); in ntfs_read_compressed_block()
532 offset = ntfs_cluster_to_pidx(vol, start_vcn); in ntfs_read_compressed_block()
601 for (vcn = start_vcn, start_vcn += cb_clusters; vcn < start_vcn; in ntfs_read_compressed_block()
685 if (vcn == start_vcn - cb_clusters) { in ntfs_read_compressed_block()
728 } else if (vcn == start_vcn) { in ntfs_read_compressed_block()
H A Dattrib.c5155 int ntfs_non_resident_attr_insert_range(struct ntfs_inode *ni, s64 start_vcn, s64 len) in ntfs_non_resident_attr_insert_range() argument
5165 if (start_vcn > ntfs_bytes_to_cluster(vol, ni->allocated_size)) in ntfs_non_resident_attr_insert_range()
5171 hole_rl[0].vcn = start_vcn; in ntfs_non_resident_attr_insert_range()
5174 hole_rl[1].vcn = start_vcn + len; in ntfs_non_resident_attr_insert_range()
5185 rl = ntfs_rl_find_vcn_nolock(ni->runlist.rl, start_vcn); in ntfs_non_resident_attr_insert_range()
5204 if (ntfs_cluster_to_bytes(vol, start_vcn) < ni->initialized_size) in ntfs_non_resident_attr_insert_range()
5233 int ntfs_non_resident_attr_collapse_range(struct ntfs_inode *ni, s64 start_vcn, s64 len) in ntfs_non_resident_attr_collapse_range() argument
5247 if (start_vcn >= end_vcn) in ntfs_non_resident_attr_collapse_range()
5257 len = min(len, end_vcn - start_vcn); in ntfs_non_resident_attr_collapse_range()
5260 rl = ntfs_rl_find_vcn_nolock(ni->runlist.rl, start_vcn); in ntfs_non_resident_attr_collapse_range()
[all …]