Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dopenfs.c35 blk64_t ext2fs_descriptor_block_loc2(ext2_filsys fs, blk64_t group_block, in ext2fs_descriptor_block_loc2() argument
44 return (group_block + i + 1); in ext2fs_descriptor_block_loc2()
58 if (group_block != fs->super->s_first_data_block && in ext2fs_descriptor_block_loc2()
65 blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block, dgrp_t i) in ext2fs_descriptor_block_loc() argument
67 return ext2fs_descriptor_block_loc2(fs, group_block, i); in ext2fs_descriptor_block_loc()
102 blk64_t group_block, blk; in ext2fs_open2() local
181 group_block = superblock; in ext2fs_open2()
186 group_block = 0; in ext2fs_open2()
342 if (!group_block) in ext2fs_open2()
343 group_block = fs->super->s_first_data_block; in ext2fs_open2()
[all …]
Dclosefs.c70 blk64_t group_block, super_blk = 0, old_desc_blk = 0, new_desc_blk = 0; in ext2fs_super_and_bgd_loc2() local
76 group_block = ext2fs_group_first_block2(fs, group); in ext2fs_super_and_bgd_loc2()
77 if (group_block == 0 && fs->blocksize == 1024) in ext2fs_super_and_bgd_loc2()
78 group_block = 1; /* Deal with 1024 blocksize && bigalloc */ in ext2fs_super_and_bgd_loc2()
89 super_blk = group_block; in ext2fs_super_and_bgd_loc2()
98 old_desc_blk = group_block + 1; in ext2fs_super_and_bgd_loc2()
107 new_desc_blk = group_block + has_super; in ext2fs_super_and_bgd_loc2()
246 blk64_t group_block, in write_backup_super() argument
259 return io_channel_write_blk64(fs->io, group_block, -SUPERBLOCK_SIZE, in write_backup_super()
Dext2fs.h934 extern int ext2fs_bg_has_super(ext2_filsys fs, dgrp_t group_block);
1384 blk64_t group_block, dgrp_t i);
1385 extern blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block,
/external/e2fsprogs/misc/
Dmke2fs.c248 blk_t group_block; in handle_bad_blocks() local
277 group_block = fs->super->s_first_data_block + in handle_bad_blocks()
284 group_block + j)) { in handle_bad_blocks()
289 group_block); in handle_bad_blocks()
291 group = ext2fs_group_of_blk2(fs, group_block+j); in handle_bad_blocks()
297 group_block += fs->super->s_blocks_per_group; in handle_bad_blocks()
558 blk64_t group_block; in show_stats() local
616 group_block = s->s_first_data_block; in show_stats()
619 group_block += s->s_blocks_per_group; in show_stats()
624 need = int_log10(group_block) + 2; in show_stats()
[all …]
/external/e2fsprogs/resize/
Dresize2fs.c319 blk64_t blk, group_block; in adjust_fs_info() local
510 group_block = ext2fs_group_first_block2(fs, in adjust_fs_info()
552 ext2fs_block_alloc_stats2(fs, group_block, +1); in adjust_fs_info()
563 group_block + 1 + j, +1); in adjust_fs_info()
573 group_block + has_super, +1); in adjust_fs_info()
592 group_block += fs->super->s_blocks_per_group; in adjust_fs_info()
620 blk64_t group_block; in adjust_superblock() local
688 group_block = ext2fs_group_first_block2(fs, in adjust_superblock()
716 group_block += fs->super->s_blocks_per_group; in adjust_superblock()