Searched refs:cluster_size_bits (Results 1 – 12 of 12) sorted by relevance
/fs/ntfs/ |
D | compress.c | 498 vol->cluster_size_bits; in ntfs_read_compressed_block() 504 & ~cb_size_mask) >> vol->cluster_size_bits; in ntfs_read_compressed_block() 506 unsigned int nr_cbs = (end_vcn - start_vcn) << vol->cluster_size_bits in ntfs_read_compressed_block() 514 vol->cluster_size_bits >> PAGE_SHIFT; in ntfs_read_compressed_block() 548 offset = start_vcn << vol->cluster_size_bits >> PAGE_SHIFT; in ntfs_read_compressed_block() 646 block = lcn << vol->cluster_size_bits >> block_size_bits; in ntfs_read_compressed_block()
|
D | attrib.c | 123 ni->vol->cluster_size_bits; in ntfs_map_runlist_nolock() 754 block = lcn << vol->cluster_size_bits >> block_size_bits; in load_attribute_list() 756 max_block = block + (rl->length << vol->cluster_size_bits >> in load_attribute_list() 1586 vol->cluster_size_bits, -1, DATA_ZONE, true); in ntfs_attr_make_non_resident() 1591 vol->cluster_size_bits) > 1 ? "s" : "", in ntfs_attr_make_non_resident() 1687 vol->cluster_size_bits); in ntfs_attr_make_non_resident() 1720 vol->cluster_size_bits); in ntfs_attr_make_non_resident() 2011 vcn = NInoNonResident(ni) ? allocated_size >> vol->cluster_size_bits : in ntfs_attr_extend_allocation() 2219 rl2 = ntfs_cluster_alloc(vol, allocated_size >> vol->cluster_size_bits, in ntfs_attr_extend_allocation() 2221 vol->cluster_size_bits, (rl && (rl->lcn >= 0)) ? in ntfs_attr_extend_allocation() [all …]
|
D | file.c | 646 cpos = pos >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write() 648 cend = (end + vol->cluster_size - 1) >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write() 667 bh_cpos = bh_pos >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write() 725 (cdelta << (vol->cluster_size_bits - in ntfs_prepare_pages_for_non_resident_write() 861 lcn_block = lcn << (vol->cluster_size_bits - in ntfs_prepare_pages_for_non_resident_write() 946 vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write() 1069 vol->cluster_size_bits) - 1; in ntfs_prepare_pages_for_non_resident_write() 1175 lcn_block = lcn << (vol->cluster_size_bits - blocksize_bits); in ntfs_prepare_pages_for_non_resident_write() 1346 end = bh_cpos << vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write() 1803 vcn = pos >> vol->cluster_size_bits; in ntfs_perform_write() [all …]
|
D | mft.c | 544 vcn >>= vol->cluster_size_bits; in ntfs_sync_mft_mirror() 563 vol->cluster_size_bits) + in ntfs_sync_mft_mirror() 733 vcn >>= vol->cluster_size_bits; in write_mft_record_nolock() 747 vol->cluster_size_bits) + in write_mft_record_nolock() 1311 (ll - 1) >> vol->cluster_size_bits, NULL); in ntfs_mft_bitmap_extend_allocation_nolock() 1742 (ll - 1) >> vol->cluster_size_bits, NULL); in ntfs_mft_data_extend_allocation_nolock() 1756 min_nr = vol->mft_record_size >> vol->cluster_size_bits; in ntfs_mft_data_extend_allocation_nolock() 1760 nr = vol->mft_record_size << 4 >> vol->cluster_size_bits; in ntfs_mft_data_extend_allocation_nolock() 1767 if (unlikely((ll + (nr << vol->cluster_size_bits)) >> in ntfs_mft_data_extend_allocation_nolock() 1770 if (unlikely((ll + (nr << vol->cluster_size_bits)) >> in ntfs_mft_data_extend_allocation_nolock() [all …]
|
D | aops.c | 264 vol->cluster_size_bits; in ntfs_read_block() 282 bh->b_blocknr = ((lcn << vol->cluster_size_bits) in ntfs_read_block() 722 vcn >>= vol->cluster_size_bits; in ntfs_write_block() 738 bh->b_blocknr = ((lcn << vol->cluster_size_bits) + in ntfs_write_block() 1028 vcn >>= vol->cluster_size_bits; in ntfs_write_mst_block() 1045 vol->cluster_size_bits) + in ntfs_write_mst_block() 1602 cluster_size_shift = vol->cluster_size_bits; in ntfs_bmap()
|
D | inode.c | 894 ni->itype.index.vcn_size_bits = vol->cluster_size_bits; in ntfs_read_locked_inode() 1109 vol->cluster_size_bits); in ntfs_read_locked_inode() 1392 vol->cluster_size_bits); in ntfs_read_locked_attr_inode() 1606 ni->itype.index.vcn_size_bits = vol->cluster_size_bits; in ntfs_read_locked_index_inode() 1829 block = vol->mft_lcn << vol->cluster_size_bits >> in ntfs_read_inode_mount() 2073 >> vol->cluster_size_bits; in ntfs_read_inode_mount() 2624 old_alloc_size >> vol->cluster_size_bits > in ntfs_truncate() 2705 vol->cluster_size_bits, -1, ctx); in ntfs_truncate() 2717 new_alloc_size >> vol->cluster_size_bits); in ntfs_truncate() 2770 vol->cluster_size_bits) - 1); in ntfs_truncate() [all …]
|
D | logfile.c | 756 vol->cluster_size_bits; in ntfs_empty_logfile() 795 block = lcn << vol->cluster_size_bits >> block_size_bits; in ntfs_empty_logfile() 799 end_block = (lcn + len) << vol->cluster_size_bits >> in ntfs_empty_logfile()
|
D | index.c | 429 if (old_vcn << vol->cluster_size_bits >> in ntfs_index_lookup() 431 vol->cluster_size_bits >> in ntfs_index_lookup()
|
D | volume.h | 62 u8 cluster_size_bits; /* log2(cluster_size) */ member
|
D | dir.c | 561 if (old_vcn << vol->cluster_size_bits >> in ntfs_lookup_inode_by_name() 563 vol->cluster_size_bits >> in ntfs_lookup_inode_by_name() 970 if (old_vcn << vol->cluster_size_bits >> 972 vol->cluster_size_bits >>
|
D | super.c | 793 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in parse_ntfs_boot_sector() 797 ntfs_debug("vol->cluster_size_bits = %i", vol->cluster_size_bits); in parse_ntfs_boot_sector() 893 if ((ll << vol->cluster_size_bits) >= (1ULL << 41)) { in parse_ntfs_boot_sector() 898 vol->cluster_size_bits)); in parse_ntfs_boot_sector() 2624 sfs->f_blocks = vol->nr_clusters << vol->cluster_size_bits >> in ntfs_statfs() 2627 size = get_nr_free_clusters(vol) << vol->cluster_size_bits >> in ntfs_statfs()
|
D | runlist.c | 919 vol->cluster_size_bits) - 1; in ntfs_mapping_pairs_decompress()
|