Searched refs:EXT2FS_CLUSTER_RATIO (Results 1 – 15 of 15) sorted by relevance
41 num_blocks *= EXT2FS_CLUSTER_RATIO(fs); in ext2fs_iblk_add_blocks()65 num_blocks *= EXT2FS_CLUSTER_RATIO(fs); in ext2fs_iblk_sub_blocks()84 b *= EXT2FS_CLUSTER_RATIO(fs); in ext2fs_iblk_set()
191 if (EXT2FS_CLUSTER_RATIO(fs) == 1) { in punch_extent_blocks()212 cluster_freed = EXT2FS_CLUSTER_RATIO(fs) - in punch_extent_blocks()222 while (free_count > 0 && free_count >= EXT2FS_CLUSTER_RATIO(fs)) { in punch_extent_blocks()225 cluster_freed = EXT2FS_CLUSTER_RATIO(fs); in punch_extent_blocks()
63 EXT2FS_CLUSTER_RATIO(fs) > 1) in ext2fs_reserve_super_and_bgd()
81 -inuse * EXT2FS_CLUSTER_RATIO(fs)); in ext2fs_block_alloc_stats2()
213 ((param->s_clusters_per_group * EXT2FS_CLUSTER_RATIO(fs)) != in ext2fs_initialize()223 EXT2FS_CLUSTER_RATIO(fs); in ext2fs_initialize()
161 for (i = 0; i < EXT2FS_CLUSTER_RATIO(fs); i++) { in implied_cluster_alloc()
1035 EXT2FS_CLUSTER_RATIO(handle->fs)) / 512; in ext2fs_extent_node_split()1517 EXT2FS_CLUSTER_RATIO(handle->fs)) / 512; in ext2fs_extent_delete()
612 #define EXT2FS_CLUSTER_RATIO(fs) (1 << (fs)->cluster_ratio_bits) macro613 #define EXT2FS_CLUSTER_MASK(fs) (EXT2FS_CLUSTER_RATIO(fs) - 1)
491 bpg_max = 8 * EXT2_BLOCK_SIZE(sb) * EXT2FS_CLUSTER_RATIO(fs); in check_super_block()544 EXT2FS_CLUSTER_RATIO(fs))) { in check_super_block()545 pctx.num = sb->s_clusters_per_group * EXT2FS_CLUSTER_RATIO(fs); in check_super_block()563 EXT2FS_CLUSTER_RATIO(fs) == 1) ? 1 : 0; in check_super_block()
267 i += EXT2FS_CLUSTER_RATIO(fs)) { in check_block_bitmaps()413 (pctx.blk2 == i - EXT2FS_CLUSTER_RATIO(fs))) in check_block_bitmaps()414 pctx.blk2 += EXT2FS_CLUSTER_RATIO(fs); in check_block_bitmaps()
655 if (blk % EXT2FS_CLUSTER_RATIO(fs) == 0) { in write_dir_block()
2140 pb.num_blocks *= EXT2FS_CLUSTER_RATIO(fs); in check_blocks()
268 EXT2FS_CLUSTER_RATIO(fs)); in list_desc()
296 ext2fs_free_blocks_count_add(fs->super, EXT2FS_CLUSTER_RATIO(fs)); in release_blocks_proc()
1250 blk += EXT2FS_CLUSTER_RATIO(fs)) { in block_mover()1360 new_block += old_loc & (EXT2FS_CLUSTER_RATIO(fs) - 1); in extent_translate()1921 blk += EXT2FS_CLUSTER_RATIO(fs)) { in ext2fs_calculate_summary_stats()