Searched refs:group_block (Results 1 – 5 of 5) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | openfs.c | 35 blk64_t ext2fs_descriptor_block_loc2(ext2_filsys fs, blk64_t group_block, in ext2fs_descriptor_block_loc2() argument 51 return group_block + i + 1 + group_zero_adjust; in ext2fs_descriptor_block_loc2() 65 if (group_block != fs->super->s_first_data_block && in ext2fs_descriptor_block_loc2() 83 blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block, dgrp_t i) in ext2fs_descriptor_block_loc() argument 85 return ext2fs_descriptor_block_loc2(fs, group_block, i); in ext2fs_descriptor_block_loc() 126 blk64_t group_block, blk; in ext2fs_open2() local 214 group_block = superblock; in ext2fs_open2() 219 group_block = 0; in ext2fs_open2() 400 if (!group_block) in ext2fs_open2() 401 group_block = fs->super->s_first_data_block; in ext2fs_open2() [all …]
|
D | closefs.c | 78 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 269 return io_channel_write_blk64(fs->io, group_block, -SUPERBLOCK_SIZE, in write_backup_super()
|
D | ext2fs.h | 1032 extern int ext2fs_bg_has_super(ext2_filsys fs, dgrp_t group_block); 1644 blk64_t group_block, dgrp_t i); 1645 extern blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block,
|
/external/e2fsprogs/misc/ |
D | mke2fs.c | 285 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() 660 blk64_t group_block; in show_stats() local 727 group_block = s->s_first_data_block; in show_stats() 730 group_block += s->s_blocks_per_group; in show_stats() 735 need = int_log10(group_block) + 2; in show_stats() [all …]
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 696 blk64_t blk, group_block; in adjust_fs_info() local 920 group_block = ext2fs_group_first_block2(fs, in adjust_fs_info() 963 ext2fs_block_alloc_stats2(fs, group_block, +1); in adjust_fs_info() 973 group_block + 1 + j, +1); in adjust_fs_info() 983 group_block + has_super, +1); in adjust_fs_info() 1002 group_block += fs->super->s_blocks_per_group; in adjust_fs_info() 1030 blk64_t group_block; in adjust_superblock() local 1095 group_block = ext2fs_group_first_block2(fs, in adjust_superblock() 1123 group_block += fs->super->s_blocks_per_group; in adjust_superblock()
|