Home
last modified time | relevance | path

Searched refs:s_clusters_per_group (Results 1 – 11 of 11) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dinitialize.c212 param->s_clusters_per_group && in ext2fs_initialize()
213 ((param->s_clusters_per_group * EXT2FS_CLUSTER_RATIO(fs)) != in ext2fs_initialize()
218 if (param->s_clusters_per_group) in ext2fs_initialize()
219 assign_field(s_clusters_per_group); in ext2fs_initialize()
221 super->s_clusters_per_group = in ext2fs_initialize()
225 super->s_clusters_per_group = fs->blocksize * 8; in ext2fs_initialize()
227 super->s_clusters_per_group = (fs->blocksize - 1) * 8; in ext2fs_initialize()
228 if (super->s_clusters_per_group > EXT2_MAX_CLUSTERS_PER_GROUP(super)) in ext2fs_initialize()
229 super->s_clusters_per_group = EXT2_MAX_CLUSTERS_PER_GROUP(super); in ext2fs_initialize()
231 (unsigned long long) super->s_clusters_per_group); in ext2fs_initialize()
[all …]
Dtst_super_size.c63 check_field(s_clusters_per_group, 4); in main()
Dswapfs.c36 sb->s_clusters_per_group = ext2fs_swab32(sb->s_clusters_per_group); in ext2fs_swap_super()
Dext2_fs.h251 #define EXT2_CLUSTERS_PER_GROUP(s) (EXT2_SB(s)->s_clusters_per_group)
591 __u32 s_clusters_per_group; /* # Fragments per group */ member
/external/e2fsprogs/e2fsck/
Dpass5.c270 fs->super->s_clusters_per_group == 0; in check_block_bitmaps()
271 int n, nbytes = fs->super->s_clusters_per_group / 8; in check_block_bitmaps()
291 B2C(i), fs->super->s_clusters_per_group, in check_block_bitmaps()
299 B2C(i), fs->super->s_clusters_per_group, in check_block_bitmaps()
307 group_free = fs->super->s_clusters_per_group - n; in check_block_bitmaps()
309 i += EXT2FS_C2B(fs, fs->super->s_clusters_per_group - 1); in check_block_bitmaps()
330 cmp_block = fs->super->s_clusters_per_group; in check_block_bitmaps()
353 fs->super->s_clusters_per_group == 0) { in check_block_bitmaps()
367 blocks = fs->super->s_clusters_per_group - 1; in check_block_bitmaps()
442 if ((blocks == fs->super->s_clusters_per_group) || in check_block_bitmaps()
Dsuper.c521 check_super_value(ctx, "clusters_per_group", sb->s_clusters_per_group, in check_super_block()
543 if (sb->s_blocks_per_group != (sb->s_clusters_per_group * in check_super_block()
545 pctx.num = sb->s_clusters_per_group * EXT2FS_CLUSTER_RATIO(fs); in check_super_block()
/external/e2fsprogs/lib/e2p/
Dls.c269 sb->s_clusters_per_group); in list_super2()
272 sb->s_clusters_per_group); in list_super2()
/external/e2fsprogs/misc/
Ddumpe2fs.c266 fs->super->s_clusters_per_group, in list_desc()
270 blk_itr += fs->super->s_clusters_per_group; in list_desc()
Dmke2fs.c604 s->s_blocks_per_group, s->s_clusters_per_group); in show_stats()
607 s->s_blocks_per_group, s->s_clusters_per_group); in show_stats()
2069 fs_param.s_clusters_per_group = fs_param.s_blocks_per_group; in PRS()
2338 if ((num == fs->super->s_clusters_per_group) || in fix_cluster_bg_counts()
/external/e2fsprogs/debugfs/
Dset_fields.c87 { "clusters_per_group", &set_sb.s_clusters_per_group, NULL, 4, parse_uint },
/external/e2fsprogs/resize/
Dresize2fs.c1938 if ((count == fs->super->s_clusters_per_group) || in ext2fs_calculate_summary_stats()