/external/e2fsprogs/resize/ |
resize2fs.c | 195 fs->group_desc_count = ext2fs_div_ceil(fs->super->s_blocks_count - 198 if (fs->group_desc_count == 0) 200 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, 211 if (ext2fs_bg_has_super(fs, fs->group_desc_count - 1)) 222 if ((fs->group_desc_count == 1) && rem && (rem < overhead)) 231 new_inodes =(unsigned long long) fs->super->s_inodes_per_group * fs->group_desc_count; 238 fs->group_desc_count; 268 * fs->group_desc_count)) - 1 + 319 if (old_fs->group_desc_count > fs->group_desc_count) { [all...] |
online.c | 100 size = fs->group_desc_count * sb->s_blocks_per_group + 111 for (i = fs->group_desc_count; 112 i < new_fs->group_desc_count; i++) { 116 if (ext2fs_bg_has_super(new_fs, new_fs->group_desc_count - 1)) 125 if (i == new_fs->group_desc_count-1) {
|
main.c | 107 for (group = 0; group < fs->group_desc_count; group++) { 129 if (fs->group_desc_count > 12 && num < 3)
|
/external/e2fsprogs/lib/ext2fs/ |
initialize.c | 204 fs->group_desc_count = 0; 211 fs->group_desc_count = ext2fs_div_ceil(super->s_blocks_count - 214 if (fs->group_desc_count == 0) { 218 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, 237 ipg = ext2fs_div_ceil(super->s_inodes_count, fs->group_desc_count); 282 if ((__u64)super->s_inodes_per_group * fs->group_desc_count > ~0U) { 287 fs->group_desc_count; 324 if (ext2fs_bg_has_super(fs, fs->group_desc_count - 1)) 328 if ((fs->group_desc_count == 1) && rem && (rem < overhead)) 372 for (i = 0; i < fs->group_desc_count; i++) [all...] |
imager.c | 73 for (group = 0; group < fs->group_desc_count; group++) { 147 for (group = 0; group < fs->group_desc_count; group++) { 242 size = fs->blocksize * (fs->group_desc_count + 1); 266 fs->blocksize * fs->group_desc_count); 303 size = size * fs->group_desc_count; 367 size = size * fs->group_desc_count;
|
check_desc.c | 40 for (i = 0; i < fs->group_desc_count; i++) {
|
rw_bitmaps.c | 93 for (i = 0; i < fs->group_desc_count; i++) { 102 if (i == fs->group_desc_count - 1) { 211 -(inode_nbytes * fs->group_desc_count), 220 -(block_nbytes * fs->group_desc_count), 228 for (i = 0; i < fs->group_desc_count; i++) {
|
closefs.c | 69 if (group == fs->group_desc_count-1) { 240 j < fs->group_desc_count; j++, t++, s++) { 285 for (i = 0; i < fs->group_desc_count; i++) {
|
openfs.c | 263 fs->group_desc_count = 0; 278 fs->group_desc_count = ext2fs_div_ceil(fs->super->s_blocks_count - 281 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count,
|
alloc_tables.c | 110 for (i = 0; i < fs->group_desc_count; i++) {
|
bitmaps.c | 128 real_end = (EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count); 158 * fs->group_desc_count)-1 + start;
|
tst_iscan.c | 184 for (i = 0; i < test_fs->group_desc_count; i++) {
|
dblist.c | 39 for (i = 0; i < fs->group_desc_count; i++) {
|
res_gdt.c | 168 fs->group_desc_count) {
|
ext2fs.h | 214 dgrp_t group_desc_count; member in struct:struct_ext2_filsys [all...] |
inode.c | 143 scan->groups_left = fs->group_desc_count - 1; 240 scan->groups_left = scan->fs->group_desc_count - group;
|
/external/e2fsprogs/e2fsck/ |
pass5.c | 42 if ((ctx->progress)(ctx, 5, 0, ctx->fs->group_desc_count*2)) 129 fs->group_desc_count * sizeof(int), "free block count array"); 242 fs->group_desc_count*2)) 274 memset(free_array, 0, fs->group_desc_count * sizeof(int)); 279 for (i = 0; i < fs->group_desc_count; i++) { 329 fs->group_desc_count * sizeof(int), "free inode count array"); 332 fs->group_desc_count * sizeof(int), "directory count array"); 430 group + fs->group_desc_count, 431 fs->group_desc_count*2)) 465 memset(free_array, 0, fs->group_desc_count * sizeof(int)) [all...] |
super.c | 411 for (j = 1; j < fs->group_desc_count; j++) { 481 sizeof(int) * fs->group_desc_count, "invalid_inode_bitmap"); 483 sizeof(int) * fs->group_desc_count, "invalid_block_bitmap"); 485 sizeof(int) * fs->group_desc_count, "invalid_inode_table"); 564 should_be = sb->s_inodes_per_group * fs->group_desc_count; 579 for (i = 0, gd=fs->group_desc; i < fs->group_desc_count; i++, gd++) { 820 for (g = 1; g < fs->group_desc_count; g++) {
|
pass4.c | 109 maxgroup = fs->group_desc_count;
|
swapfs.c | 132 for (group = 0; group < fs->group_desc_count; group++) {
|
pass1.c | 616 if ((ctx->progress)(ctx, 1, 0, ctx->fs->group_desc_count)) 1039 ctx->fs->group_desc_count)) [all...] |
/external/e2fsprogs/misc/ |
mke2fs.c | 256 for (i = 1; i < fs->group_desc_count; i++) { 417 fs->group_desc_count); 423 for (i = 0; i < fs->group_desc_count; i++) { 459 for (i = 0; i < fs->group_desc_count; i++, bg++) { 461 (i == fs->group_desc_count-1)) 701 if (fs->group_desc_count > 1) 702 printf(_("%u block groups\n"), fs->group_desc_count); 704 printf(_("%u block group\n"), fs->group_desc_count); 709 if (fs->group_desc_count == 1) { 717 for (i = 1; i < fs->group_desc_count; i++) 817 unsigned long group_desc_count, desc_blocks; local [all...] |
dumpe2fs.c | 155 for (i = 0; i < fs->group_desc_count; i++) {
|
e2image.c | 264 for (i = 0; i < fs->group_desc_count; i++) {
|
/external/e2fsprogs/debugfs/ |
set_fields.c | 539 if (set_bg >= current_fs->group_desc_count) {
|