/external/e2fsprogs/lib/ext2fs/ |
D | initialize.c | 61 unsigned long bpg = sb->s_blocks_per_group; in calc_reserved_gdt_blocks() 225 if (param->s_blocks_per_group && in ext2fs_initialize() 228 param->s_blocks_per_group)) { in ext2fs_initialize() 234 else if (param->s_blocks_per_group) in ext2fs_initialize() 236 param->s_blocks_per_group / in ext2fs_initialize() 250 super->s_blocks_per_group = bpg; in ext2fs_initialize() 252 set_field(s_blocks_per_group, fs->blocksize * 8); in ext2fs_initialize() 253 if (super->s_blocks_per_group > EXT2_MAX_BLOCKS_PER_GROUP(super)) in ext2fs_initialize() 254 super->s_blocks_per_group = EXT2_MAX_BLOCKS_PER_GROUP(super); in ext2fs_initialize() 255 super->s_clusters_per_group = super->s_blocks_per_group; in ext2fs_initialize() [all …]
|
D | blknum.c | 23 fs->super->s_blocks_per_group; in ext2fs_group_of_blk2() 43 (fs->super->s_blocks_per_group - 1)); in ext2fs_group_last_block2() 56 fs->super->s_blocks_per_group; in ext2fs_group_blocks_count() 58 num_blocks = fs->super->s_blocks_per_group; in ext2fs_group_blocks_count() 60 num_blocks = fs->super->s_blocks_per_group; in ext2fs_group_blocks_count()
|
D | alloc_tables.c | 50 if (size > (int) (fs->super->s_blocks_per_group / 4)) in flexbg_offset() 51 size = (int) fs->super->s_blocks_per_group / 4; in flexbg_offset()
|
D | tst_super_size.c | 63 check_field(s_blocks_per_group, 4); in main()
|
D | openfs.c | 67 ((ret_blk + has_super + fs->super->s_blocks_per_group) < in ext2fs_descriptor_block_loc2() 69 ret_blk += fs->super->s_blocks_per_group; in ext2fs_descriptor_block_loc2()
|
D | res_gdt.c | 188 blk_t expect = gdt_blk + grp * sb->s_blocks_per_group; in ext2fs_create_resize_inode()
|
D | swapfs.c | 38 sb->s_blocks_per_group = ext2fs_swab32(sb->s_blocks_per_group); in ext2fs_swap_super()
|
D | ext2_fs.h | 274 #define EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group) 647 /*020*/ __u32 s_blocks_per_group; /* # Blocks per group */ member
|
D | alloc.c | 487 b += fs->super->s_blocks_per_group) in ext2fs_new_range()
|
D | csum.c | 851 if (old_free_blocks_count == sb->s_blocks_per_group && in ext2fs_set_gdt_csum()
|
/external/e2fsprogs/ext2ed/ |
D | blockbitmap_com.c | 58 …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() 130 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___allocate() 158 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___deallocate() 221 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() 253 …_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 | 94 …info.first_group_desc_offset+copy_num*file_system_info.super_block.s_blocks_per_group*file_system_… in type_ext2_group_desc___gocopy() 113 …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 | 420 sb->s_blocks_per_group); in set_file_system_info() 424 file_system_info.no_blocks_in_group=sb->s_blocks_per_group; in set_file_system_info()
|
/external/e2fsprogs/misc/ |
D | mke2fs.c | 315 fs->super->s_blocks_per_group; in handle_bad_blocks() 334 group_block += fs->super->s_blocks_per_group; in handle_bad_blocks() 705 EXT2_DESC_PER_BLOCK(s) * s->s_blocks_per_group); in show_stats() 712 s->s_blocks_per_group, s->s_clusters_per_group); in show_stats() 715 s->s_blocks_per_group, s->s_clusters_per_group); in show_stats() 730 group_block += s->s_blocks_per_group; in show_stats() 970 bpg = param->s_blocks_per_group; in parse_extended_opts() 1653 fs_param.s_blocks_per_group = strtoul(optarg, &tmp, 0); in PRS() 1659 if ((fs_param.s_blocks_per_group % 8) != 0) { in PRS() 2429 if (fs_param.s_blocks_per_group) { in PRS() [all …]
|
D | findsuper.c | 240 grpsize = bsize * ext2.s_blocks_per_group; in main()
|
/external/e2fsprogs/resize/ |
D | main.c | 126 fs->super->s_blocks_per_group; in determine_fs_stride() 129 fs->super->s_blocks_per_group; in determine_fs_stride() 538 if (use_stride >= (int) fs->super->s_blocks_per_group) { in main()
|
D | resize2fs.c | 746 fs->super->s_blocks_per_group; in adjust_fs_info() 892 old_fs->super->s_blocks_per_group; in adjust_fs_info() 894 old_numblocks = old_fs->super->s_blocks_per_group; in adjust_fs_info() 898 fs->super->s_blocks_per_group; in adjust_fs_info() 900 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info() 902 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info() 1002 group_block += fs->super->s_blocks_per_group; in adjust_fs_info() 1123 group_block += fs->super->s_blocks_per_group; in adjust_superblock() 1398 group_blk += fs->super->s_blocks_per_group; in blocks_to_move() 1421 group_blk += fs->super->s_blocks_per_group; in blocks_to_move() [all …]
|
D | online.c | 223 size = fs->group_desc_count * sb->s_blocks_per_group + in online_resize_fs()
|
/external/e2fsprogs/e2fsck/ |
D | super.c | 587 blk64_t blocks_per_group = fs->super->s_blocks_per_group; in check_super_block() 656 if (!check_super_value(ctx, "blocks_per_group", sb->s_blocks_per_group, in check_super_block() 705 if (sb->s_blocks_per_group != (sb->s_clusters_per_group * in check_super_block() 856 if ((ext2fs_bg_free_blocks_count(fs, i) > sb->s_blocks_per_group) || in check_super_block()
|
D | readahead.c | 191 fs->super->s_blocks_per_group) { in e2fsck_readahead()
|
D | pass1b.c | 1045 first_block += fs->super->s_blocks_per_group; in check_if_fs_block() 1087 first_block += fs->super->s_blocks_per_group; in check_if_fs_cluster()
|
D | util.c | 562 ret_sb = (fs->super->s_blocks_per_group + in get_backup_sb()
|
/external/e2fsprogs/debugfs/ |
D | logdump.c | 194 / es->s_blocks_per_group); in do_logdump() 670 super->s_blocks_per_group); in dump_metadata_block()
|
D | set_fields.c | 95 { "blocks_per_group", &set_sb.s_blocks_per_group, NULL, 4, parse_uint },
|
/external/e2fsprogs/lib/e2p/ |
D | ls.c | 293 fprintf(f, "Blocks per group: %u\n", sb->s_blocks_per_group); in list_super2()
|