Home
last modified time | relevance | path

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

/linux/fs/ext4/
H A Dballoc.c118 itbl_cluster_start = EXT4_B2C(sbi, itbl_blk_start - start); in ext4_num_overhead_clusters()
119 itbl_cluster_end = EXT4_B2C(sbi, itbl_blk_end - start); in ext4_num_overhead_clusters()
137 block_cluster = EXT4_B2C(sbi, in ext4_num_overhead_clusters()
146 inode_cluster = EXT4_B2C(sbi, in ext4_num_overhead_clusters()
213 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap()
217 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap()
223 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap()
374 if (offset < 0 || EXT4_B2C(sbi, offset) >= max_bit || in ext4_valid_block_bitmap()
375 !ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) in ext4_valid_block_bitmap()
382 if (offset < 0 || EXT4_B2C(sbi, offset) >= max_bit || in ext4_valid_block_bitmap()
[all …]
H A Dresize.c69 if (EXT4_B2C(sbi, sbi->s_sbh->b_blocknr) != in ext4_resize_begin()
145 input->free_clusters_count = EXT4_B2C(sbi, free_blocks_count); in verify_group_input()
476 start = EXT4_B2C(sbi, ext4_group_first_block_no(sb, group)); in set_flexbg_block_bitmap()
652 ext4_mark_bitmap_end(EXT4_B2C(sbi, group_data[i].blocks_count), in setup_new_flex_group_blocks()
696 EXT4_B2C(sbi, start), in setup_new_flex_group_blocks()
697 EXT4_B2C(sbi, in setup_new_flex_group_blocks()
709 EXT4_B2C(sbi, start), in setup_new_flex_group_blocks()
710 EXT4_B2C(sbi, in setup_new_flex_group_blocks()
H A Dextents.c2528 partial->pclu != EXT4_B2C(sbi, last_pblk)) { in ext4_remove_blocks()
2580 if (partial->state != initial && partial->pclu != EXT4_B2C(sbi, pblk)) in ext4_remove_blocks()
2595 partial->pclu = EXT4_B2C(sbi, pblk); in ext4_remove_blocks()
2686 partial->pclu = EXT4_B2C(sbi, pblk); in ext4_ext_rm_leaf()
2801 if (partial->pclu != EXT4_B2C(sbi, pblk)) { in ext4_ext_rm_leaf()
2921 partial.pclu = EXT4_B2C(sbi, pblk); in ext4_ext_remove_space()
2955 partial.pclu = EXT4_B2C(sbi, pblk); in ext4_ext_remove_space()
4145 ex_cluster_start = EXT4_B2C(sbi, ee_block); in get_implied_cluster_alloc()
4146 ex_cluster_end = EXT4_B2C(sbi, ee_block + ee_len - 1); in get_implied_cluster_alloc()
4149 rr_cluster_start = EXT4_B2C(sbi, map->m_lblk); in get_implied_cluster_alloc()
[all …]
H A Dfsmap.c603 EXT4_B2C(sbi, info->gfi_low.fmr_physical), in ext4_getfsmap_datadev()
604 EXT4_B2C(sbi, info->gfi_high.fmr_physical), in ext4_getfsmap_datadev()
H A Dinode.c1819 ret = ext4_clu_mapped(inode, EXT4_B2C(sbi, lblk)); in ext4_clu_alloc_state()
1866 resv_clu = EXT4_B2C(sbi, end) - EXT4_B2C(sbi, lblk) + 1; in ext4_insert_delayed_blocks()
1876 if (EXT4_B2C(sbi, lblk) != EXT4_B2C(sbi, end)) { in ext4_insert_delayed_blocks()
H A Dsuper.c4208 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead()
4213 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead()
4219 int c = EXT4_B2C(sbi, b - first_block); in count_overhead()
4238 ext4_set_bit(EXT4_B2C(sbi, s++), buf); in count_overhead()
4271 overhead = EXT4_B2C(sbi, le32_to_cpu(es->s_first_data_block)); in ext4_calculate_overhead()
H A Dmballoc.c2662 i = EXT4_B2C(sbi, i); in ext4_mb_scan_aligned()
4867 EXT4_B2C(sbi, ac->ac_g_ex.fe_logical - pa->pa_lstart)) in ext4_mb_pa_goal_check()
6803 ext4_fsblk_t first_cluster = EXT4_B2C(sbi, block); in ext4_group_add_blocks()
6804 ext4_fsblk_t last_cluster = EXT4_B2C(sbi, block + count - 1); in ext4_group_add_blocks()
H A Dext4.h379 #define EXT4_B2C(sbi, blk) ((blk) >> (sbi)->s_cluster_bits) macro