Home
last modified time | relevance | path

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

12

/external/e2fsprogs/lib/ext2fs/
Dinitialize.c285 set_field(s_inodes_count, ~0U); in ext2fs_initialize()
287 set_field(s_inodes_count, ext2fs_blocks_count(super) / i); in ext2fs_initialize()
293 if (super->s_inodes_count < EXT2_FIRST_INODE(super)+1) in ext2fs_initialize()
294 super->s_inodes_count = EXT2_FIRST_INODE(super)+1; in ext2fs_initialize()
302 ipg = ext2fs_div_ceil(super->s_inodes_count, fs->group_desc_count); in ext2fs_initialize()
355 super->s_inodes_count = super->s_inodes_per_group * in ext2fs_initialize()
357 super->s_free_inodes_count = super->s_inodes_count; in ext2fs_initialize()
Dalloc.c129 if (start_inode > fs->super->s_inodes_count) in ext2fs_new_inode()
140 if (upto > fs->super->s_inodes_count) in ext2fs_new_inode()
141 upto = fs->super->s_inodes_count; in ext2fs_new_inode()
152 if (i > fs->super->s_inodes_count) in ext2fs_new_inode()
Dinode.c542 if ((ino == 0) || (ino > fs->super->s_inodes_count)) in ext2fs_read_inode_full()
667 if ((ino == 0) || (ino > fs->super->s_inodes_count)) in ext2fs_write_inode_full()
803 if (ino > fs->super->s_inodes_count) in ext2fs_get_blocks()
825 if (ino > fs->super->s_inodes_count) in ext2fs_check_directory()
Ddblist.c46 if (num_dirs > fs->super->s_inodes_count) in ext2fs_get_num_dirs()
47 num_dirs = fs->super->s_inodes_count; in ext2fs_get_num_dirs()
Dalloc_stats.c23 if (ino > fs->super->s_inodes_count) { in ext2fs_inode_alloc_stats2()
Dicount.c119 icount->num_inodes = fs->super->s_inodes_count; in alloc_icount()
206 num_inodes = fs->super->s_inodes_count - fs->super->s_free_inodes_count; in ext2fs_create_icount_tdb()
254 icount->size += fs->super->s_inodes_count / 50; in ext2fs_create_icount2()
Dtst_super_size.c54 check_field(s_inodes_count, 4); in main()
Dtst_bitmaps.c160 param.s_inodes_count = inodes; in setup_filesystem()
281 dump_bitmap(test_fs->inode_map, 1, test_fs->super->s_inodes_count); in dump_inode_bitmap_cmd()
Dtst_iscan.c202 for (i=1; i <= test_fs->super->s_inodes_count; i++) { in check_map()
Dswapfs.c27 sb->s_inodes_count = ext2fs_swab32(sb->s_inodes_count); in ext2fs_swap_super()
Dbitmaps.c63 end = fs->super->s_inodes_count; in ext2fs_allocate_inode_bitmap()
Drw_bitmaps.c208 ino_cnt = fs->super->s_inodes_count; in read_bitmaps()
Dopenfs.c332 fs->super->s_inodes_count) { in ext2fs_open2()
/external/e2fsprogs/e2fsck/
Dsuper.c257 (ino > fs->super->s_inodes_count)) { in release_orphan_inodes()
281 (next_ino > fs->super->s_inodes_count))) { in release_orphan_inodes()
507 check_super_value(ctx, "inodes_count", sb->s_inodes_count, in check_super_block()
538 EXT2_GOOD_OLD_FIRST_INO, sb->s_inodes_count); in check_super_block()
573 if (sb->s_inodes_count != should_be) { in check_super_block()
574 pctx.ino = sb->s_inodes_count; in check_super_block()
577 sb->s_inodes_count = should_be; in check_super_block()
706 (sb->s_free_inodes_count > sb->s_inodes_count)) in check_super_block()
957 SUPER_DIFFERENT(s_inodes_count) || in check_backup_super_block()
Dpass5.c560 (fs->super->s_inodes_count > in check_inode_bitmaps()
564 pctx.blk2 = fs->super->s_inodes_count; in check_inode_bitmaps()
573 (fs->super->s_inodes_count > in check_inode_bitmaps()
577 pctx.blk2 = fs->super->s_inodes_count; in check_inode_bitmaps()
597 for (i = 1; i <= fs->super->s_inodes_count && i > 0; i++) { in check_inode_bitmaps()
695 (i == fs->super->s_inodes_count)) { in check_inode_bitmaps()
729 (i != fs->super->s_inodes_count) && in check_inode_bitmaps()
Dpass4.c124 for (i=1; i <= fs->super->s_inodes_count && i > 0; i++) { in e2fsck_pass4()
Dunix.c115 inodes = fs->super->s_inodes_count; in show_stats()
116 inodes_used = (fs->super->s_inodes_count - in show_stats()
429 fs->super->s_inodes_count - fs->super->s_free_inodes_count, in check_if_skip()
430 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()
Dinode_com.c213 ,inode_num,file_system_info.super_block.s_inodes_count,entry_num,last_entry,group_num); in type_ext2_inode___show()
/external/e2fsprogs/misc/
Dfindsuper.c228 if (ext2.s_free_inodes_count > ext2.s_inodes_count) in main()
230 ext2.s_free_inodes_count, ext2.s_inodes_count); in main()
Dmke2fs.c585 printf(_("%u inodes, %llu blocks\n"), s->s_inodes_count, in show_stats()
2127 fs_param.s_inodes_count = num_inodes ? num_inodes : in PRS()
2130 if ((((unsigned long long)fs_param.s_inodes_count) * in PRS()
2140 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()
314 param.s_inodes_count = 20000; in main()
/external/e2fsprogs/resize/
Dresize2fs.c374 fs->super->s_inodes_count = fs->super->s_inodes_per_group * in adjust_fs_info()
402 retval = ext2fs_resize_inode_bitmap2(fs->super->s_inodes_count, in adjust_fs_info()
403 fs->super->s_inodes_count, in adjust_fs_info()
641 if ((rfs->old_fs->super->s_inodes_count - in adjust_superblock()
643 rfs->new_fs->super->s_inodes_count) { in adjust_superblock()
1971 for (ino = 1; ino <= fs->super->s_inodes_count && ino > 0; ino++) { in ext2fs_calculate_summary_stats()
1979 (ino == fs->super->s_inodes_count)) { in ext2fs_calculate_summary_stats()
2061 inode_count = fs->super->s_inodes_count - in calculate_minimum_resize_size()
/external/e2fsprogs/debugfs/
Dset_fields.c75 { "inodes_count", &set_sb.s_inodes_count, NULL, 4, parse_uint },
157 { "inodes_count", &set_sb.s_inodes_count, NULL, 4, parse_uint },
/external/e2fsprogs/lib/e2p/
Dls.c245 fprintf(f, "Inode count: %u\n", sb->s_inodes_count); in list_super2()

12