Home
last modified time | relevance | path

Searched refs:group_block (Results 1 – 5 of 5) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dopenfs.c36 blk64_t ext2fs_descriptor_block_loc2(ext2_filsys fs, blk64_t group_block, in ext2fs_descriptor_block_loc2() argument
52 return group_block + i + 1 + group_zero_adjust; in ext2fs_descriptor_block_loc2()
66 if (group_block != fs->super->s_first_data_block && in ext2fs_descriptor_block_loc2()
84 blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block, dgrp_t i) in ext2fs_descriptor_block_loc() argument
86 return ext2fs_descriptor_block_loc2(fs, group_block, i); in ext2fs_descriptor_block_loc()
127 blk64_t group_block, blk; in ext2fs_open2() local
213 group_block = superblock; in ext2fs_open2()
218 group_block = 0; in ext2fs_open2()
396 if (!group_block) in ext2fs_open2()
397 group_block = fs->super->s_first_data_block; in ext2fs_open2()
[all …]
Dclosefs.c78 blk64_t group_block, super_blk = 0, old_desc_blk = 0, new_desc_blk = 0; in ext2fs_super_and_bgd_loc2() local
84 group_block = ext2fs_group_first_block2(fs, group); in ext2fs_super_and_bgd_loc2()
85 if (group_block == 0 && fs->blocksize == 1024) in ext2fs_super_and_bgd_loc2()
86 group_block = 1; /* Deal with 1024 blocksize && bigalloc */ in ext2fs_super_and_bgd_loc2()
97 super_blk = group_block; in ext2fs_super_and_bgd_loc2()
106 old_desc_blk = group_block + 1; in ext2fs_super_and_bgd_loc2()
115 new_desc_blk = group_block + has_super; in ext2fs_super_and_bgd_loc2()
254 blk64_t group_block, in write_backup_super() argument
271 return io_channel_write_blk64(fs->io, group_block, -SUPERBLOCK_SIZE, in write_backup_super()
Dext2fs.h1006 extern int ext2fs_bg_has_super(ext2_filsys fs, dgrp_t group_block);
1589 blk64_t group_block, dgrp_t i);
1590 extern blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block,
/external/e2fsprogs/misc/
Dmke2fs.c285 blk_t group_block; in handle_bad_blocks() local
314 group_block = fs->super->s_first_data_block + in handle_bad_blocks()
321 group_block + j)) { in handle_bad_blocks()
326 group_block); in handle_bad_blocks()
328 group = ext2fs_group_of_blk2(fs, group_block+j); in handle_bad_blocks()
334 group_block += fs->super->s_blocks_per_group; in handle_bad_blocks()
653 blk64_t group_block; in show_stats() local
720 group_block = s->s_first_data_block; in show_stats()
723 group_block += s->s_blocks_per_group; in show_stats()
728 need = int_log10(group_block) + 2; in show_stats()
[all …]
/external/e2fsprogs/resize/
Dresize2fs.c696 blk64_t blk, group_block; in adjust_fs_info() local
920 group_block = ext2fs_group_first_block2(fs, in adjust_fs_info()
962 ext2fs_block_alloc_stats2(fs, group_block, +1); in adjust_fs_info()
972 group_block + 1 + j, +1); in adjust_fs_info()
982 group_block + has_super, +1); in adjust_fs_info()
1001 group_block += fs->super->s_blocks_per_group; in adjust_fs_info()
1029 blk64_t group_block; in adjust_superblock() local
1094 group_block = ext2fs_group_first_block2(fs, in adjust_superblock()
1122 group_block += fs->super->s_blocks_per_group; in adjust_superblock()