Home
last modified time | relevance | path

Searched refs:ntfs_bytes_to_cluster (Results 1 – 9 of 9) sorted by relevance

/linux/fs/ntfs/
H A Dfile.c96 vcn_ds = ntfs_bytes_to_cluster(vol, aligned_data_size); in ntfs_trim_prealloc()
918 start_vcn = ntfs_bytes_to_cluster(vol, offset); in ntfs_allocate_range()
919 end_vcn = ntfs_bytes_to_cluster(vol, offset + len - 1) + 1; in ntfs_allocate_range()
925 need_space = ntfs_bytes_to_cluster(vol, ni->allocated_size); in ntfs_allocate_range()
976 start_vcn = ntfs_bytes_to_cluster(vol, offset); in ntfs_punch_hole()
977 end_vcn = ntfs_bytes_to_cluster(vol, end_offset - 1) + 1; in ntfs_punch_hole()
1040 start_vcn = ntfs_bytes_to_cluster(vol, offset); in ntfs_collapse_range()
1041 end_vcn = ntfs_bytes_to_cluster(vol, offset + len - 1) + 1; in ntfs_collapse_range()
1091 start_vcn = ntfs_bytes_to_cluster(vol, offset); in ntfs_insert_range()
1092 end_vcn = ntfs_bytes_to_cluster(vol, end_offset - 1) + 1; in ntfs_insert_range()
H A Dattrib.c128 ntfs_bytes_to_cluster(ni->vol, ni->allocated_size); in ntfs_map_runlist_nolock()
2028 ntfs_bytes_to_cluster(vol, new_size), in ntfs_attr_make_non_resident()
2033 str_plural(ntfs_bytes_to_cluster(vol, new_size)), in ntfs_attr_make_non_resident()
2106 cpu_to_le64(ntfs_bytes_to_cluster(vol, new_size - 1)); in ntfs_attr_make_non_resident()
3340 last_vcn = ntfs_bytes_to_cluster(vol, in ntfs_attr_map_whole_runlist()
4283 first_free_vcn = ntfs_bytes_to_cluster(vol, in ntfs_non_resident_attr_shrink()
4287 ntfs_bytes_to_cluster(vol, newsize + vol->cluster_size - 1); in ntfs_non_resident_attr_shrink()
4295 if (ntfs_bytes_to_cluster(vol, ni->allocated_size) != first_free_vcn) { in ntfs_non_resident_attr_shrink()
4482 ntfs_bytes_to_cluster(vol, prealloc_size + vol->cluster_size - 1); in ntfs_non_resident_attr_expand()
4485 ntfs_bytes_to_cluster(vol, newsize + vol->cluster_size - 1); in ntfs_non_resident_attr_expand()
[all …]
H A Dbitmap.c24 u64 start_cluster = ntfs_bytes_to_cluster(vol, range->start); in ntfs_trim_fs()
37 end_cluster = ntfs_bytes_to_cluster(vol, in ntfs_trim_fs()
H A Daops.c171 lcn = ntfs_attr_vcn_to_lcn_nolock(ni, ntfs_bytes_to_cluster(vol, ofs), in ntfs_bmap()
H A Dntfs.h93 static inline u64 ntfs_bytes_to_cluster(const struct ntfs_volume *vol, in ntfs_bytes_to_cluster() function
H A Dattrlist.c111 nr_clusters = ntfs_bytes_to_cluster(vol, in ntfs_attrlist_repack()
H A Dcompress.c1388 new_vcn = ntfs_bytes_to_cluster(vol, cb_pos); in ntfs_write_cb()
1404 new_length = ntfs_bytes_to_cluster(vol, round_up(bio_size, vol->cluster_size)); in ntfs_write_cb()
H A Dinode.c2119 last_vcn = ntfs_bytes_to_cluster(vol, in ntfs_read_inode_mount()
3761 lcn_count = max_t(s64, 1, ntfs_bytes_to_cluster(vol, attr_len)); in __ntfs_inode_non_resident_attr_pwrite()
H A Dmft.c2904 s64 end_vcn = ntfs_bytes_to_cluster(vol, ni->allocated_size); in ntfs_write_mft_block()