Home
last modified time | relevance | path

Searched refs:s_blocks_per_group (Results 1 – 25 of 29) sorted by relevance

12

/external/e2fsprogs/lib/ext2fs/
Dinitialize.c69 unsigned long bpg = sb->s_blocks_per_group; in calc_reserved_gdt_blocks()
187 set_field(s_blocks_per_group, fs->blocksize * 8); in ext2fs_initialize()
188 if (super->s_blocks_per_group > EXT2_MAX_BLOCKS_PER_GROUP(super)) in ext2fs_initialize()
189 super->s_blocks_per_group = EXT2_MAX_BLOCKS_PER_GROUP(super); in ext2fs_initialize()
190 super->s_frags_per_group = super->s_blocks_per_group * frags_per_block; in ext2fs_initialize()
239 if (super->s_blocks_per_group >= 256) { in ext2fs_initialize()
241 super->s_blocks_per_group -= 8; in ext2fs_initialize()
243 super->s_frags_per_group = super->s_blocks_per_group * in ext2fs_initialize()
313 if (overhead > super->s_blocks_per_group) in ext2fs_initialize()
327 super->s_blocks_per_group); in ext2fs_initialize()
Dclosefs.c61 (group * fs->super->s_blocks_per_group); in ext2fs_super_and_bgd_loc()
72 fs->super->s_blocks_per_group; in ext2fs_super_and_bgd_loc()
74 numblocks = fs->super->s_blocks_per_group; in ext2fs_super_and_bgd_loc()
76 numblocks = fs->super->s_blocks_per_group; in ext2fs_super_and_bgd_loc()
Dopenfs.c46 (bg * fs->super->s_blocks_per_group)); in ext2fs_descriptor_block_loc()
56 ((ret_blk + fs->super->s_blocks_per_group) < in ext2fs_descriptor_block_loc()
58 ret_blk += fs->super->s_blocks_per_group; in ext2fs_descriptor_block_loc()
Dswapfs.c35 sb->s_blocks_per_group = ext2fs_swab32(sb->s_blocks_per_group); in ext2fs_swap_super()
Dext2_fs.h220 #define EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group)
521 __u32 s_blocks_per_group; /* # Blocks per group */ member
Dres_gdt.c169 blk_t expect = gdt_blk + grp * sb->s_blocks_per_group; in ext2fs_create_resize_inode()
Dext2fs.h1153 fs->super->s_blocks_per_group; in ext2fs_group_of_blk()
1170 (group * fs->super->s_blocks_per_group); in ext2fs_group_first_block()
1181 (fs->super->s_blocks_per_group - 1)); in ext2fs_group_last_block()
/external/e2fsprogs/ext2ed/
Dblockbitmap_com.c57 …if (entry_num >= file_system_info.super_block.s_blocks_per_group) { /* Check if it is a valid entr… in type_ext2_block_bitmap___entry()
129 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___allocate()
157 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___deallocate()
220 for (i=0,entry_num=0;i<file_system_info.super_block.s_blocks_per_group/8;i++,ptr++) { in type_ext2_block_bitmap___show()
252 …_bitmap_info.entry_num+block_bitmap_info.group_num*file_system_info.super_block.s_blocks_per_group; in type_ext2_block_bitmap___show()
Dgroup_com.c93 …info.first_group_desc_offset+copy_num*file_system_info.super_block.s_blocks_per_group*file_system_… in type_ext2_group_desc___gocopy()
112 …stem_info.first_group_desc_offset) % (file_system_info.super_block.s_blocks_per_group*file_system_… in type_ext2_group_desc___show()
Dinit.c426 sb->s_blocks_per_group); in set_file_system_info()
430 file_system_info.no_blocks_in_group=sb->s_blocks_per_group; in set_file_system_info()
/external/e2fsprogs/resize/
Dresize2fs.c221 fs->super->s_blocks_per_group; in adjust_fs_info()
329 old_fs->super->s_blocks_per_group; in adjust_fs_info()
331 old_numblocks = old_fs->super->s_blocks_per_group; in adjust_fs_info()
335 fs->super->s_blocks_per_group; in adjust_fs_info()
337 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
339 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
357 old_fs->group_desc_count * fs->super->s_blocks_per_group; in adjust_fs_info()
375 fs->super->s_blocks_per_group; in adjust_fs_info()
377 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
379 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info()
[all …]
Donline.c100 size = fs->group_desc_count * sb->s_blocks_per_group + in online_resize_fs()
124 input.blocks_count = sb->s_blocks_per_group; in online_resize_fs()
128 (i * sb->s_blocks_per_group); in online_resize_fs()
Dmain.c113 fs->super->s_blocks_per_group; in determine_fs_stride()
116 fs->super->s_blocks_per_group; in determine_fs_stride()
351 if (use_stride >= (int) fs->super->s_blocks_per_group) { in main()
/external/e2fsprogs/e2fsck/
Dsuper.c414 expect = pblk + (j * fs->super->s_blocks_per_group); in check_resize_inode()
461 blk_t blocks_per_group = fs->super->s_blocks_per_group; in check_super_block()
504 MIN_CHECK | MAX_CHECK, sb->s_blocks_per_group, in check_super_block()
506 check_super_value(ctx, "blocks_per_group", sb->s_blocks_per_group, in check_super_block()
547 if (sb->s_blocks_per_group != should_be) { in check_super_block()
548 pctx.blk = sb->s_blocks_per_group; in check_super_block()
619 if ((gd->bg_free_blocks_count > sb->s_blocks_per_group) || in check_super_block()
825 (g * fs->super->s_blocks_per_group); in check_backup_super_block()
Dpass5.c232 if ((blocks == fs->super->s_blocks_per_group) || in check_block_bitmaps()
239 super += fs->super->s_blocks_per_group; in check_block_bitmaps()
Dutil.c414 ret_sb = (fs->super->s_blocks_per_group + in get_backup_sb()
/external/e2fsprogs/misc/
Dmke2fs.c254 fs->super->s_blocks_per_group; in handle_bad_blocks()
272 group_block += fs->super->s_blocks_per_group; in handle_bad_blocks()
700 s->s_blocks_per_group); in show_stats()
706 s->s_blocks_per_group, s->s_frags_per_group); in show_stats()
718 group_block += s->s_blocks_per_group; in show_stats()
846 bpg = param->s_blocks_per_group; in parse_extended_opts()
1081 fs_param.s_blocks_per_group = strtoul(optarg, &tmp, 0); in PRS()
1087 if ((fs_param.s_blocks_per_group % 8) != 0) { in PRS()
1479 if (fs_param.s_blocks_per_group) { in PRS()
1480 if (fs_param.s_blocks_per_group < 256 || in PRS()
[all …]
Ddumpe2fs.c215 fs->super->s_blocks_per_group, in list_desc()
218 block_bitmap += fs->super->s_blocks_per_group / 8; in list_desc()
Dfindsuper.c232 grpsize = bsize * ext2.s_blocks_per_group; in main()
/external/kernel-headers/original/linux/
Dext2_fs.h152 # define EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group)
157 # define EXT2_BLOCKS_PER_GROUP(s) ((s)->s_blocks_per_group)
350 __le32 s_blocks_per_group; /* # Blocks per group */ member
Dext3_fs.h142 # define EXT3_BLOCKS_PER_GROUP(s) (EXT3_SB(s)->s_blocks_per_group)
147 # define EXT3_BLOCKS_PER_GROUP(s) ((s)->s_blocks_per_group)
421 /*20*/ __le32 s_blocks_per_group; /* # Blocks per group */ member
/external/genext2fs/
Dgenext2fs.c242 (fs)->sb.s_blocks_per_group - 1) / (fs)->sb.s_blocks_per_group)
262 #define GRP_GROUP_OF_BLOCK(fs,blk) ( ((blk)-1) / (fs)->sb.s_blocks_per_group)
270 ( (blk) - GRP_GROUP_OF_BLOCK((fs),(blk))*(fs)->sb.s_blocks_per_group )
452 udecl32(s_blocks_per_group) /* Count of the number of blocks in each block group */ \
892 return fs->sb.s_blocks_per_group*grp + bk; in alloc_blk()
901 grp = bk / fs->sb.s_blocks_per_group; in free_blk()
902 bk %= fs->sb.s_blocks_per_group; in free_blk()
2017 fs->sb.s_blocks_per_group = nbblocks_per_group; in init_fs()
2395 fs->sb.s_blocks_per_group, fs->sb.s_frags_per_group, in print_fs()
2405 print_bm(GRP_GET_GROUP_BBM(fs, i),fs->sb.s_blocks_per_group); in print_fs()
/external/e2fsprogs/debugfs/
Dlogdump.c183 / es->s_blocks_per_group); in do_logdump()
617 super->s_blocks_per_group); in dump_metadata_block()
/external/e2fsprogs/lib/e2p/
Dls.c232 fprintf(f, "Blocks per group: %u\n", sb->s_blocks_per_group); in list_super2()
/external/grub/stage2/
Dfsys_ext2fs.c65 __u32 s_blocks_per_group; /* # Blocks per group */ member

12