Home
last modified time | relevance | path

Searched refs:ntfs_cluster_to_bytes (Results 1 – 10 of 10) sorted by relevance

/linux/fs/ntfs/
H A Dbitmap.c76 aligned_start = ALIGN(ntfs_cluster_to_bytes(vol, start), dq); in ntfs_trim_fs()
77 aligned_end = ALIGN_DOWN(ntfs_cluster_to_bytes(vol, end), dq); in ntfs_trim_fs()
H A Daops.c216 block = lcn = (ntfs_cluster_to_bytes(vol, lcn) + delta) >> in ntfs_bmap()
226 block = (ntfs_cluster_to_bytes(vol, lcn) + delta) >> in ntfs_bmap()
H A Dfile.c113 ni->allocated_size = ntfs_cluster_to_bytes(vol, vcn_tr); in ntfs_trim_prealloc()
984 ntfs_cluster_to_bytes(vol, start_vcn + 1), in ntfs_punch_hole()
1000 from = ntfs_cluster_to_bytes(vol, end_vcn - 1); in ntfs_punch_hole()
1043 if (ntfs_cluster_to_bytes(vol, end_vcn) > ni->allocated_size) in ntfs_collapse_range()
1046 new_size = old_size - ntfs_cluster_to_bytes(vol, end_vcn - start_vcn); in ntfs_collapse_range()
1094 new_size = old_size + ntfs_cluster_to_bytes(vol, end_vcn - start_vcn); in ntfs_insert_range()
1096 ntfs_cluster_to_bytes(vol, end_vcn - start_vcn); in ntfs_insert_range()
H A Dattrib.c4340 ni->allocated_size = ntfs_cluster_to_bytes(vol, first_free_vcn); in ntfs_non_resident_attr_shrink()
4345 ntfs_cluster_to_bytes(vol, nr_freed_clusters); in ntfs_non_resident_attr_shrink()
4638 ni->allocated_size = ntfs_cluster_to_bytes(vol, first_free_vcn); in ntfs_non_resident_attr_expand()
5547 ni->allocated_size += ntfs_cluster_to_bytes(vol, len); in ntfs_non_resident_attr_insert_range()
5548 ni->data_size += ntfs_cluster_to_bytes(vol, len); in ntfs_non_resident_attr_insert_range()
5549 if (ntfs_cluster_to_bytes(vol, start_vcn) < ni->initialized_size) in ntfs_non_resident_attr_insert_range()
5550 ni->initialized_size += ntfs_cluster_to_bytes(vol, len); in ntfs_non_resident_attr_insert_range()
5620 ni->allocated_size -= ntfs_cluster_to_bytes(vol, len); in ntfs_non_resident_attr_collapse_range()
5621 if (ni->data_size > ntfs_cluster_to_bytes(vol, start_vcn)) { in ntfs_non_resident_attr_collapse_range()
5622 if (ni->data_size > ntfs_cluster_to_bytes(vol, (start_vcn + len))) in ntfs_non_resident_attr_collapse_range()
[all …]
H A Dntfs.h100 static inline u64 ntfs_cluster_to_bytes(const struct ntfs_volume *vol, in ntfs_cluster_to_bytes() function
H A Dattrlist.c145 attr_ni->allocated_size = ntfs_cluster_to_bytes(vol, nr_clusters); in ntfs_attrlist_repack()
H A Dcompress.c490 unsigned int nr_cbs = ntfs_cluster_to_bytes(vol, end_vcn - start_vcn) >> in ntfs_read_compressed_block()
1414 bio_pos = ntfs_cluster_to_bytes(vol, bio_lcn); in ntfs_write_cb()
H A Dinode.c1792 rl_byte_off = ntfs_cluster_to_bytes(vol, lcn); in load_attribute_list_mount()
1793 rl_byte_len = ntfs_cluster_to_bytes(vol, rl->length); in load_attribute_list_mount()
1912 ntfs_cluster_to_bytes(vol, vol->mft_lcn), i); in ntfs_read_inode_mount()
3790 ntfs_bytes_to_bio_sector(ntfs_cluster_to_bytes(vol, lcn) + in __ntfs_inode_non_resident_attr_pwrite()
3794 ntfs_cluster_to_bytes(vol, rl_length), in __ntfs_inode_non_resident_attr_pwrite()
H A Dwof.c219 byte_off = ntfs_cluster_to_bytes(vol, lcn); in ntfs_bdev_read_from_rl()
H A Dmft.c3001 ntfs_cluster_to_bytes(vol, lcn) + off); in ntfs_write_mft_block()