Home
last modified time | relevance | path

Searched refs:s_cluster_ratio (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/fs/ext4/
Dext4.h290 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \
294 ~((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
296 ~((ext4_lblk_t) (s)->s_cluster_ratio - 1))
299 ((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
301 ((ext4_lblk_t) (s)->s_cluster_ratio - 1))
1359 unsigned int s_cluster_ratio; /* Number of blocks per cluster */ member
Dextents.c2523 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()
2672 if (sbi->s_cluster_ratio > 1) { in ext4_ext_rm_leaf()
2780 sbi->s_cluster_ratio, in ext4_ext_rm_leaf()
2883 if (sbi->s_cluster_ratio > 1) { in ext4_ext_remove_space()
2900 } else if (sbi->s_cluster_ratio > 1 && end >= ex_end) { in ext4_ext_remove_space()
3037 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()
4213 (unsigned) sbi->s_cluster_ratio - c_offset); in get_implied_cluster_alloc()
4411 if ((sbi->s_cluster_ratio > 1) && ex2 && in ext4_ext_map_blocks()
Dresize.c1999 sbi->s_itb_per_group + sbi->s_cluster_ratio) >= n_blocks_count) { in ext4_resize_fs()
Dinode.c1683 if (sbi->s_cluster_ratio == 1 || in ext4_da_page_release_reservation()
1871 if (EXT4_SB(inode->i_sb)->s_cluster_ratio == 1 || in ext4_da_map_blocks()
Dmballoc.c4755 overflow = sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
4774 count += sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
Dsuper.c3993 sbi->s_cluster_ratio = clustersize / blocksize; in ext4_fill_super()
4037 (sbi->s_cluster_ratio == 1)) { in ext4_fill_super()