Searched refs:EXT4_B2C (Results 1 – 4 of 4) sorted by relevance
| /linux-4.4.14/fs/ext4/ |
| D | balloc.c | 113 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 …]
|
| D | extents.c | 2503 *partial_cluster != (long long) EXT4_B2C(sbi, pblk)) { in ext4_remove_blocks() 2539 *partial_cluster == -(long long) EXT4_B2C(sbi, pblk+num-1)) in ext4_remove_blocks() 2562 first_cluster = (long long) EXT4_B2C(sbi, pblk); in ext4_remove_blocks() 2658 -(long long) EXT4_B2C(sbi, pblk); in ext4_ext_rm_leaf() 2760 if (*partial_cluster != (long long) EXT4_B2C(sbi, pblk)) { in ext4_ext_rm_leaf() 2869 -(long long) EXT4_B2C(sbi, pblk); in ext4_ext_remove_space() 2899 -(long long) EXT4_B2C(sbi, pblk); in ext4_ext_remove_space() 3904 alloc_cluster_start = EXT4_B2C(sbi, lblk_start); in get_reserved_cluster_alloc() 3905 alloc_cluster_end = EXT4_B2C(sbi, lblk_start + num_blks - 1); in get_reserved_cluster_alloc() 4209 ex_cluster_start = EXT4_B2C(sbi, ee_block); in get_implied_cluster_alloc() [all …]
|
| D | super.c | 2992 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead() 2997 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead() 3003 int c = EXT4_B2C(sbi, b - first_block); in count_overhead() 3015 ext4_set_bit(EXT4_B2C(sbi, s++), buf); in count_overhead() 3048 overhead = EXT4_B2C(sbi, le32_to_cpu(es->s_first_data_block)); in ext4_calculate_overhead()
|
| D | ext4.h | 253 #define EXT4_B2C(sbi, blk) ((blk) >> (sbi)->s_cluster_bits) macro
|