Searched refs:s_cluster_ratio (Results 1 – 5 of 5) sorted by relevance
270 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \274 ~((ext4_fsblk_t) (s)->s_cluster_ratio - 1))276 ~((ext4_lblk_t) (s)->s_cluster_ratio - 1))279 ((ext4_fsblk_t) (s)->s_cluster_ratio - 1))281 ((ext4_lblk_t) (s)->s_cluster_ratio - 1))1250 unsigned int s_cluster_ratio; /* Number of blocks per cluster */ member
2512 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()2789 sbi->s_cluster_ratio, flags); in ext4_ext_rm_leaf()3011 EXT4_SB(sb)->s_cluster_ratio, flags); in ext4_ext_remove_space()3847 lblk_end = lblk_start + sbi->s_cluster_ratio - 1; in ext4_find_delalloc_cluster()3918 lblk_to = lblk_from + (sbi->s_cluster_ratio - c_offset) - 1; in get_reserved_cluster_alloc()4213 (unsigned) sbi->s_cluster_ratio - c_offset); in get_implied_cluster_alloc()4357 if ((sbi->s_cluster_ratio > 1) && in ext4_ext_map_blocks()4407 if ((sbi->s_cluster_ratio > 1) && ex2 && in ext4_ext_map_blocks()
1394 if (sbi->s_cluster_ratio == 1 || in ext4_da_page_release_reservation()1571 if ((EXT4_SB(inode->i_sb)->s_cluster_ratio > 1) && in ext4_da_map_blocks()
4715 overflow = sbi->s_cluster_ratio - overflow; in ext4_free_blocks()4734 count += sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
3901 sbi->s_cluster_ratio = clustersize / blocksize; in ext4_fill_super()