Lines Matching refs:cluster_size

785 	vol->cluster_size = vol->sector_size << sectors_per_cluster_bits;  in parse_ntfs_boot_sector()
786 vol->cluster_size_mask = vol->cluster_size - 1; in parse_ntfs_boot_sector()
787 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in parse_ntfs_boot_sector()
788 ntfs_debug("vol->cluster_size = %i (0x%x)", vol->cluster_size, in parse_ntfs_boot_sector()
789 vol->cluster_size); in parse_ntfs_boot_sector()
792 if (vol->cluster_size < vol->sector_size) { in parse_ntfs_boot_sector()
795 "Sorry.", vol->cluster_size, vol->sector_size); in parse_ntfs_boot_sector()
802 vol->mft_record_size = vol->cluster_size << in parse_ntfs_boot_sector()
842 vol->index_record_size = vol->cluster_size << in parse_ntfs_boot_sector()
923 if (vol->cluster_size <= (4 << vol->mft_record_size_bits)) in parse_ntfs_boot_sector()
926 vol->mftmirr_size = vol->cluster_size >> in parse_ntfs_boot_sector()
982 mft_lcn = (8192 + 2 * vol->cluster_size - 1) / vol->cluster_size; in ntfs_setup_allocators()
983 if (mft_lcn * vol->cluster_size < 16 * 1024) in ntfs_setup_allocators()
984 mft_lcn = (16 * 1024 + vol->cluster_size - 1) / in ntfs_setup_allocators()
985 vol->cluster_size; in ntfs_setup_allocators()
1177 vol->cluster_size - 1) / vol->cluster_size; in check_mft_mirror()
2421 if (vol->cluster_size <= 4096 && !--ntfs_nr_compression_users) in ntfs_put_super()
2873 if (vol->cluster_size <= 4096 && !ntfs_nr_compression_users++) { in ntfs_fill_super()
3008 if (vol->cluster_size <= 4096 && !--ntfs_nr_compression_users) in ntfs_fill_super()