Searched refs:EXT2FS_CLUSTER_RATIO (Results 1 - 20 of 20) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
H A Di_block.c41 num_blocks *= EXT2FS_CLUSTER_RATIO(fs);
64 num_blocks *= EXT2FS_CLUSTER_RATIO(fs);
82 b *= EXT2FS_CLUSTER_RATIO(fs);
H A Dalloc_sb.c64 EXT2FS_CLUSTER_RATIO(fs) > 1)
H A Dalloc_stats.c81 -inuse * (blk64_t) EXT2FS_CLUSTER_RATIO(fs));
139 inuse*n/EXT2FS_CLUSTER_RATIO(fs));
H A Dfallocate.c88 clusters = (len + EXT2FS_CLUSTER_RATIO(fs) - 1) /
89 EXT2FS_CLUSTER_RATIO(fs);
91 clusters * EXT2FS_CLUSTER_RATIO(fs), +1);
136 if (left_ext && EXT2FS_CLUSTER_RATIO(fs) > 1) {
152 cluster_fill = EXT2FS_CLUSTER_RATIO(fs) -
201 if (right_ext && EXT2FS_CLUSTER_RATIO(fs) > 1) {
363 if (EXT2FS_CLUSTER_RATIO(fs) > 1) {
434 if (EXT2FS_CLUSTER_RATIO(fs) > 1) {
440 fillable -= EXT2FS_CLUSTER_RATIO(fs) -
494 cluster_fill = EXT2FS_CLUSTER_RATIO(f
[all...]
H A Dpunch.c204 if (EXT2FS_CLUSTER_RATIO(fs) == 1) {
225 cluster_freed = EXT2FS_CLUSTER_RATIO(fs) -
235 while (free_count > 0 && free_count >= (unsigned) EXT2FS_CLUSTER_RATIO(fs)) {
238 cluster_freed = EXT2FS_CLUSTER_RATIO(fs);
H A Dinitialize.c227 ((param->s_clusters_per_group * EXT2FS_CLUSTER_RATIO(fs)) !=
237 EXT2FS_CLUSTER_RATIO(fs);
H A Dbmap.c161 for (i = 0; i < EXT2FS_CLUSTER_RATIO(fs); i++) {
H A Dopenfs.c47 if (i == 0 && fs->blocksize == 1024 && EXT2FS_CLUSTER_RATIO(fs) > 1)
H A Dextent.c953 goal_blk -= EXT2FS_CLUSTER_RATIO(handle->fs);
1658 EXT2FS_CLUSTER_RATIO(handle->fs)) / 512;
H A Dext2fs.h635 #define EXT2FS_CLUSTER_RATIO(fs) (1 << (fs)->cluster_ratio_bits) macro
636 #define EXT2FS_CLUSTER_MASK(fs) (EXT2FS_CLUSTER_RATIO(fs) - 1)
/external/e2fsprogs/resize/
H A Dresize2fs.c403 cluster_ratio = EXT2FS_CLUSTER_RATIO(rfs->new_fs);
642 if (EXT2FS_CLUSTER_RATIO(fs) > 1) {
1383 if (EXT2FS_CLUSTER_RATIO(fs) > 1) {
1407 EXT2FS_CLUSTER_RATIO(fs) -
1413 blk += EXT2FS_CLUSTER_RATIO(fs);
1698 blk += EXT2FS_CLUSTER_RATIO(fs)) {
1808 new_block += old_loc & (EXT2FS_CLUSTER_RATIO(fs) - 1);
2316 if (EXT2FS_CLUSTER_RATIO(fs) > 1) {
2412 cluster_freed = EXT2FS_CLUSTER_RATIO(fs) -
2664 blk += EXT2FS_CLUSTER_RATIO(f
[all...]
/external/e2fsprogs/e2fsck/
H A Dsuper.c489 bpg_max = 8 * EXT2_BLOCK_SIZE(sb) * EXT2FS_CLUSTER_RATIO(fs);
542 EXT2FS_CLUSTER_RATIO(fs))) {
543 pctx.num = sb->s_clusters_per_group * EXT2FS_CLUSTER_RATIO(fs);
561 EXT2FS_CLUSTER_RATIO(fs) == 1) ? 1 : 0;
H A Dpass5.c374 i += EXT2FS_CLUSTER_RATIO(fs)) {
451 (pctx.blk2 == i - EXT2FS_CLUSTER_RATIO(fs)))
452 pctx.blk2 += EXT2FS_CLUSTER_RATIO(fs);
H A Dpass1b.c648 if ((*block_nr % EXT2FS_CLUSTER_RATIO(ctx->fs)) == 0)
H A Dpass1.c2798 if (EXT2FS_CLUSTER_RATIO(ctx->fs) > 1)
2800 EXT2FS_CLUSTER_RATIO(ctx->fs) - 1) &
3187 pb.num_blocks *= EXT2FS_CLUSTER_RATIO(fs);
H A Dpass2.c1596 if ((*block_nr % EXT2FS_CLUSTER_RATIO(fs)) == 0)
/external/e2fsprogs/misc/
H A Dmk_hugefiles.c427 if (part_offset % EXT2FS_CLUSTER_RATIO(fs)) {
H A Ddumpe2fs.c299 EXT2FS_CLUSTER_RATIO(fs));
H A Dtune2fs.c346 ext2fs_free_blocks_count_add(fs->super, EXT2FS_CLUSTER_RATIO(fs));
H A Dfuse2fs.c760 b *= EXT2FS_CLUSTER_RATIO(fs);

Completed in 154 milliseconds