Searched refs:clust_shift (Results 1 – 4 of 4) sorted by relevance
91 uint32_t mcluster = lstart >> sbi->clust_shift; in fat_next_extent()97 const uint32_t cluster_secs = UINT32_C(1) << sbi->clust_shift; in fat_next_extent()104 lcluster = PVT(inode)->offset >> sbi->clust_shift; in fat_next_extent()105 pcluster = ((PVT(inode)->here - data_area) >> sbi->clust_shift) + 2; in fat_next_extent()114 inode->size = lcluster << sbi->clust_shift; in fat_next_extent()126 ((sector_t)(pcluster-2) << sbi->clust_shift) + data_area; in fat_next_extent()138 PVT(inode)->offset = lcluster << sbi->clust_shift; in fat_next_extent()139 PVT(inode)->here = ((xcluster-2) << sbi->clust_shift) + data_area; in fat_next_extent()154 int clust_shift = sbi->clust_shift; in get_next_sector() local169 cluster = data_sector >> clust_shift; in get_next_sector()[all …]
95 int clust_shift; /* based on sectors */ member
636 NTFS_PVT(inode)->start_cluster = start_blk >> NTFS_SB(fs)->clust_shift; in index_inode_setup()819 blk = (lcn + vcn) << NTFS_SB(fs)->clust_shift << in ntfs_index_lookup()941 pstart = ret->run.lcn << sbi->clust_shift; in ntfs_next_extent()1128 blk = (lcn + vcn) << NTFS_SB(fs)->clust_shift << SECTOR_SHIFT(fs) >> in ntfs_readdir()1327 sbi->clust_shift = ilog2(ntfs.sec_per_clust); in ntfs_fs_init()1328 sbi->clust_byte_shift = sbi->clust_shift + SECTOR_SHIFT(fs); in ntfs_fs_init()1338 sbi->mft_blk = ntfs.mft_lclust << sbi->clust_shift << SECTOR_SHIFT(fs) >> in ntfs_fs_init()1341 sbi->mft_size = mft_record_shift << sbi->clust_shift << 4; in ntfs_fs_init()1343 sbi->clusters = ntfs.total_sectors << SECTOR_SHIFT(fs) >> sbi->clust_shift; in ntfs_fs_init()
68 unsigned clust_shift; /* Based on sectors */ member