Home
last modified time | relevance | path

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

/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()
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 …]
Dextents.c2540 *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 …]
Dsuper.c3103 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()
Dresize.c59 if (EXT4_B2C(sbi, sbi->s_sbh->b_blocknr) != in ext4_resize_begin()
Dext4.h254 #define EXT4_B2C(sbi, blk) ((blk) >> (sbi)->s_cluster_bits) macro