Home
last modified time | relevance | path

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

12

/external/e2fsprogs/lib/ext2fs/
Dinitialize.c233 set_field(s_inodes_count, super->s_blocks_count / i); in ext2fs_initialize()
239 if (super->s_inodes_count < EXT2_FIRST_INODE(super)+1) in ext2fs_initialize()
240 super->s_inodes_count = EXT2_FIRST_INODE(super)+1; in ext2fs_initialize()
248 ipg = ext2fs_div_ceil(super->s_inodes_count, fs->group_desc_count); in ext2fs_initialize()
299 super->s_inodes_count = super->s_inodes_per_group * in ext2fs_initialize()
301 super->s_free_inodes_count = super->s_inodes_count; in ext2fs_initialize()
Ddblist.c44 if (num_dirs > fs->super->s_inodes_count) in ext2fs_get_num_dirs()
45 num_dirs = fs->super->s_inodes_count; in ext2fs_get_num_dirs()
Dalloc.c122 if (start_inode > fs->super->s_inodes_count) in ext2fs_new_inode()
134 if (i > fs->super->s_inodes_count) in ext2fs_new_inode()
Dinode.c539 if ((ino == 0) || (ino > fs->super->s_inodes_count)) in ext2fs_read_inode_full()
663 if ((ino == 0) || (ino > fs->super->s_inodes_count)) in ext2fs_write_inode_full()
797 if (ino > fs->super->s_inodes_count) in ext2fs_get_blocks()
819 if (ino > fs->super->s_inodes_count) in ext2fs_check_directory()
Dalloc_stats.c23 if (ino > fs->super->s_inodes_count) { in ext2fs_inode_alloc_stats2()
Dtst_super_size.c46 check_field(s_inodes_count); in check_superblock_fields()
Dtst_iscan.c196 for (i=1; i <= test_fs->super->s_inodes_count; i++) { in check_map()
Dbitmaps.c62 end = fs->super->s_inodes_count; in ext2fs_allocate_inode_bitmap()
Dswapfs.c27 sb->s_inodes_count = ext2fs_swab32(sb->s_inodes_count); in ext2fs_swap_super()
Dicount.c119 icount->num_inodes = fs->super->s_inodes_count; in alloc_icount()
241 icount->size += fs->super->s_inodes_count / 50; in ext2fs_create_icount2()
Drw_bitmaps.c203 ino_cnt = fs->super->s_inodes_count; in read_bitmaps()
Dopenfs.c295 fs->super->s_inodes_count) { in ext2fs_open2()
/external/e2fsprogs/e2fsck/
Dsuper.c251 (ino > fs->super->s_inodes_count)) { in release_orphan_inodes()
275 (next_ino > fs->super->s_inodes_count))) { in release_orphan_inodes()
495 check_super_value(ctx, "inodes_count", sb->s_inodes_count, in check_super_block()
521 EXT2_GOOD_OLD_FIRST_INO, sb->s_inodes_count); in check_super_block()
572 if (sb->s_inodes_count != should_be) { in check_super_block()
573 pctx.ino = sb->s_inodes_count; in check_super_block()
576 sb->s_inodes_count = should_be; in check_super_block()
712 (sb->s_free_inodes_count > sb->s_inodes_count)) in check_super_block()
958 SUPER_DIFFERENT(s_inodes_count) || in check_backup_super_block()
Dpass5.c352 (fs->super->s_inodes_count > in check_inode_bitmaps()
356 pctx.blk2 = fs->super->s_inodes_count; in check_inode_bitmaps()
365 (fs->super->s_inodes_count > in check_inode_bitmaps()
369 pctx.blk2 = fs->super->s_inodes_count; in check_inode_bitmaps()
389 for (i = 1; i <= fs->super->s_inodes_count && i > 0; i++) { in check_inode_bitmaps()
450 (i == fs->super->s_inodes_count)) { in check_inode_bitmaps()
464 (i != fs->super->s_inodes_count) && in check_inode_bitmaps()
Dpass4.c123 for (i=1; i <= fs->super->s_inodes_count && i > 0; i++) { in e2fsck_pass4()
Dunix.c117 inodes = fs->super->s_inodes_count; in show_stats()
118 inodes_used = (fs->super->s_inodes_count - in show_stats()
356 fs->super->s_inodes_count - fs->super->s_free_inodes_count, in check_if_skip()
357 fs->super->s_inodes_count, in check_if_skip()
/external/e2fsprogs/ext2ed/
Dsuper_com.c37 if (super->s_inodes_count != 0) { in type_ext2_super_block___show()
38 …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.c224 if (ext2.s_free_inodes_count > ext2.s_inodes_count) in main()
226 ext2.s_free_inodes_count, ext2.s_inodes_count); in main()
Dmke2fs.c627 printf(_("%u inodes, %u blocks\n"), s->s_inodes_count, in show_stats()
1876 fs_param.s_inodes_count = num_inodes ? num_inodes : in PRS()
1880 if ((((long long)fs_param.s_inodes_count) * in PRS()
1890 fs_param.s_inodes_count, in PRS()
/external/e2fsprogs/tests/progs/
Dtest_icount.c210 for (i=1; i <= test_fs->super->s_inodes_count; i++) { in do_dump()
312 param.s_inodes_count = 20000; in main()
/external/e2fsprogs/resize/
Dresize2fs.c354 fs->super->s_inodes_count = fs->super->s_inodes_per_group * in adjust_fs_info()
379 retval = ext2fs_resize_inode_bitmap(fs->super->s_inodes_count, in adjust_fs_info()
380 fs->super->s_inodes_count, in adjust_fs_info()
594 if ((rfs->old_fs->super->s_inodes_count - in adjust_superblock()
596 rfs->new_fs->super->s_inodes_count) { in adjust_superblock()
1836 for (ino = 1; ino <= fs->super->s_inodes_count && ino > 0; ino++) { in ext2fs_calculate_summary_stats()
1844 (ino == fs->super->s_inodes_count)) { in ext2fs_calculate_summary_stats()
1903 inode_count = fs->super->s_inodes_count - in calculate_minimum_resize_size()
/external/e2fsprogs/debugfs/
Dset_fields.c70 { "inodes_count", &set_sb.s_inodes_count, 4, parse_uint },
147 { "inodes_count", &set_sb.s_inodes_count, 4, parse_uint },
/external/kernel-headers/original/linux/
Dext3_fs.h413 /*00*/ __le32 s_inodes_count; /* Inodes count */ member
502 ino <= le32_to_cpu(EXT3_SB(sb)->s_es->s_inodes_count)); in ext3_valid_inum()
Dext2_fs.h342 __le32 s_inodes_count; /* Inodes count */ member
/external/genext2fs/
Dgenext2fs.c444 udecl32(s_inodes_count) /* Count of inodes in the filesystem */ \
1904 for(i = 1; i < fs->sb.s_inodes_count; i++) in swap_goodfs()
1936 for(i = 1; i < fs->sb.s_inodes_count; i++) in swap_badfs()
2010 fs->sb.s_inodes_count = nbinodes_per_group * nbgroups; in init_fs()
2014 fs->sb.s_free_inodes_count = fs->sb.s_inodes_count - EXT2_FIRST_INO + 1; in init_fs()
2389 printf("%d inodes (%d free)\n", fs->sb.s_inodes_count, in print_fs()

12