Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Di_block.c41 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()
Dfallocate.c88 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()
Dpunch.c204 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()
Dalloc_stats.c81 -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()
Dalloc_sb.c64 EXT2FS_CLUSTER_RATIO(fs) > 1) in ext2fs_reserve_super_and_bgd()
Dinitialize.c227 ((param->s_clusters_per_group * EXT2FS_CLUSTER_RATIO(fs)) != in ext2fs_initialize()
237 EXT2FS_CLUSTER_RATIO(fs); in ext2fs_initialize()
Dalloc_tables.c242 n/EXT2FS_CLUSTER_RATIO(fs)); in ext2fs_allocate_group_table()
Dopenfs.c47 if (i == 0 && fs->blocksize == 1024 && EXT2FS_CLUSTER_RATIO(fs) > 1) in ext2fs_descriptor_block_loc2()
Dbmap.c161 for (i = 0; i < EXT2FS_CLUSTER_RATIO(fs); i++) { in implied_cluster_alloc()
Dextent.c953 goal_blk -= EXT2FS_CLUSTER_RATIO(handle->fs); in extent_node_split()
1658 EXT2FS_CLUSTER_RATIO(handle->fs)) / 512; in ext2fs_extent_delete()
Dext2fs.h645 #define EXT2FS_CLUSTER_RATIO(fs) (1 << (fs)->cluster_ratio_bits) macro
646 #define EXT2FS_CLUSTER_MASK(fs) (EXT2FS_CLUSTER_RATIO(fs) - 1)
/external/e2fsprogs/resize/
Dresize2fs.c403 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()
2474 if (EXT2FS_CLUSTER_RATIO(fs) > 1) { in move_itables()
2570 cluster_freed = EXT2FS_CLUSTER_RATIO(fs) - in move_itables()
2822 blk += EXT2FS_CLUSTER_RATIO(fs)) { in ext2fs_calculate_summary_stats()
[all …]
/external/e2fsprogs/e2fsck/
Dsuper.c608 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()
Dpass5.c372 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()
Dpass1.c2299 for (i = 0; i < num; i += EXT2FS_CLUSTER_RATIO(ctx->fs)) in mark_blocks_used()
3009 if (EXT2FS_CLUSTER_RATIO(ctx->fs) > 1) in scan_extent_node()
3011 EXT2FS_CLUSTER_RATIO(ctx->fs) - 1) & in scan_extent_node()
3104 EXT2FS_CLUSTER_RATIO(ctx->fs)); in scan_extent_node()
3412 pb.num_blocks *= EXT2FS_CLUSTER_RATIO(fs); in check_blocks()
Dpass1b.c675 if ((*block_nr % EXT2FS_CLUSTER_RATIO(ctx->fs)) == 0) in delete_file_block()
/external/e2fsprogs/misc/
Dmk_hugefiles.c370 count / EXT2FS_CLUSTER_RATIO(fs)); in mk_hugefile()
512 if (part_offset % EXT2FS_CLUSTER_RATIO(fs)) { in mk_hugefiles()
Ddumpe2fs.c299 EXT2FS_CLUSTER_RATIO(fs)); in list_desc()
Dtune2fs.c357 ext2fs_free_blocks_count_add(fs->super, EXT2FS_CLUSTER_RATIO(fs)); in release_blocks_proc()
Dfuse2fs.c767 b *= EXT2FS_CLUSTER_RATIO(fs); in blocks_from_inode()