Searched refs:EXT4_B2C (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/fs/ext4/ |
D | balloc.c | 93 block_cluster = EXT4_B2C(sbi, in ext4_num_overhead_clusters() 104 inode_cluster = EXT4_B2C(sbi, in ext4_num_overhead_clusters() 117 c = EXT4_B2C(sbi, itbl_blk + i - start); in ext4_num_overhead_clusters() 193 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap() 197 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap() 203 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap()
|
D | extents.c | 2268 if (*partial_cluster && (EXT4_B2C(sbi, pblk) != *partial_cluster)) { in ext4_remove_blocks() 2309 *partial_cluster = EXT4_B2C(sbi, pblk); in ext4_remove_blocks() 2495 (EXT4_B2C(sbi, ext4_ext_pblock(ex) + ex_ee_len - 1) != in ext4_ext_rm_leaf() 3570 alloc_cluster_start = EXT4_B2C(sbi, lblk_start); in get_reserved_cluster_alloc() 3571 alloc_cluster_end = EXT4_B2C(sbi, lblk_start + num_blks - 1); in get_reserved_cluster_alloc() 3790 ex_cluster_start = EXT4_B2C(sbi, ee_block); in get_implied_cluster_alloc() 3791 ex_cluster_end = EXT4_B2C(sbi, ee_block + ee_len - 1); in get_implied_cluster_alloc() 3794 rr_cluster_start = EXT4_B2C(sbi, map->m_lblk); in get_implied_cluster_alloc()
|
D | super.c | 2997 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead() 3002 ext4_set_bit(EXT4_B2C(sbi, b - first_block), buf); in count_overhead() 3008 int c = EXT4_B2C(sbi, b - first_block); in count_overhead() 3020 ext4_set_bit(EXT4_B2C(sbi, s++), buf); in count_overhead() 3054 overhead = EXT4_B2C(sbi, le32_to_cpu(es->s_first_data_block)); in ext4_calculate_overhead()
|
D | ext4.h | 282 #define EXT4_B2C(sbi, blk) ((blk) >> (sbi)->s_cluster_bits) macro
|