Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ext4/
Dext4_jbd2.h294 return blocks * EXT4_SB(sb)->s_cluster_ratio; in ext4_free_metadata_revoke_credits()
485 return blocks + 2*(EXT4_SB(inode->i_sb)->s_cluster_ratio - 1); in ext4_free_data_revoke_credits()
Dextents_status.c399 lblk_end = lblk_start + sbi->s_cluster_ratio - 1; in __es_scan_clu()
862 if (sbi->s_cluster_ratio > 1 && test_opt(inode->i_sb, DELALLOC) && in ext4_es_insert_extent()
1024 if (sbi->s_cluster_ratio > 1) { in init_rsvd()
1063 if (sbi->s_cluster_ratio == 1) { in count_rsvd()
1108 if ((i + sbi->s_cluster_ratio - 1) <= end) { in count_rsvd()
1187 if (sbi->s_cluster_ratio > 1) { in get_rsvd()
2166 sbi->s_cluster_ratio - 1; in __revise_pending()
2186 last = EXT4_LBLK_CMASK(sbi, end) + sbi->s_cluster_ratio - 1; in __revise_pending()
Dext4.h304 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \
308 ~((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
310 ~((ext4_lblk_t) (s)->s_cluster_ratio - 1))
313 ((ext4_lblk_t) (sbi)->s_cluster_ratio - 1))
316 ((ext4_fsblk_t) (s)->s_cluster_ratio - 1))
318 ((ext4_lblk_t) (s)->s_cluster_ratio - 1))
1442 unsigned int s_cluster_ratio; /* Number of blocks per cluster */ member
Dextents.c2507 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()
2526 if ((EXT4_LBLK_COFF(sbi, to) != sbi->s_cluster_ratio - 1) && in ext4_remove_blocks()
2533 sbi->s_cluster_ratio, flags); in ext4_remove_blocks()
2657 if (sbi->s_cluster_ratio > 1) { in ext4_ext_rm_leaf()
2781 sbi->s_cluster_ratio, flags); in ext4_ext_rm_leaf()
2892 if (sbi->s_cluster_ratio > 1) { in ext4_ext_remove_space()
2909 } else if (sbi->s_cluster_ratio > 1 && end >= ex_end && in ext4_ext_remove_space()
3050 sbi->s_cluster_ratio, flags); in ext4_ext_remove_space()
4038 (unsigned) sbi->s_cluster_ratio - c_offset); in get_implied_cluster_alloc()
4238 if ((sbi->s_cluster_ratio > 1) && err && in ext4_ext_map_blocks()
Dresize.c2061 sbi->s_itb_per_group + sbi->s_cluster_ratio) >= n_blocks_count) { in ext4_resize_fs()
Dmballoc.c5414 overflow = sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
5433 count += sbi->s_cluster_ratio - overflow; in ext4_free_blocks()
Dsuper.c4584 sbi->s_cluster_ratio = clustersize / blocksize; in ext4_fill_super()
4626 (sbi->s_cluster_ratio == 1)) { in ext4_fill_super()
Dinode.c1665 if (sbi->s_cluster_ratio == 1) { in ext4_insert_delayed_block()