Home
last modified time | relevance | path

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

/openbmc/linux/fs/ext4/
H A Dext4_jbd2.h297 return blocks * EXT4_SB(sb)->s_cluster_ratio; in ext4_free_metadata_revoke_credits()
488 return blocks + 2*(EXT4_SB(inode->i_sb)->s_cluster_ratio - 1); in ext4_free_data_revoke_credits()
H A Dextents_status.c400 lblk_end = lblk_start + sbi->s_cluster_ratio - 1; in __es_scan_clu()
888 revise_pending = sbi->s_cluster_ratio > 1 && in ext4_es_insert_extent()
1088 if (sbi->s_cluster_ratio > 1) { in init_rsvd()
1127 if (sbi->s_cluster_ratio == 1) { in count_rsvd()
1172 if ((i + sbi->s_cluster_ratio - 1) <= end) { in count_rsvd()
1251 if (sbi->s_cluster_ratio > 1) { in get_rsvd()
2274 sbi->s_cluster_ratio - 1; in __revise_pending()
2298 last = EXT4_LBLK_CMASK(sbi, end) + sbi->s_cluster_ratio - 1; in __revise_pending()
H A Dext4.h371 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \
375 ~((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
377 ~((ext4_lblk_t) (s)->s_cluster_ratio - 1))
380 ((ext4_lblk_t) (sbi)->s_cluster_ratio - 1))
383 ((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
385 ((ext4_lblk_t) (s)->s_cluster_ratio - 1))
1492 unsigned int s_cluster_ratio; /* Number of blocks per cluster */ member
H A Dextents.c2483 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()
2502 if ((EXT4_LBLK_COFF(sbi, to) != sbi->s_cluster_ratio - 1) && in ext4_remove_blocks()
2509 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()
2632 if (sbi->s_cluster_ratio > 1) { in ext4_ext_rm_leaf()
2756 sbi->s_cluster_ratio, flags); in ext4_ext_rm_leaf()
2867 if (sbi->s_cluster_ratio > 1) { in ext4_ext_remove_space()
2884 } else if (sbi->s_cluster_ratio > 1 && end >= ex_end && in ext4_ext_remove_space()
3025 sbi->s_cluster_ratio, flags); in ext4_ext_remove_space()
4028 (unsigned) sbi->s_cluster_ratio - c_offset); in get_implied_cluster_alloc()
4281 if ((sbi->s_cluster_ratio > 1) && err && in ext4_ext_map_blocks()
H A Dsuper.c4459 sbi->s_cluster_ratio = clustersize / sb->s_blocksize; in ext4_handle_clustersize()
4806 (sbi->s_cluster_ratio == 1)) { in ext4_check_geometry()
5217 return (stripe > 0 && sbi->s_cluster_ratio > 1 && in ext4_is_stripe_incompatible()
5218 stripe % sbi->s_cluster_ratio != 0); in ext4_is_stripe_incompatible()
5332 sbi->s_stripe, sbi->s_cluster_ratio); in __ext4_fill_super()
6497 ctx->s_stripe, sbi->s_cluster_ratio); in __ext4_remount()
H A Dresize.c2119 sbi->s_itb_per_group + sbi->s_cluster_ratio) >= n_blocks_count) { in ext4_resize_fs()
H A Dmballoc.c6706 overflow = sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
6727 count += sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
H A Dinode.c1680 if (sbi->s_cluster_ratio == 1) { in ext4_insert_delayed_block()