/external/e2fsprogs/lib/ext2fs/ |
D | initialize.c | 342 super->s_inodes_per_group = ipg; in ext2fs_initialize() 349 fs->inode_blocks_per_group = (((super->s_inodes_per_group * in ext2fs_initialize() 353 super->s_inodes_per_group = ((fs->inode_blocks_per_group * in ext2fs_initialize() 361 if (super->s_inodes_per_group < 8) in ext2fs_initialize() 362 super->s_inodes_per_group = 8; in ext2fs_initialize() 363 super->s_inodes_per_group &= ~7; in ext2fs_initialize() 364 fs->inode_blocks_per_group = (((super->s_inodes_per_group * in ext2fs_initialize() 372 if ((__u64)super->s_inodes_per_group * fs->group_desc_count > ~0U) { in ext2fs_initialize() 376 super->s_inodes_count = super->s_inodes_per_group * in ext2fs_initialize() 533 numblocks = super->s_inodes_per_group; in ext2fs_initialize() [all …]
|
D | alloc_stats.c | 42 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()
|
D | get_num_dirs.c | 36 max_dirs = fs->super->s_inodes_per_group; in ext2fs_get_num_dirs()
|
D | tst_super_size.c | 65 check_field(s_inodes_per_group, 4); in main()
|
D | csum.c | 855 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()
|
D | alloc.c | 70 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()
|
D | swapfs.c | 40 sb->s_inodes_per_group = ext2fs_swab32(sb->s_inodes_per_group); in ext2fs_swap_super()
|
D | ext2_fs.h | 276 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) 651 __u32 s_inodes_per_group; /* # Inodes per group */ member
|
/external/e2fsprogs/ext2ed/ |
D | inodebitmap_com.c | 41 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()
|
D | inode_com.c | 49 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()
|
D | init.c | 423 file_system_info.blocks_per_group=sb->s_inodes_per_group/file_system_info.inodes_per_block; in set_file_system_info()
|
D | ext2.descriptors | 129 __u32 s_inodes_per_group; /* # Inodes per group */
|
/external/e2fsprogs/e2fsck/ |
D | pass5.c | 580 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()
|
D | readahead.c | 201 fs->super->s_inodes_per_group) { in e2fsck_readahead() 210 fs->super->s_inodes_per_group) { in e2fsck_readahead()
|
D | super.c | 659 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()
|
D | pass4.c | 188 if ((i % fs->super->s_inodes_per_group) == 0) { in e2fsck_pass4()
|
D | pass2.c | 1370 first_unused_inode = group * fs->super->s_inodes_per_group + in check_dir_block() 1371 1 + fs->super->s_inodes_per_group - in check_dir_block()
|
D | pass1b.c | 314 if (ino % (fs->super->s_inodes_per_group * 4) == 1) { in pass1b()
|
D | pass1.c | 1084 inodes_in_group = ctx->fs->super->s_inodes_per_group - in pass1_readahead() 1119 (grp * ctx->fs->super->s_inodes_per_group); in pass1_readahead() 1363 if (ino % (fs->super->s_inodes_per_group * 4) == 1) { in e2fsck_pass1()
|
/external/e2fsprogs/misc/ |
D | dumpe2fs.c | 178 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()
|
D | mke2fs.c | 430 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/ |
D | ls.c | 231 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/ |
D | logdump.c | 163 / es->s_inodes_per_group); in do_logdump() 165 % es->s_inodes_per_group); in do_logdump()
|
D | set_fields.c | 101 { "inodes_per_group", &set_sb.s_inodes_per_group, NULL, 4, parse_uint },
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 757 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() 2105 rfs->new_fs->super->s_inodes_per_group); in inode_scan_and_fix() 2824 if ((count == fs->super->s_inodes_per_group) || in ext2fs_calculate_summary_stats() 2909 fs->super->s_inodes_per_group) * in calculate_minimum_resize_size()
|