/third_party/e2fsprogs/lib/ext2fs/ |
D | initialize.c | 61 unsigned long bpg = sb->s_blocks_per_group; in calc_reserved_gdt_blocks() 232 if (param->s_blocks_per_group && in ext2fs_initialize() 235 param->s_blocks_per_group)) { in ext2fs_initialize() 241 else if (param->s_blocks_per_group) in ext2fs_initialize() 243 param->s_blocks_per_group / in ext2fs_initialize() 257 super->s_blocks_per_group = bpg; in ext2fs_initialize() 259 set_field(s_blocks_per_group, fs->blocksize * 8); in ext2fs_initialize() 260 if (super->s_blocks_per_group > EXT2_MAX_BLOCKS_PER_GROUP(super)) in ext2fs_initialize() 261 super->s_blocks_per_group = EXT2_MAX_BLOCKS_PER_GROUP(super); in ext2fs_initialize() 262 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 | 66 ((ret_blk + has_super + fs->super->s_blocks_per_group) < in ext2fs_descriptor_block_loc2() 68 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 | 37 sb->s_blocks_per_group = ext2fs_swab32(sb->s_blocks_per_group); in ext2fs_swap_super()
|
D | ext2_fs.h | 286 #define EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group) 662 /*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 | 842 if (old_free_blocks_count == sb->s_blocks_per_group && in ext2fs_set_gdt_csum()
|
/third_party/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()
|
/third_party/e2fsprogs/misc/ |
D | mke2fs.c | 317 fs->super->s_blocks_per_group; in handle_bad_blocks() 336 group_block += fs->super->s_blocks_per_group; in handle_bad_blocks() 716 EXT2_DESC_PER_BLOCK(s) * s->s_blocks_per_group); in show_stats() 723 s->s_blocks_per_group, s->s_clusters_per_group); in show_stats() 726 s->s_blocks_per_group, s->s_clusters_per_group); in show_stats() 741 group_block += s->s_blocks_per_group; in show_stats() 983 bpg = param->s_blocks_per_group; in parse_extended_opts() 1717 fs_param.s_blocks_per_group = strtoul(optarg, &tmp, 0); in PRS() 1723 if ((fs_param.s_blocks_per_group % 8) != 0) { in PRS() 2551 if (fs_param.s_blocks_per_group) { in PRS() [all …]
|
D | findsuper.c | 240 grpsize = bsize * ext2.s_blocks_per_group; in main()
|
/third_party/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() 560 if (use_stride >= (int) fs->super->s_blocks_per_group) { in main()
|
D | resize2fs.c | 747 fs->super->s_blocks_per_group; in adjust_fs_info() 893 old_fs->super->s_blocks_per_group; in adjust_fs_info() 895 old_numblocks = old_fs->super->s_blocks_per_group; in adjust_fs_info() 899 fs->super->s_blocks_per_group; in adjust_fs_info() 901 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info() 903 numblocks = fs->super->s_blocks_per_group; in adjust_fs_info() 1003 group_block += fs->super->s_blocks_per_group; in adjust_fs_info() 1124 group_block += fs->super->s_blocks_per_group; in adjust_superblock() 1405 group_blk += fs->super->s_blocks_per_group; in blocks_to_move() 1428 group_blk += fs->super->s_blocks_per_group; in blocks_to_move() [all …]
|
D | online.c | 224 size = fs->group_desc_count * sb->s_blocks_per_group + in online_resize_fs()
|
/third_party/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 | 1052 first_block += fs->super->s_blocks_per_group; in check_if_fs_block() 1094 first_block += fs->super->s_blocks_per_group; in check_if_fs_cluster()
|
D | util.c | 557 ret_sb = (fs->super->s_blocks_per_group + in get_backup_sb()
|
/third_party/e2fsprogs/debugfs/ |
D | logdump.c | 199 / es->s_blocks_per_group); in do_logdump() 820 super->s_blocks_per_group); in dump_metadata_block()
|
D | set_fields.c | 99 { "blocks_per_group", &set_sb.s_blocks_per_group, NULL, 4, parse_uint },
|
/third_party/e2fsprogs/lib/e2p/ |
D | ls.c | 295 fprintf(f, "Blocks per group: %u\n", sb->s_blocks_per_group); in list_super2()
|