Searched refs:s_cluster_ratio (Results 1 – 7 of 7) sorted by relevance
393 lblk_end = lblk_start + sbi->s_cluster_ratio - 1; in __es_scan_clu()850 if (sbi->s_cluster_ratio > 1 && test_opt(inode->i_sb, DELALLOC) && in ext4_es_insert_extent()1006 if (sbi->s_cluster_ratio > 1) { in init_rsvd()1045 if (sbi->s_cluster_ratio == 1) { in count_rsvd()1090 if ((i + sbi->s_cluster_ratio - 1) <= end) { in count_rsvd()1169 if (sbi->s_cluster_ratio > 1) { in get_rsvd()2143 sbi->s_cluster_ratio - 1; in __revise_pending()2163 last = EXT4_LBLK_CMASK(sbi, end) + sbi->s_cluster_ratio - 1; in __revise_pending()
289 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \293 ~((ext4_fsblk_t) (s)->s_cluster_ratio - 1))295 ~((ext4_lblk_t) (s)->s_cluster_ratio - 1))298 ((ext4_lblk_t) (sbi)->s_cluster_ratio - 1))301 ((ext4_fsblk_t) (s)->s_cluster_ratio - 1))303 ((ext4_lblk_t) (s)->s_cluster_ratio - 1))1394 unsigned int s_cluster_ratio; /* Number of blocks per cluster */ member
2636 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()2655 if ((EXT4_LBLK_COFF(sbi, to) != sbi->s_cluster_ratio - 1) && in ext4_remove_blocks()2662 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()2786 if (sbi->s_cluster_ratio > 1) { in ext4_ext_rm_leaf()2897 sbi->s_cluster_ratio, flags); in ext4_ext_rm_leaf()3005 if (sbi->s_cluster_ratio > 1) { in ext4_ext_remove_space()3022 } else if (sbi->s_cluster_ratio > 1 && end >= ex_end && in ext4_ext_remove_space()3163 sbi->s_cluster_ratio, flags); in ext4_ext_remove_space()4206 (unsigned) sbi->s_cluster_ratio - c_offset); in get_implied_cluster_alloc()4404 if ((sbi->s_cluster_ratio > 1) && ex2 && in ext4_ext_map_blocks()
2007 sbi->s_itb_per_group + sbi->s_cluster_ratio) >= n_blocks_count) { in ext4_resize_fs()
4757 overflow = sbi->s_cluster_ratio - overflow; in ext4_free_blocks()4776 count += sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
4164 sbi->s_cluster_ratio = clustersize / blocksize; in ext4_fill_super()4206 (sbi->s_cluster_ratio == 1)) { in ext4_fill_super()
1779 if (sbi->s_cluster_ratio == 1) { in ext4_insert_delayed_block()