Home
last modified time | relevance | path

Searched refs:s_inodes_per_group (Results 1 – 25 of 27) sorted by relevance

12

/external/e2fsprogs/lib/ext2fs/
Dinitialize.c335 super->s_inodes_per_group = ipg; in ext2fs_initialize()
342 fs->inode_blocks_per_group = (((super->s_inodes_per_group * in ext2fs_initialize()
346 super->s_inodes_per_group = ((fs->inode_blocks_per_group * in ext2fs_initialize()
354 if (super->s_inodes_per_group < 8) in ext2fs_initialize()
355 super->s_inodes_per_group = 8; in ext2fs_initialize()
356 super->s_inodes_per_group &= ~7; in ext2fs_initialize()
357 fs->inode_blocks_per_group = (((super->s_inodes_per_group * in ext2fs_initialize()
365 if ((__u64)super->s_inodes_per_group * fs->group_desc_count > ~0U) { in ext2fs_initialize()
369 super->s_inodes_count = super->s_inodes_per_group * in ext2fs_initialize()
526 numblocks = super->s_inodes_per_group; in ext2fs_initialize()
[all …]
Dalloc_stats.c42 ext2_ino_t first_unused_inode = fs->super->s_inodes_per_group - in ext2fs_inode_alloc_stats2()
44 group * fs->super->s_inodes_per_group + 1; in ext2fs_inode_alloc_stats2()
47 …bg_itable_unused_set(fs, group, group * fs->super->s_inodes_per_group + fs->super->s_inodes_per_gr… in ext2fs_inode_alloc_stats2()
Dget_num_dirs.c36 max_dirs = fs->super->s_inodes_per_group; in ext2fs_get_num_dirs()
Dtst_super_size.c65 check_field(s_inodes_per_group, 4); in main()
Dcsum.c855 if (old_free_inodes_count == sb->s_inodes_per_group) { in ext2fs_set_gdt_csum()
857 ext2fs_bg_itable_unused_set(fs, i, sb->s_inodes_per_group); in ext2fs_set_gdt_csum()
860 sb->s_inodes_per_group - in ext2fs_set_gdt_csum()
862 sb->s_inodes_per_group, i); in ext2fs_set_gdt_csum()
Dalloc.c70 ino = (group * fs->super->s_inodes_per_group) + 1; in check_inode_uninit()
71 for (i=0; i < fs->super->s_inodes_per_group; i++, ino++) in check_inode_uninit()
Dswapfs.c40 sb->s_inodes_per_group = ext2fs_swab32(sb->s_inodes_per_group); in ext2fs_swap_super()
Dext2_fs.h275 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group)
649 __u32 s_inodes_per_group; /* # Inodes per group */ member
/external/e2fsprogs/ext2ed/
Dinodebitmap_com.c41 if (entry_num >= file_system_info.super_block.s_inodes_per_group) { in type_ext2_inode_bitmap___entry()
94 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) { in type_ext2_inode_bitmap___allocate()
120 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) { in type_ext2_inode_bitmap___deallocate()
171 for (i=0,entry_num=0;i<file_system_info.super_block.s_inodes_per_group/8;i++,ptr++) { in type_ext2_inode_bitmap___show()
204 …_bitmap_info.entry_num+inode_bitmap_info.group_num*file_system_info.super_block.s_inodes_per_group; in type_ext2_inode_bitmap___show()
Dinode_com.c49 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___prev()
97 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___next()
138 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___show()
139 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in type_ext2_inode___show()
414 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in inode_offset_to_inode_num()
415 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in inode_offset_to_inode_num()
429 group_num=inode_num/file_system_info.super_block.s_inodes_per_group; in inode_num_to_inode_offset()
430 inode_entry=inode_num%file_system_info.super_block.s_inodes_per_group; in inode_num_to_inode_offset()
Dinit.c423 file_system_info.blocks_per_group=sb->s_inodes_per_group/file_system_info.inodes_per_block; in set_file_system_info()
Dext2.descriptors129 __u32 s_inodes_per_group; /* # Inodes per group */
/external/e2fsprogs/e2fsck/
Dpass5.c580 ext2_ino_t first_free = fs->super->s_inodes_per_group + 1; in check_inode_bitmaps()
629 i % fs->super->s_inodes_per_group == 1) { in check_inode_bitmaps()
636 fs->super->s_inodes_per_group)) { in check_inode_bitmaps()
643 inodes = fs->super->s_inodes_per_group - 1; in check_inode_bitmaps()
714 first_free = fs->super->s_inodes_per_group + 1; in check_inode_bitmaps()
723 if ((inodes == fs->super->s_inodes_per_group) || in check_inode_bitmaps()
744 first_free = fs->super->s_inodes_per_group + 1; in check_inode_bitmaps()
Dreadahead.c201 fs->super->s_inodes_per_group) { in e2fsck_readahead()
210 fs->super->s_inodes_per_group) { in e2fsck_readahead()
Dsuper.c659 if (!check_super_value(ctx, "inodes_per_group", sb->s_inodes_per_group, in check_super_block()
674 should_be = (__u64)sb->s_inodes_per_group * fs->group_desc_count; in check_super_block()
857 (ext2fs_bg_free_inodes_count(fs, i) > sb->s_inodes_per_group) || in check_super_block()
858 (ext2fs_bg_used_dirs_count(fs, i) > sb->s_inodes_per_group)) in check_super_block()
898 ext2fs_bg_itable_unused(fs, i) > sb->s_inodes_per_group)) { in check_super_block()
Dpass4.c188 if ((i % fs->super->s_inodes_per_group) == 0) { in e2fsck_pass4()
Dpass2.c1352 first_unused_inode = group * fs->super->s_inodes_per_group + in check_dir_block()
1353 1 + fs->super->s_inodes_per_group - in check_dir_block()
Dpass1b.c314 if (ino % (fs->super->s_inodes_per_group * 4) == 1) { in pass1b()
Dpass1.c1082 inodes_in_group = ctx->fs->super->s_inodes_per_group - in pass1_readahead()
1117 (grp * ctx->fs->super->s_inodes_per_group); in pass1_readahead()
1358 if (ino % (fs->super->s_inodes_per_group * 4) == 1) { in e2fsck_pass1()
/external/e2fsprogs/misc/
Ddumpe2fs.c178 inode_blocks_per_group = ((fs->super->s_inodes_per_group * in list_desc()
312 fs->super->s_inodes_per_group, in list_desc()
315 ino_itr += fs->super->s_inodes_per_group; in list_desc()
Dmke2fs.c430 num = ext2fs_div_ceil((fs->super->s_inodes_per_group - in write_inode_tables()
716 printf(_("%u inodes per group\n"), s->s_inodes_per_group); in show_stats()
/external/e2fsprogs/lib/e2p/
Dls.c231 inode_blocks_per_group = (((sb->s_inodes_per_group * in list_super2()
300 fprintf(f, "Inodes per group: %u\n", sb->s_inodes_per_group); in list_super2()
/external/e2fsprogs/debugfs/
Dlogdump.c163 / es->s_inodes_per_group); in do_logdump()
165 % es->s_inodes_per_group); in do_logdump()
Dset_fields.c97 { "inodes_per_group", &set_sb.s_inodes_per_group, NULL, 4, parse_uint },
/external/e2fsprogs/resize/
Dresize2fs.c757 new_inodes =(unsigned long long) fs->super->s_inodes_per_group * fs->group_desc_count; in adjust_fs_info()
763 fs->super->s_inodes_count = fs->super->s_inodes_per_group * in adjust_fs_info()
954 fs->super->s_inodes_per_group); in adjust_fs_info()
992 fs->super->s_inodes_per_group; in adjust_fs_info()
995 fs->super->s_inodes_per_group); in adjust_fs_info()
2158 rfs->new_fs->super->s_inodes_per_group); in inode_scan_and_fix()
2878 if ((count == fs->super->s_inodes_per_group) || in ext2fs_calculate_summary_stats()
2963 fs->super->s_inodes_per_group) * in calculate_minimum_resize_size()

12