Home
last modified time | relevance | path

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

/linux/fs/ext4/
H A Dext4_jbd2.h213 return blocks * EXT4_SB(sb)->s_cluster_ratio; in ext4_free_metadata_revoke_credits()
404 return blocks + 2*(EXT4_SB(inode->i_sb)->s_cluster_ratio - 1); in ext4_free_data_revoke_credits()
H A Dextents_status.c455 lblk_end = lblk_start + sbi->s_cluster_ratio - 1; in __es_scan_clu()
937 revise_pending = sbi->s_cluster_ratio > 1 && in ext4_es_insert_extent()
1200 if (sbi->s_cluster_ratio > 1) { in init_rsvd()
1238 if (sbi->s_cluster_ratio == 1) { in count_rsvd()
1283 if ((i + sbi->s_cluster_ratio - 1) <= end) { in count_rsvd()
1361 if (sbi->s_cluster_ratio > 1) { in get_rsvd()
2352 sbi->s_cluster_ratio - 1; in __revise_pending()
2378 last = EXT4_LBLK_CMASK(sbi, end) + sbi->s_cluster_ratio - 1; in __revise_pending()
H A Dext4.h384 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \
388 ~((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
390 ~((ext4_lblk_t) (s)->s_cluster_ratio - 1))
393 ((ext4_lblk_t) (sbi)->s_cluster_ratio - 1))
396 ((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
398 ((ext4_lblk_t) (s)->s_cluster_ratio - 1))
1537 unsigned int s_cluster_ratio; /* Number of blocks per cluster */ member
H A Dextents.c2527 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()
2546 if ((EXT4_LBLK_COFF(sbi, to) != sbi->s_cluster_ratio - 1) && in ext4_remove_blocks()
2553 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()
2676 if (sbi->s_cluster_ratio > 1) { in ext4_ext_rm_leaf()
2800 sbi->s_cluster_ratio, flags); in ext4_ext_rm_leaf()
2911 if (sbi->s_cluster_ratio > 1) { in ext4_ext_remove_space()
2929 } else if (sbi->s_cluster_ratio > 1 && end >= ex_end && in ext4_ext_remove_space()
3063 sbi->s_cluster_ratio, flags); in ext4_ext_remove_space()
4149 (unsigned) sbi->s_cluster_ratio - c_offset); in get_implied_cluster_alloc()
4405 if ((sbi->s_cluster_ratio > 1) && err && in ext4_ext_map_blocks()
H A Dsuper.c4479 sbi->s_cluster_ratio = clustersize / sb->s_blocksize; in ext4_handle_clustersize()
4851 (sbi->s_cluster_ratio == 1)) { in ext4_check_geometry()
5322 return (stripe > 0 && sbi->s_cluster_ratio > 1 && in ext4_is_stripe_incompatible()
5323 stripe % sbi->s_cluster_ratio != 0); in ext4_is_stripe_incompatible()
5446 sbi->s_stripe, sbi->s_cluster_ratio); in __ext4_fill_super()
6598 ctx->s_stripe, sbi->s_cluster_ratio); in __ext4_remount()
H A Dmballoc-test.c202 sbi->s_cluster_ratio = 1U << layout->cluster_bits; in mbt_init_sb_layout()
H A Dmballoc.c2691 if ((sbi->s_stripe >= sbi->s_cluster_ratio) && in __ext4_mb_scan_group()
6749 overflow = sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
6770 count += sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
H A Dresize.c2112 sbi->s_itb_per_group + sbi->s_cluster_ratio) >= n_blocks_count) { in ext4_resize_fs()
H A Dinode.c1856 if (sbi->s_cluster_ratio == 1) { in ext4_insert_delayed_blocks()