Searched refs:s_cluster_ratio (Results 1 – 5 of 5) sorted by relevance
257 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \261 ~((ext4_fsblk_t) (s)->s_cluster_ratio - 1))263 ~((ext4_lblk_t) (s)->s_cluster_ratio - 1))266 ((ext4_fsblk_t) (s)->s_cluster_ratio - 1))268 ((ext4_lblk_t) (s)->s_cluster_ratio - 1))1300 unsigned int s_cluster_ratio; /* Number of blocks per cluster */ member
2506 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()2655 if (sbi->s_cluster_ratio > 1) { in ext4_ext_rm_leaf()2763 sbi->s_cluster_ratio, in ext4_ext_rm_leaf()2866 if (sbi->s_cluster_ratio > 1) { in ext4_ext_remove_space()2883 } else if (sbi->s_cluster_ratio > 1 && end >= ex_end) { in ext4_ext_remove_space()3020 sbi->s_cluster_ratio, in ext4_ext_remove_space()3855 lblk_end = lblk_start + sbi->s_cluster_ratio - 1; in ext4_find_delalloc_cluster()3926 lblk_to = lblk_from + (sbi->s_cluster_ratio - c_offset) - 1; in get_reserved_cluster_alloc()4221 (unsigned) sbi->s_cluster_ratio - c_offset); in get_implied_cluster_alloc()4410 if ((sbi->s_cluster_ratio > 1) && ex2 && in ext4_ext_map_blocks()
1433 if (sbi->s_cluster_ratio == 1 || in ext4_da_page_release_reservation()1620 if (EXT4_SB(inode->i_sb)->s_cluster_ratio == 1 || in ext4_da_map_blocks()
4721 overflow = sbi->s_cluster_ratio - overflow; in ext4_free_blocks()4740 count += sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
3537 sbi->s_cluster_ratio = clustersize / blocksize; in ext4_fill_super()