Searched refs:s_cluster_ratio (Results 1 – 5 of 5) sorted by relevance
260 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \264 ~((ext4_fsblk_t) (s)->s_cluster_ratio - 1))266 ~((ext4_lblk_t) (s)->s_cluster_ratio - 1))269 ((ext4_fsblk_t) (s)->s_cluster_ratio - 1))271 ((ext4_lblk_t) (s)->s_cluster_ratio - 1))1259 unsigned int s_cluster_ratio; /* Number of blocks per cluster */ member
2504 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()2653 if (sbi->s_cluster_ratio > 1) { in ext4_ext_rm_leaf()2761 sbi->s_cluster_ratio, in ext4_ext_rm_leaf()2864 if (sbi->s_cluster_ratio > 1) { in ext4_ext_remove_space()2881 } else if (sbi->s_cluster_ratio > 1 && end >= ex_end) { in ext4_ext_remove_space()3018 sbi->s_cluster_ratio, in ext4_ext_remove_space()3850 lblk_end = lblk_start + sbi->s_cluster_ratio - 1; in ext4_find_delalloc_cluster()3921 lblk_to = lblk_from + (sbi->s_cluster_ratio - c_offset) - 1; in get_reserved_cluster_alloc()4216 (unsigned) sbi->s_cluster_ratio - c_offset); in get_implied_cluster_alloc()4405 if ((sbi->s_cluster_ratio > 1) && ex2 && in ext4_ext_map_blocks()
1412 if (sbi->s_cluster_ratio == 1 || in ext4_da_page_release_reservation()1599 if (EXT4_SB(inode->i_sb)->s_cluster_ratio <= 1 || in ext4_da_map_blocks()
4711 overflow = sbi->s_cluster_ratio - overflow; in ext4_free_blocks()4730 count += sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
3879 sbi->s_cluster_ratio = clustersize / blocksize; in ext4_fill_super()