Searched refs:EXT4_B2C (Results 1 – 5 of 5) sorted by relevance
/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() 221 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap() 225 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap() 231 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap() 345 if (offset < 0 || EXT4_B2C(sbi, offset) >= max_bit || in ext4_valid_block_bitmap() 346 !ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) in ext4_valid_block_bitmap() 353 if (offset < 0 || EXT4_B2C(sbi, offset) >= max_bit || in ext4_valid_block_bitmap() 354 !ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) in ext4_valid_block_bitmap() [all …]
|
D | extents.c | 2540 *partial_cluster != (long long) EXT4_B2C(sbi, pblk)) { in ext4_remove_blocks() 2576 *partial_cluster == -(long long) EXT4_B2C(sbi, pblk+num-1)) in ext4_remove_blocks() 2599 first_cluster = (long long) EXT4_B2C(sbi, pblk); in ext4_remove_blocks() 2695 -(long long) EXT4_B2C(sbi, pblk); in ext4_ext_rm_leaf() 2797 if (*partial_cluster != (long long) EXT4_B2C(sbi, pblk)) { in ext4_ext_rm_leaf() 2906 -(long long) EXT4_B2C(sbi, pblk); in ext4_ext_remove_space() 2936 -(long long) EXT4_B2C(sbi, pblk); in ext4_ext_remove_space() 3944 alloc_cluster_start = EXT4_B2C(sbi, lblk_start); in get_reserved_cluster_alloc() 3945 alloc_cluster_end = EXT4_B2C(sbi, lblk_start + num_blks - 1); in get_reserved_cluster_alloc() 4249 ex_cluster_start = EXT4_B2C(sbi, ee_block); in get_implied_cluster_alloc() [all …]
|
D | super.c | 3103 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead() 3108 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead() 3114 int c = EXT4_B2C(sbi, b - first_block); in count_overhead() 3133 ext4_set_bit(EXT4_B2C(sbi, s++), buf); in count_overhead() 3164 overhead = EXT4_B2C(sbi, le32_to_cpu(es->s_first_data_block)); in ext4_calculate_overhead()
|
D | resize.c | 59 if (EXT4_B2C(sbi, sbi->s_sbh->b_blocknr) != in ext4_resize_begin()
|
D | ext4.h | 254 #define EXT4_B2C(sbi, blk) ((blk) >> (sbi)->s_cluster_bits) macro
|