Searched refs:EXT4_NUM_B2C (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/fs/ext4/ |
D | balloc.c | 175 return EXT4_NUM_B2C(EXT4_SB(sb), blocks); in num_clusters_in_group() 720 EXT4_NUM_B2C(EXT4_SB(sb), ext4_free_blocks_count(es)), in ext4_count_free_clusters() 853 return EXT4_NUM_B2C(sbi, num); in ext4_num_base_meta_clusters()
|
D | resize.c | 345 EXT4_NUM_B2C(EXT4_SB(sb), in ext4_alloc_group_tables() 619 EXT4_NUM_B2C(sbi, overhead)); in setup_new_flex_group_blocks() 1415 EXT4_NUM_B2C(sbi, free_blocks)); in ext4_update_super() 1424 atomic64_add(EXT4_NUM_B2C(sbi, free_blocks), in ext4_update_super()
|
D | mballoc.c | 3233 ac->ac_g_ex.fe_len = EXT4_NUM_B2C(sbi, size); in ext4_mb_normalize_request() 3329 len = EXT4_NUM_B2C(sbi, end - start); in ext4_mb_use_inode_pa() 3671 EXT4_NUM_B2C(sbi, win); in ext4_mb_new_inode_pa() 4808 count_clusters = EXT4_NUM_B2C(sbi, count); in ext4_free_blocks() 5252 minlen = EXT4_NUM_B2C(EXT4_SB(sb), in ext4_trim_fs()
|
D | super.c | 3537 overhead += EXT4_NUM_B2C(sbi, sbi->s_journal->j_maxlen); in ext4_calculate_overhead() 3542 overhead += EXT4_NUM_B2C(sbi, j_blocks); in ext4_calculate_overhead()
|
D | ext4.h | 289 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \ macro
|
D | extents.c | 4446 ar.len = EXT4_NUM_B2C(sbi, offset+allocated); in ext4_ext_map_blocks()
|