Home
last modified time | relevance | path

Searched refs:s_inodes_count (Results 1 – 25 of 43) sorted by relevance

12

/external/e2fsprogs/lib/ext2fs/
Dget_num_dirs.c43 if (num_dirs > fs->super->s_inodes_count) in ext2fs_get_num_dirs()
44 num_dirs = fs->super->s_inodes_count; in ext2fs_get_num_dirs()
Dinitialize.c306 set_field(s_inodes_count, ~0U); in ext2fs_initialize()
308 set_field(s_inodes_count, ext2fs_blocks_count(super) / i); in ext2fs_initialize()
314 if (super->s_inodes_count < EXT2_FIRST_INODE(super)+1) in ext2fs_initialize()
315 super->s_inodes_count = EXT2_FIRST_INODE(super)+1; in ext2fs_initialize()
323 ipg = ext2fs_div_ceil(super->s_inodes_count, fs->group_desc_count); in ext2fs_initialize()
376 super->s_inodes_count = super->s_inodes_per_group * in ext2fs_initialize()
378 super->s_free_inodes_count = super->s_inodes_count; in ext2fs_initialize()
Dalloc.c110 if (start_inode > fs->super->s_inodes_count) in ext2fs_new_inode()
121 if (upto > fs->super->s_inodes_count) in ext2fs_new_inode()
122 upto = fs->super->s_inodes_count; in ext2fs_new_inode()
133 if (i > fs->super->s_inodes_count) in ext2fs_new_inode()
Dtst_iscan.c203 for (i=1; i <= test_fs->super->s_inodes_count; i++) { in check_map()
Dtst_super_size.c55 check_field(s_inodes_count, 4); in main()
Dalloc_stats.c23 if (ino > fs->super->s_inodes_count) { in ext2fs_inode_alloc_stats2()
Dicount.c115 icount->num_inodes = fs->super->s_inodes_count; in alloc_icount()
238 num_inodes = fs->super->s_inodes_count - fs->super->s_free_inodes_count; in ext2fs_create_icount_tdb()
289 icount->size += fs->super->s_inodes_count / 50; in ext2fs_create_icount2()
Dinode.c769 if ((ino == 0) || (ino > fs->super->s_inodes_count)) in ext2fs_read_inode2()
897 if ((ino == 0) || (ino > fs->super->s_inodes_count)) in ext2fs_write_inode2()
1063 if (ino > fs->super->s_inodes_count) in ext2fs_get_blocks()
1085 if (ino > fs->super->s_inodes_count) in ext2fs_check_directory()
Dtst_bitmaps.c161 param.s_inodes_count = inodes; in setup_filesystem()
282 dump_bitmap(test_fs->inode_map, 1, test_fs->super->s_inodes_count); in dump_inode_bitmap_cmd()
Dbitmaps.c64 end = fs->super->s_inodes_count; in ext2fs_allocate_inode_bitmap()
Dswapfs.c30 sb->s_inodes_count = ext2fs_swab32(sb->s_inodes_count); in ext2fs_swap_super()
/external/e2fsprogs/e2fsck/
Dsuper.c357 (ino > fs->super->s_inodes_count)) { in release_orphan_inodes()
382 (next_ino > fs->super->s_inodes_count))) { in release_orphan_inodes()
633 if (!check_super_value(ctx, "inodes_count", sb->s_inodes_count, in check_super_block()
681 if (sb->s_inodes_count != should_be) { in check_super_block()
682 pctx.ino = sb->s_inodes_count; in check_super_block()
685 sb->s_inodes_count = should_be; in check_super_block()
688 pctx.num = sb->s_inodes_count; in check_super_block()
698 EXT2_GOOD_OLD_FIRST_INO, sb->s_inodes_count)) in check_super_block()
918 (sb->s_free_inodes_count > sb->s_inodes_count)) in check_super_block()
1174 SUPER_DIFFERENT(s_inodes_count) || in check_backup_super_block()
Dpass5.c590 (fs->super->s_inodes_count > in check_inode_bitmaps()
594 pctx.blk2 = fs->super->s_inodes_count; in check_inode_bitmaps()
603 (fs->super->s_inodes_count > in check_inode_bitmaps()
607 pctx.blk2 = fs->super->s_inodes_count; in check_inode_bitmaps()
626 for (i = 1; i <= fs->super->s_inodes_count && i > 0; i++) { in check_inode_bitmaps()
724 (i == fs->super->s_inodes_count)) { in check_inode_bitmaps()
758 (i != fs->super->s_inodes_count) && in check_inode_bitmaps()
Dquota.c121 (pctx.ino > fs->super->s_inodes_count)) && in e2fsck_validate_quota_inodes()
Dextents.c384 ctx->fs->super->s_inodes_count, &ino); in rebuild_extents()
400 (float) ctx->fs->super->s_inodes_count, in rebuild_extents()
Dpass4.c183 for (i=1; i <= fs->super->s_inodes_count && i > 0; i++) { in e2fsck_pass4()
Dunix.c116 inodes = fs->super->s_inodes_count; in show_stats()
117 inodes_used = (fs->super->s_inodes_count - in show_stats()
445 fs->super->s_inodes_count - fs->super->s_free_inodes_count, in check_if_skip()
446 fs->super->s_inodes_count, in check_if_skip()
/external/e2fsprogs/ext2ed/
Dsuper_com.c38 if (super->s_inodes_count != 0) { in type_ext2_super_block___show()
39 …wprintw (show_pad,"%2.2f%%",100*(float) super->s_free_inodes_count/ (float) super->s_inodes_count); in type_ext2_super_block___show()
/external/e2fsprogs/misc/
Dfindsuper.c229 if (ext2.s_free_inodes_count > ext2.s_inodes_count) in main()
231 ext2.s_free_inodes_count, ext2.s_inodes_count); in main()
Dmke2fs.c668 s->s_inodes_count); in show_stats()
694 printf(_("%u inodes, %llu blocks\n"), s->s_inodes_count, in show_stats()
2586 fs_param.s_inodes_count = num_inodes ? num_inodes : in PRS()
2589 if ((((unsigned long long)fs_param.s_inodes_count) * in PRS()
2599 fs_param.s_inodes_count, in PRS()
/external/e2fsprogs/tests/progs/
Dtest_icount.c226 for (i=1; i <= test_fs->super->s_inodes_count; i++) { in do_dump()
340 param.s_inodes_count = 20000; in main()
/external/e2fsprogs/doc/RelNotes/
Dv1.44.3.txt41 E2fsck more properly handles cases where s_inodes_count is corrupted.
71 1 << 32 blocks. Previously the s_inodes_count field would overflow,
/external/e2fsprogs/debugfs/
Dutil.c122 if (*end=='>' && (ino <= current_fs->super->s_inodes_count)) in string_to_inode()
131 if (ino > current_fs->super->s_inodes_count) { in string_to_inode()
/external/e2fsprogs/resize/
Dresize2fs.c763 fs->super->s_inodes_count = fs->super->s_inodes_per_group * in adjust_fs_info()
791 retval = ext2fs_resize_inode_bitmap2(fs->super->s_inodes_count, in adjust_fs_info()
792 fs->super->s_inodes_count, in adjust_fs_info()
1050 if ((rfs->old_fs->super->s_inodes_count - in adjust_superblock()
1052 rfs->new_fs->super->s_inodes_count) { in adjust_superblock()
2817 for (ino = 1; ino <= fs->super->s_inodes_count && ino > 0; ino++) { in ext2fs_calculate_summary_stats()
2825 (ino == fs->super->s_inodes_count)) { in ext2fs_calculate_summary_stats()
2906 inode_count = fs->super->s_inodes_count - in calculate_minimum_resize_size()
/external/e2fsprogs/contrib/android/
De2fsdroid.c359 inodes_count = fs->super->s_inodes_count; in main()

12