Home
last modified time | relevance | path

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

12

/third_party/e2fsprogs/lib/ext2fs/
Dinitialize.c61 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 …]
Dblknum.c23 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()
Dalloc_tables.c50 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()
Dtst_super_size.c63 check_field(s_blocks_per_group, 4); in main()
Dopenfs.c66 ((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()
Dres_gdt.c188 blk_t expect = gdt_blk + grp * sb->s_blocks_per_group; in ext2fs_create_resize_inode()
Dswapfs.c37 sb->s_blocks_per_group = ext2fs_swab32(sb->s_blocks_per_group); in ext2fs_swap_super()
Dext2_fs.h286 #define EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group)
662 /*020*/ __u32 s_blocks_per_group; /* # Blocks per group */ member
Dalloc.c487 b += fs->super->s_blocks_per_group) in ext2fs_new_range()
Dcsum.c842 if (old_free_blocks_count == sb->s_blocks_per_group && in ext2fs_set_gdt_csum()
/third_party/e2fsprogs/ext2ed/
Dblockbitmap_com.c58 …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()
Dgroup_com.c94 …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()
Dinit.c420 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/
Dmke2fs.c317 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 …]
Dfindsuper.c240 grpsize = bsize * ext2.s_blocks_per_group; in main()
/third_party/e2fsprogs/resize/
Dmain.c126 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()
Dresize2fs.c747 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 …]
Donline.c224 size = fs->group_desc_count * sb->s_blocks_per_group + in online_resize_fs()
/third_party/e2fsprogs/e2fsck/
Dsuper.c587 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()
Dreadahead.c191 fs->super->s_blocks_per_group) { in e2fsck_readahead()
Dpass1b.c1052 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()
Dutil.c557 ret_sb = (fs->super->s_blocks_per_group + in get_backup_sb()
/third_party/e2fsprogs/debugfs/
Dlogdump.c199 / es->s_blocks_per_group); in do_logdump()
820 super->s_blocks_per_group); in dump_metadata_block()
Dset_fields.c99 { "blocks_per_group", &set_sb.s_blocks_per_group, NULL, 4, parse_uint },
/third_party/e2fsprogs/lib/e2p/
Dls.c295 fprintf(f, "Blocks per group: %u\n", sb->s_blocks_per_group); in list_super2()

12