Searched refs:EXT2FS_CLUSTER_RATIO (Results 1 – 20 of 20) sorted by relevance
41 num_blocks *= EXT2FS_CLUSTER_RATIO(fs); in ext2fs_iblk_add_blocks()64 num_blocks *= EXT2FS_CLUSTER_RATIO(fs); in ext2fs_iblk_sub_blocks()82 b *= EXT2FS_CLUSTER_RATIO(fs); in ext2fs_iblk_set()
88 clusters = (len + EXT2FS_CLUSTER_RATIO(fs) - 1) / in claim_range()89 EXT2FS_CLUSTER_RATIO(fs); in claim_range()91 clusters * EXT2FS_CLUSTER_RATIO(fs), +1); in claim_range()136 if (left_ext && EXT2FS_CLUSTER_RATIO(fs) > 1) { in ext_falloc_helper()152 cluster_fill = EXT2FS_CLUSTER_RATIO(fs) - in ext_falloc_helper()201 if (right_ext && EXT2FS_CLUSTER_RATIO(fs) > 1) { in ext_falloc_helper()363 if (EXT2FS_CLUSTER_RATIO(fs) > 1) { in ext_falloc_helper()434 if (EXT2FS_CLUSTER_RATIO(fs) > 1) { in ext_falloc_helper()440 fillable -= EXT2FS_CLUSTER_RATIO(fs) - in ext_falloc_helper()494 cluster_fill = EXT2FS_CLUSTER_RATIO(fs) - in ext_falloc_helper()
204 if (EXT2FS_CLUSTER_RATIO(fs) == 1) { in punch_extent_blocks()225 cluster_freed = EXT2FS_CLUSTER_RATIO(fs) - in punch_extent_blocks()235 while (free_count > 0 && free_count >= (unsigned) EXT2FS_CLUSTER_RATIO(fs)) { in punch_extent_blocks()238 cluster_freed = EXT2FS_CLUSTER_RATIO(fs); in punch_extent_blocks()
81 -inuse * (blk64_t) EXT2FS_CLUSTER_RATIO(fs)); in ext2fs_block_alloc_stats2()139 inuse*n/EXT2FS_CLUSTER_RATIO(fs)); in ext2fs_block_alloc_stats_range()
64 EXT2FS_CLUSTER_RATIO(fs) > 1) in ext2fs_reserve_super_and_bgd()
234 ((param->s_clusters_per_group * EXT2FS_CLUSTER_RATIO(fs)) != in ext2fs_initialize()244 EXT2FS_CLUSTER_RATIO(fs); in ext2fs_initialize()
242 n/EXT2FS_CLUSTER_RATIO(fs)); in ext2fs_allocate_group_table()
161 for (i = 0; i < EXT2FS_CLUSTER_RATIO(fs); i++) { in implied_cluster_alloc()
46 if (i == 0 && fs->blocksize == 1024 && EXT2FS_CLUSTER_RATIO(fs) > 1) in ext2fs_descriptor_block_loc2()
953 goal_blk -= EXT2FS_CLUSTER_RATIO(handle->fs); in extent_node_split()1658 EXT2FS_CLUSTER_RATIO(handle->fs)) / 512; in ext2fs_extent_delete()
661 #define EXT2FS_CLUSTER_RATIO(fs) (1 << (fs)->cluster_ratio_bits) macro662 #define EXT2FS_CLUSTER_MASK(fs) (EXT2FS_CLUSTER_RATIO(fs) - 1)
370 count / EXT2FS_CLUSTER_RATIO(fs)); in mk_hugefile()431 EXT2FS_CLUSTER_RATIO(fs); in calc_overhead()513 if (part_offset % EXT2FS_CLUSTER_RATIO(fs)) { in mk_hugefiles()
299 EXT2FS_CLUSTER_RATIO(fs)); in list_desc()
361 ext2fs_free_blocks_count_add(fs->super, EXT2FS_CLUSTER_RATIO(fs)); in release_blocks_proc()
769 b *= EXT2FS_CLUSTER_RATIO(fs); in blocks_from_inode()
403 cluster_ratio = EXT2FS_CLUSTER_RATIO(rfs->new_fs); in move_bg_metadata()642 if (EXT2FS_CLUSTER_RATIO(fs) > 1) { in free_gdp_blocks()1384 if (EXT2FS_CLUSTER_RATIO(fs) > 1) { in blocks_to_move()1408 EXT2FS_CLUSTER_RATIO(fs) - in blocks_to_move()1414 blk += EXT2FS_CLUSTER_RATIO(fs); in blocks_to_move()1699 blk += EXT2FS_CLUSTER_RATIO(fs)) { in block_mover()1809 new_block += old_loc & (EXT2FS_CLUSTER_RATIO(fs) - 1); in extent_translate()2420 if (EXT2FS_CLUSTER_RATIO(fs) > 1) { in move_itables()2516 cluster_freed = EXT2FS_CLUSTER_RATIO(fs) - in move_itables()2768 blk += EXT2FS_CLUSTER_RATIO(fs)) { in ext2fs_calculate_summary_stats()[all …]
608 bpg_max = 8 * EXT2_BLOCK_SIZE(sb) * EXT2FS_CLUSTER_RATIO(fs); in check_super_block()706 EXT2FS_CLUSTER_RATIO(fs))) { in check_super_block()707 pctx.num = sb->s_clusters_per_group * EXT2FS_CLUSTER_RATIO(fs); in check_super_block()725 EXT2FS_CLUSTER_RATIO(fs) == 1) ? 1 : 0; in check_super_block()
372 i += EXT2FS_CLUSTER_RATIO(fs)) { in check_block_bitmaps()449 (pctx.blk2 == i - EXT2FS_CLUSTER_RATIO(fs))) in check_block_bitmaps()450 pctx.blk2 += EXT2FS_CLUSTER_RATIO(fs); in check_block_bitmaps()
2333 for (i = 0; i < num; i += EXT2FS_CLUSTER_RATIO(ctx->fs)) in mark_blocks_used()3055 if (EXT2FS_CLUSTER_RATIO(ctx->fs) > 1) in scan_extent_node()3057 EXT2FS_CLUSTER_RATIO(ctx->fs) - 1) & in scan_extent_node()3150 EXT2FS_CLUSTER_RATIO(ctx->fs)); in scan_extent_node()3458 pb.num_blocks *= EXT2FS_CLUSTER_RATIO(fs); in check_blocks()
675 if ((*block_nr % EXT2FS_CLUSTER_RATIO(ctx->fs)) == 0) in delete_file_block()