Searched refs:EXT4_NUM_B2C (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/fs/ext4/ |
D | balloc.c | 179 return EXT4_NUM_B2C(EXT4_SB(sb), blocks); in num_clusters_in_group() 805 EXT4_NUM_B2C(EXT4_SB(sb), ext4_free_blocks_count(es)), in ext4_count_free_clusters() 944 return EXT4_NUM_B2C(EXT4_SB(sb), ext4_num_base_meta_blocks(sb, block_group)); in ext4_num_base_meta_clusters()
|
D | resize.c | 399 EXT4_NUM_B2C(EXT4_SB(sb), in ext4_alloc_group_tables() 653 EXT4_NUM_B2C(sbi, overhead)); in setup_new_flex_group_blocks() 1494 EXT4_NUM_B2C(sbi, free_blocks)); in ext4_update_super() 1506 atomic64_add(EXT4_NUM_B2C(sbi, free_blocks), in ext4_update_super() 1521 EXT4_NUM_B2C(sbi, blocks_count - free_blocks)); in ext4_update_super()
|
D | mballoc.c | 1020 num_stripe_clusters = EXT4_NUM_B2C(sbi, sbi->s_stripe); in ext4_mb_choose_next_group_best_avail() 4129 clen = EXT4_NUM_B2C(sbi, thisgrp_len); in ext4_mb_mark_bb() 4573 ac->ac_g_ex.fe_len = EXT4_NUM_B2C(sbi, size); in ext4_mb_normalize_request() 4685 len = EXT4_NUM_B2C(sbi, end - start); in ext4_mb_use_inode_pa() 6488 count_clusters = EXT4_NUM_B2C(sbi, count); in ext4_mb_clear_bb() 6661 ext4_free_blocks_simple(inode, block, EXT4_NUM_B2C(sbi, count)); in ext4_free_blocks() 7063 minlen = EXT4_NUM_B2C(EXT4_SB(sb), in ext4_trim_fs() 7072 minlen = EXT4_NUM_B2C(EXT4_SB(sb), in ext4_trim_fs()
|
D | ext4.h | 371 #define EXT4_NUM_B2C(sbi, blks) (((blks) + (sbi)->s_cluster_ratio - 1) >> \ macro
|
D | super.c | 4238 overhead += EXT4_NUM_B2C(sbi, sbi->s_journal->j_total_len); in ext4_calculate_overhead() 4244 overhead += EXT4_NUM_B2C(sbi, j_blocks); in ext4_calculate_overhead()
|
D | extents.c | 4300 ar.len = EXT4_NUM_B2C(sbi, offset+allocated); in ext4_ext_map_blocks()
|