/external/e2fsprogs/lib/ext2fs/ |
D | initialize.c | 321 super->s_inodes_per_group = ipg; in ext2fs_initialize() 328 fs->inode_blocks_per_group = (((super->s_inodes_per_group * in ext2fs_initialize() 332 super->s_inodes_per_group = ((fs->inode_blocks_per_group * in ext2fs_initialize() 340 if (super->s_inodes_per_group < 8) in ext2fs_initialize() 341 super->s_inodes_per_group = 8; in ext2fs_initialize() 342 super->s_inodes_per_group &= ~7; in ext2fs_initialize() 343 fs->inode_blocks_per_group = (((super->s_inodes_per_group * in ext2fs_initialize() 351 if ((__u64)super->s_inodes_per_group * fs->group_desc_count > ~0U) { in ext2fs_initialize() 355 super->s_inodes_count = super->s_inodes_per_group * in ext2fs_initialize() 474 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 | csum.c | 143 if (old_free_inodes_count == sb->s_inodes_per_group) { in ext2fs_set_gdt_csum() 145 ext2fs_bg_itable_unused_set(fs, i, sb->s_inodes_per_group); in ext2fs_set_gdt_csum() 148 sb->s_inodes_per_group - in ext2fs_set_gdt_csum() 150 sb->s_inodes_per_group, i); in ext2fs_set_gdt_csum()
|
D | alloc.c | 90 ino = (group * fs->super->s_inodes_per_group) + 1; in check_inode_uninit() 91 for (i=0; i < fs->super->s_inodes_per_group; i++, ino++) in check_inode_uninit()
|
D | tst_super_size.c | 64 check_field(s_inodes_per_group, 4); in main()
|
D | swapfs.c | 37 sb->s_inodes_per_group = ext2fs_swab32(sb->s_inodes_per_group); in ext2fs_swap_super()
|
D | ext2_fs.h | 250 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) 592 __u32 s_inodes_per_group; /* # Inodes per group */ member
|
D | dblist.c | 39 max_dirs = fs->super->s_inodes_per_group; in ext2fs_get_num_dirs()
|
D | ext2fs.h | 1699 return (ino - 1) / fs->super->s_inodes_per_group; in ext2fs_group_of_ino()
|
/external/e2fsprogs/ext2ed/ |
D | inodebitmap_com.c | 40 if (entry_num >= file_system_info.super_block.s_inodes_per_group) { in type_ext2_inode_bitmap___entry() 93 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) { in type_ext2_inode_bitmap___allocate() 119 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) { in type_ext2_inode_bitmap___deallocate() 170 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() 203 …_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 | 48 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___prev() 96 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___next() 137 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___show() 138 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in type_ext2_inode___show() 413 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in inode_offset_to_inode_num() 414 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in inode_offset_to_inode_num() 428 group_num=inode_num/file_system_info.super_block.s_inodes_per_group; in inode_num_to_inode_offset() 429 inode_entry=inode_num%file_system_info.super_block.s_inodes_per_group; in inode_num_to_inode_offset()
|
D | init.c | 422 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 | 550 ext2_ino_t first_free = fs->super->s_inodes_per_group + 1; in check_inode_bitmaps() 600 i % fs->super->s_inodes_per_group == 1) { in check_inode_bitmaps() 607 fs->super->s_inodes_per_group)) { in check_inode_bitmaps() 614 inodes = fs->super->s_inodes_per_group - 1; in check_inode_bitmaps() 685 first_free = fs->super->s_inodes_per_group + 1; in check_inode_bitmaps() 694 if ((inodes == fs->super->s_inodes_per_group) || in check_inode_bitmaps() 715 first_free = fs->super->s_inodes_per_group + 1; in check_inode_bitmaps()
|
D | super.c | 525 check_super_value(ctx, "inodes_per_group", sb->s_inodes_per_group, in check_super_block() 572 should_be = sb->s_inodes_per_group * fs->group_desc_count; in check_super_block() 645 (ext2fs_bg_free_inodes_count(fs, i) > sb->s_inodes_per_group) || in check_super_block() 646 (ext2fs_bg_used_dirs_count(fs, i) > sb->s_inodes_per_group)) in check_super_block() 686 ext2fs_bg_itable_unused(fs, i) > sb->s_inodes_per_group)) { in check_super_block()
|
D | pass4.c | 129 if ((i % fs->super->s_inodes_per_group) == 0) { in e2fsck_pass4()
|
D | pass2.c | 990 first_unused_inode = group * fs->super->s_inodes_per_group + in check_dir_block() 991 1 + fs->super->s_inodes_per_group - in check_dir_block()
|
D | pass1b.c | 293 if (ino % (fs->super->s_inodes_per_group * 4) == 1) { in pass1b()
|
/external/e2fsprogs/misc/ |
D | dumpe2fs.c | 178 inode_blocks_per_group = ((fs->super->s_inodes_per_group * in list_desc() 281 fs->super->s_inodes_per_group, in list_desc() 284 ino_itr += fs->super->s_inodes_per_group; in list_desc()
|
D | mke2fs.c | 333 num = ext2fs_div_ceil((fs->super->s_inodes_per_group - in write_inode_tables() 608 printf(_("%u inodes per group\n"), s->s_inodes_per_group); in show_stats()
|
D | tune2fs.c | 1707 if ((count == fs->super->s_inodes_per_group) || in ext2fs_calculate_summary_stats()
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 368 new_inodes =(unsigned long long) fs->super->s_inodes_per_group * fs->group_desc_count; in adjust_fs_info() 374 fs->super->s_inodes_count = fs->super->s_inodes_per_group * in adjust_fs_info() 543 fs->super->s_inodes_per_group); in adjust_fs_info() 582 fs->super->s_inodes_per_group; in adjust_fs_info() 585 fs->super->s_inodes_per_group); in adjust_fs_info() 1476 rfs->new_fs->super->s_inodes_per_group); in inode_scan_and_fix() 1978 if ((count == fs->super->s_inodes_per_group) || in ext2fs_calculate_summary_stats() 2064 fs->super->s_inodes_per_group) * in calculate_minimum_resize_size()
|
/external/e2fsprogs/lib/e2p/ |
D | ls.c | 204 inode_blocks_per_group = (((sb->s_inodes_per_group * in list_super2() 273 fprintf(f, "Inodes per group: %u\n", sb->s_inodes_per_group); in list_super2()
|
/external/e2fsprogs/debugfs/ |
D | logdump.c | 153 / es->s_inodes_per_group); in do_logdump() 155 % es->s_inodes_per_group); in do_logdump()
|
D | set_fields.c | 88 { "inodes_per_group", &set_sb.s_inodes_per_group, NULL, 4, parse_uint },
|