Home
last modified time | relevance | path

Searched refs:EXT2FS_CLUSTER_RATIO (Results 1 – 15 of 15) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Di_block.c41 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()
Dpunch.c191 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()
Dalloc_sb.c63 EXT2FS_CLUSTER_RATIO(fs) > 1) in ext2fs_reserve_super_and_bgd()
Dalloc_stats.c81 -inuse * EXT2FS_CLUSTER_RATIO(fs)); in ext2fs_block_alloc_stats2()
Dinitialize.c213 ((param->s_clusters_per_group * EXT2FS_CLUSTER_RATIO(fs)) != in ext2fs_initialize()
223 EXT2FS_CLUSTER_RATIO(fs); in ext2fs_initialize()
Dbmap.c161 for (i = 0; i < EXT2FS_CLUSTER_RATIO(fs); i++) { in implied_cluster_alloc()
Dextent.c1035 EXT2FS_CLUSTER_RATIO(handle->fs)) / 512; in ext2fs_extent_node_split()
1517 EXT2FS_CLUSTER_RATIO(handle->fs)) / 512; in ext2fs_extent_delete()
Dext2fs.h612 #define EXT2FS_CLUSTER_RATIO(fs) (1 << (fs)->cluster_ratio_bits) macro
613 #define EXT2FS_CLUSTER_MASK(fs) (EXT2FS_CLUSTER_RATIO(fs) - 1)
/external/e2fsprogs/e2fsck/
Dsuper.c491 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()
Dpass5.c267 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()
Drehash.c655 if (blk % EXT2FS_CLUSTER_RATIO(fs) == 0) { in write_dir_block()
Dpass1.c2140 pb.num_blocks *= EXT2FS_CLUSTER_RATIO(fs); in check_blocks()
/external/e2fsprogs/misc/
Ddumpe2fs.c268 EXT2FS_CLUSTER_RATIO(fs)); in list_desc()
Dtune2fs.c296 ext2fs_free_blocks_count_add(fs->super, EXT2FS_CLUSTER_RATIO(fs)); in release_blocks_proc()
/external/e2fsprogs/resize/
Dresize2fs.c1250 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()