/external/e2fsprogs/lib/ext2fs/ |
D | initialize.c | 69 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()
|
D | closefs.c | 61 (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()
|
D | openfs.c | 46 (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()
|
D | swapfs.c | 35 sb->s_blocks_per_group = ext2fs_swab32(sb->s_blocks_per_group); in ext2fs_swap_super()
|
D | res_gdt.c | 169 blk_t expect = gdt_blk + grp * sb->s_blocks_per_group; in ext2fs_create_resize_inode()
|
D | ext2_fs.h | 220 #define EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group) 521 __u32 s_blocks_per_group; /* # Blocks per group */ member
|
D | ext2fs.h | 1153 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/ |
D | blockbitmap_com.c | 57 …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()
|
D | group_com.c | 93 …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()
|
D | init.c | 426 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/ |
D | resize2fs.c | 221 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 …]
|
D | online.c | 100 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()
|
D | main.c | 113 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/ |
D | super.c | 414 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()
|
D | pass5.c | 232 if ((blocks == fs->super->s_blocks_per_group) || in check_block_bitmaps() 239 super += fs->super->s_blocks_per_group; in check_block_bitmaps()
|
D | util.c | 414 ret_sb = (fs->super->s_blocks_per_group + in get_backup_sb()
|
D | pass1.c | 1529 if (pb.fragmented && pb.num_blocks < fs->super->s_blocks_per_group) in check_blocks() 1701 super += fs->super->s_blocks_per_group; 1993 first_block += fs->super->s_blocks_per_group; in process_bad_block()
|
/external/e2fsprogs/misc/ |
D | mke2fs.c | 254 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 …]
|
D | dumpe2fs.c | 215 fs->super->s_blocks_per_group, in list_desc() 218 block_bitmap += fs->super->s_blocks_per_group / 8; in list_desc()
|
D | findsuper.c | 232 grpsize = bsize * ext2.s_blocks_per_group; in main()
|
/external/genext2fs/ |
D | genext2fs.c | 242 (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/ |
D | logdump.c | 183 / es->s_blocks_per_group); in do_logdump() 617 super->s_blocks_per_group); in dump_metadata_block()
|
D | set_fields.c | 73 { "blocks_per_group", &set_sb.s_blocks_per_group, 4, parse_uint },
|
/external/e2fsprogs/lib/e2p/ |
D | ls.c | 232 fprintf(f, "Blocks per group: %u\n", sb->s_blocks_per_group); in list_super2()
|
/external/grub/stage2/ |
D | fsys_ext2fs.c | 65 __u32 s_blocks_per_group; /* # Blocks per group */ member
|