Home
last modified time | relevance | path

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

12

/external/e2fsprogs/lib/ext2fs/
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()
48 group * fs->super->s_inodes_per_group + in ext2fs_inode_alloc_stats2()
49 fs->super->s_inodes_per_group - ino; in ext2fs_inode_alloc_stats2()
Dinitialize.c267 super->s_inodes_per_group = ipg; in ext2fs_initialize()
274 fs->inode_blocks_per_group = (((super->s_inodes_per_group * in ext2fs_initialize()
278 super->s_inodes_per_group = ((fs->inode_blocks_per_group * in ext2fs_initialize()
286 super->s_inodes_per_group &= ~7; in ext2fs_initialize()
287 fs->inode_blocks_per_group = (((super->s_inodes_per_group * in ext2fs_initialize()
295 if ((__u64)super->s_inodes_per_group * fs->group_desc_count > ~0U) { in ext2fs_initialize()
299 super->s_inodes_count = super->s_inodes_per_group * in ext2fs_initialize()
407 numblocks = super->s_inodes_per_group; in ext2fs_initialize()
419 fs->super->s_inodes_per_group; in ext2fs_initialize()
Dcsum.c122 if (bg->bg_free_inodes_count == sb->s_inodes_per_group) { in ext2fs_set_gdt_csum()
124 bg->bg_itable_unused = sb->s_inodes_per_group; in ext2fs_set_gdt_csum()
127 bg->bg_itable_unused = sb->s_inodes_per_group - in ext2fs_set_gdt_csum()
129 sb->s_inodes_per_group,i); in ext2fs_set_gdt_csum()
Dalloc.c87 ino = (group * fs->super->s_inodes_per_group) + 1; in check_inode_uninit()
88 for (i=0; i < fs->super->s_inodes_per_group; i++, ino++) in check_inode_uninit()
Dtst_super_size.c56 check_field(s_inodes_per_group); in check_superblock_fields()
Dswapfs.c37 sb->s_inodes_per_group = ext2fs_swab32(sb->s_inodes_per_group); in ext2fs_swap_super()
Dext2_fs.h230 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group)
524 __u32 s_inodes_per_group; /* # Inodes per group */ member
Ddblist.c37 max_dirs = fs->super->s_inodes_per_group; in ext2fs_get_num_dirs()
/external/e2fsprogs/ext2ed/
Dinodebitmap_com.c40 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()
Dinode_com.c48 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()
Dinit.c429 file_system_info.blocks_per_group=sb->s_inodes_per_group/file_system_info.inodes_per_block; in set_file_system_info()
/external/grub/stage2/
Dfsys_ext2fs.c67 __u32 s_inodes_per_group; /* # Inodes per group */ member
539 group_id = (current_ino - 1) / (SUPERBLOCK->s_inodes_per_group); in ext2fs_dir()
543 printf ("ipg=%d, dpb=%d\n", SUPERBLOCK->s_inodes_per_group, in ext2fs_dir()
555 (((current_ino - 1) % (SUPERBLOCK->s_inodes_per_group)) in ext2fs_dir()
/external/kernel-headers/original/linux/
Dext2_fs.h154 # define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group)
159 # define EXT2_INODES_PER_GROUP(s) ((s)->s_inodes_per_group)
352 __le32 s_inodes_per_group; /* # Inodes per group */ member
Dext3_fs.h144 # define EXT3_INODES_PER_GROUP(s) (EXT3_SB(s)->s_inodes_per_group)
149 # define EXT3_INODES_PER_GROUP(s) ((s)->s_inodes_per_group)
423 __le32 s_inodes_per_group; /* # Inodes per group */ member
/external/e2fsprogs/e2fsck/
Dsuper.c511 check_super_value(ctx, "inodes_per_group", sb->s_inodes_per_group, in check_super_block()
571 should_be = sb->s_inodes_per_group * fs->group_desc_count; in check_super_block()
633 (gd->bg_free_inodes_count > sb->s_inodes_per_group) || in check_super_block()
634 (gd->bg_used_dirs_count > sb->s_inodes_per_group)) in check_super_block()
680 gd->bg_itable_unused > sb->s_inodes_per_group)) { in check_super_block()
Dpass4.c128 if ((i % fs->super->s_inodes_per_group) == 0) { in e2fsck_pass4()
Dpass2.c971 first_unused_inode = group * fs->super->s_inodes_per_group + in check_dir_block()
972 1 + fs->super->s_inodes_per_group - in check_dir_block()
Dpass5.c449 if ((inodes == fs->super->s_inodes_per_group) || in check_inode_bitmaps()
/external/e2fsprogs/misc/
Ddumpe2fs.c164 inode_blocks_per_group = ((fs->super->s_inodes_per_group * in list_desc()
255 fs->super->s_inodes_per_group, 1); in list_desc()
257 ino_itr += fs->super->s_inodes_per_group; in list_desc()
Dmke2fs.c379 num = ((((fs->super->s_inodes_per_group - in write_inode_tables()
643 printf(_("%u inodes per group\n"), s->s_inodes_per_group); in show_stats()
/external/e2fsprogs/lib/e2p/
Dls.c184 inode_blocks_per_group = (((sb->s_inodes_per_group * in list_super2()
238 fprintf(f, "Inodes per group: %u\n", sb->s_inodes_per_group); in list_super2()
/external/genext2fs/
Dgenext2fs.c251 #define GRP_GROUP_OF_INODE(fs,nod) ( ((nod)-1) / (fs)->sb.s_inodes_per_group)
259 ( (nod) - GRP_GROUP_OF_INODE((fs),(nod))*(fs)->sb.s_inodes_per_group )
454 udecl32(s_inodes_per_group) /* Count of the number of inodes in each block group */ \
937 return fs->sb.s_inodes_per_group*best_group+nod; in alloc_nod()
2020 fs->sb.s_inodes_per_group = nbinodes_per_group; in init_fs()
2065 for(j = fs->sb.s_inodes_per_group+1; j <= BLOCKSIZE * 8; j++) in init_fs()
2397 fs->sb.s_inodes_per_group); in print_fs()
2399 (int)(fs->sb.s_inodes_per_group * sizeof(inode) / BLOCKSIZE)); in print_fs()
2409 print_bm(ibm, fs->sb.s_inodes_per_group); in print_fs()
2410 for (i = 1; i <= fs->sb.s_inodes_per_group; i++) in print_fs()
/external/e2fsprogs/resize/
Dresize2fs.c348 new_inodes =(unsigned long long) fs->super->s_inodes_per_group * fs->group_desc_count; in adjust_fs_info()
354 fs->super->s_inodes_count = fs->super->s_inodes_per_group * in adjust_fs_info()
546 fs->super->s_inodes_per_group; in adjust_fs_info()
549 fs->super->s_inodes_per_group; in adjust_fs_info()
1343 rfs->new_fs->super->s_inodes_per_group); in inode_scan_and_fix()
1843 if ((count == fs->super->s_inodes_per_group) || in ext2fs_calculate_summary_stats()
1906 fs->super->s_inodes_per_group) * in calculate_minimum_resize_size()
/external/e2fsprogs/debugfs/
Dlogdump.c153 / es->s_inodes_per_group); in do_logdump()
155 % es->s_inodes_per_group); in do_logdump()
Dset_fields.c80 { "inodes_per_group", &set_sb.s_inodes_per_group, 4, parse_uint },

12