Home
last modified time | relevance | path

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

/Linux-v4.19/fs/ext4/
Dballoc.c114 block_cluster = EXT4_B2C(sbi, in ext4_num_overhead_clusters()
125 inode_cluster = EXT4_B2C(sbi, in ext4_num_overhead_clusters()
138 c = EXT4_B2C(sbi, itbl_blk + i - start); in ext4_num_overhead_clusters()
212 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap()
216 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap()
222 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap()
328 if (offset < 0 || EXT4_B2C(sbi, offset) >= max_bit || in ext4_valid_block_bitmap()
329 !ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) in ext4_valid_block_bitmap()
336 if (offset < 0 || EXT4_B2C(sbi, offset) >= max_bit || in ext4_valid_block_bitmap()
337 !ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) in ext4_valid_block_bitmap()
[all …]
Dresize.c33 if (EXT4_B2C(sbi, sbi->s_sbh->b_blocknr) != in ext4_resize_begin()
440 start = EXT4_B2C(sbi, ext4_group_first_block_no(sb, group)); in set_flexbg_block_bitmap()
618 ext4_mark_bitmap_end(EXT4_B2C(sbi, group_data[i].blocks_count), in setup_new_flex_group_blocks()
664 EXT4_B2C(sbi, start), in setup_new_flex_group_blocks()
665 EXT4_B2C(sbi, in setup_new_flex_group_blocks()
678 EXT4_B2C(sbi, start), in setup_new_flex_group_blocks()
679 EXT4_B2C(sbi, in setup_new_flex_group_blocks()
Dfsmap.c535 EXT4_B2C(sbi, info->gfi_low.fmr_physical), in ext4_getfsmap_datadev()
536 EXT4_B2C(sbi, info->gfi_high.fmr_physical), in ext4_getfsmap_datadev()
Dextents.c2520 *partial_cluster != (long long) EXT4_B2C(sbi, pblk)) { in ext4_remove_blocks()
2556 *partial_cluster == -(long long) EXT4_B2C(sbi, pblk+num-1)) in ext4_remove_blocks()
2579 first_cluster = (long long) EXT4_B2C(sbi, pblk); in ext4_remove_blocks()
2675 -(long long) EXT4_B2C(sbi, pblk); in ext4_ext_rm_leaf()
2777 if (*partial_cluster != (long long) EXT4_B2C(sbi, pblk)) { in ext4_ext_rm_leaf()
2886 -(long long) EXT4_B2C(sbi, pblk); in ext4_ext_remove_space()
2916 -(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()
4201 ex_cluster_start = EXT4_B2C(sbi, ee_block); in get_implied_cluster_alloc()
[all …]
Dsuper.c3364 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead()
3369 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead()
3375 int c = EXT4_B2C(sbi, b - first_block); in count_overhead()
3394 ext4_set_bit(EXT4_B2C(sbi, s++), buf); in count_overhead()
3427 overhead = EXT4_B2C(sbi, le32_to_cpu(es->s_first_data_block)); in ext4_calculate_overhead()
Dmballoc.c4968 ext4_fsblk_t first_cluster = EXT4_B2C(sbi, block); in ext4_group_add_blocks()
4969 ext4_fsblk_t last_cluster = EXT4_B2C(sbi, block + count - 1); in ext4_group_add_blocks()
Dext4.h286 #define EXT4_B2C(sbi, blk) ((blk) >> (sbi)->s_cluster_bits) macro