Home
last modified time | relevance | path

Searched refs:EXT4_B2C (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/fs/ext4/
Dballoc.c113 block_cluster = EXT4_B2C(sbi, in ext4_num_overhead_clusters()
124 inode_cluster = EXT4_B2C(sbi, in ext4_num_overhead_clusters()
137 c = EXT4_B2C(sbi, itbl_blk + i - start); in ext4_num_overhead_clusters()
222 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap()
226 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap()
232 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap()
339 if (!ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) in ext4_valid_block_bitmap()
346 if (!ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) in ext4_valid_block_bitmap()
354 EXT4_B2C(sbi, offset + EXT4_SB(sb)->s_itb_per_group), in ext4_valid_block_bitmap()
355 EXT4_B2C(sbi, offset)); in ext4_valid_block_bitmap()
[all …]
Dextents.c2501 *partial_cluster != (long long) EXT4_B2C(sbi, pblk)) { in ext4_remove_blocks()
2537 *partial_cluster == -(long long) EXT4_B2C(sbi, pblk+num-1)) in ext4_remove_blocks()
2560 first_cluster = (long long) EXT4_B2C(sbi, pblk); in ext4_remove_blocks()
2656 -(long long) EXT4_B2C(sbi, pblk); in ext4_ext_rm_leaf()
2758 if (*partial_cluster != (long long) EXT4_B2C(sbi, pblk)) { in ext4_ext_rm_leaf()
2867 -(long long) EXT4_B2C(sbi, pblk); in ext4_ext_remove_space()
2897 -(long long) EXT4_B2C(sbi, pblk); in ext4_ext_remove_space()
3899 alloc_cluster_start = EXT4_B2C(sbi, lblk_start); in get_reserved_cluster_alloc()
3900 alloc_cluster_end = EXT4_B2C(sbi, lblk_start + num_blks - 1); in get_reserved_cluster_alloc()
4204 ex_cluster_start = EXT4_B2C(sbi, ee_block); in get_implied_cluster_alloc()
[all …]
Dsuper.c3313 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead()
3318 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead()
3324 int c = EXT4_B2C(sbi, b - first_block); in count_overhead()
3336 ext4_set_bit(EXT4_B2C(sbi, s++), buf); in count_overhead()
3369 overhead = EXT4_B2C(sbi, le32_to_cpu(es->s_first_data_block)); in ext4_calculate_overhead()
Dext4.h256 #define EXT4_B2C(sbi, blk) ((blk) >> (sbi)->s_cluster_bits) macro