Home
last modified time | relevance | path

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

/fs/ext4/
Dext4.h277 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \
281 ~((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
283 ~((ext4_lblk_t) (s)->s_cluster_ratio - 1))
286 ((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
288 ((ext4_lblk_t) (s)->s_cluster_ratio - 1))
1362 unsigned int s_cluster_ratio; /* Number of blocks per cluster */ member
Dextents.c2528 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()
2677 if (sbi->s_cluster_ratio > 1) { in ext4_ext_rm_leaf()
2785 sbi->s_cluster_ratio, in ext4_ext_rm_leaf()
2888 if (sbi->s_cluster_ratio > 1) { in ext4_ext_remove_space()
2905 } else if (sbi->s_cluster_ratio > 1 && end >= ex_end) { in ext4_ext_remove_space()
3042 sbi->s_cluster_ratio, in ext4_ext_remove_space()
3863 lblk_end = lblk_start + sbi->s_cluster_ratio - 1; in ext4_find_delalloc_cluster()
3934 lblk_to = lblk_from + (sbi->s_cluster_ratio - c_offset) - 1; in get_reserved_cluster_alloc()
4227 (unsigned) sbi->s_cluster_ratio - c_offset); in get_implied_cluster_alloc()
4425 if ((sbi->s_cluster_ratio > 1) && ex2 && in ext4_ext_map_blocks()
Dinode.c1624 if (sbi->s_cluster_ratio == 1 || in ext4_da_page_release_reservation()
1813 if (EXT4_SB(inode->i_sb)->s_cluster_ratio == 1 || in ext4_da_map_blocks()
Dmballoc.c4729 overflow = sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
4748 count += sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
Dsuper.c3809 sbi->s_cluster_ratio = clustersize / blocksize; in ext4_fill_super()