Searched refs:EXT4_NUM_B2C (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/fs/ext4/ |
D | balloc.c | 175 return EXT4_NUM_B2C(EXT4_SB(sb), blocks); in num_clusters_in_group() 763 EXT4_NUM_B2C(EXT4_SB(sb), ext4_free_blocks_count(es)), in ext4_count_free_clusters() 896 return EXT4_NUM_B2C(sbi, num); in ext4_num_base_meta_clusters()
|
D | resize.c | 391 EXT4_NUM_B2C(EXT4_SB(sb), in ext4_alloc_group_tables() 650 EXT4_NUM_B2C(sbi, overhead)); in setup_new_flex_group_blocks() 1490 EXT4_NUM_B2C(sbi, free_blocks)); in ext4_update_super() 1502 atomic64_add(EXT4_NUM_B2C(sbi, free_blocks), in ext4_update_super() 1517 EXT4_NUM_B2C(sbi, blocks_count - free_blocks)); in ext4_update_super()
|
D | mballoc.c | 3886 clen = EXT4_NUM_B2C(sbi, thisgrp_len); in ext4_mb_mark_bb() 4188 ac->ac_g_ex.fe_len = EXT4_NUM_B2C(sbi, size); in ext4_mb_normalize_request() 4285 len = EXT4_NUM_B2C(sbi, end - start); in ext4_mb_use_inode_pa() 4647 EXT4_NUM_B2C(sbi, win); in ext4_mb_new_inode_pa() 5934 count_clusters = EXT4_NUM_B2C(sbi, count); in ext4_mb_clear_bb() 6487 minlen = EXT4_NUM_B2C(EXT4_SB(sb), in ext4_trim_fs() 6496 minlen = EXT4_NUM_B2C(EXT4_SB(sb), in ext4_trim_fs()
|
D | ext4.h | 318 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \ macro
|
D | super.c | 4168 overhead += EXT4_NUM_B2C(sbi, sbi->s_journal->j_total_len); in ext4_calculate_overhead() 4174 overhead += EXT4_NUM_B2C(sbi, j_blocks); in ext4_calculate_overhead()
|
D | extents.c | 4273 ar.len = EXT4_NUM_B2C(sbi, offset+allocated); in ext4_ext_map_blocks()
|