Searched refs:group_block (Results 1 – 6 of 6) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | sparse.c | 31 int ext2fs_bg_has_super(ext2_filsys fs, int group_block) in ext2fs_bg_has_super() argument 37 if (test_root(group_block, 3) || (test_root(group_block, 5)) || in ext2fs_bg_has_super() 38 test_root(group_block, 7)) in ext2fs_bg_has_super()
|
D | closefs.c | 35 int ext2fs_bg_has_super(ext2_filsys fs, int group_block) in ext2fs_bg_has_super() argument 41 if (test_root(group_block, 3) || (test_root(group_block, 5)) || in ext2fs_bg_has_super() 42 test_root(group_block, 7)) in ext2fs_bg_has_super() 68 blk_t group_block, super_blk = 0, old_desc_blk = 0, new_desc_blk = 0; in ext2fs_super_and_bgd_loc() local 73 group_block = ext2fs_group_first_block(fs, group); in ext2fs_super_and_bgd_loc() 93 super_blk = group_block; in ext2fs_super_and_bgd_loc() 102 old_desc_blk = group_block + 1; in ext2fs_super_and_bgd_loc() 111 new_desc_blk = group_block + has_super; in ext2fs_super_and_bgd_loc() 202 blk_t group_block, in write_backup_super() argument 215 return io_channel_write_blk(fs->io, group_block, -SUPERBLOCK_SIZE, in write_backup_super()
|
D | openfs.c | 32 blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block, dgrp_t i) in ext2fs_descriptor_block_loc() argument 40 return (group_block + i + 1); in ext2fs_descriptor_block_loc() 54 if (group_block != fs->super->s_first_data_block && in ext2fs_descriptor_block_loc() 90 blk_t group_block, blk; in ext2fs_open2() local 168 group_block = superblock; in ext2fs_open2() 173 group_block = 0; in ext2fs_open2() 305 if (!group_block) in ext2fs_open2() 306 group_block = fs->super->s_first_data_block; in ext2fs_open2() 314 retval = io_channel_read_blk(fs->io, group_block+1, in ext2fs_open2() 326 blk = ext2fs_descriptor_block_loc(fs, group_block, i); in ext2fs_open2()
|
D | ext2fs.h | 741 extern int ext2fs_bg_has_super(ext2_filsys fs, int group_block); 1093 extern blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block,
|
/external/e2fsprogs/misc/ |
D | mke2fs.c | 238 blk_t group_block; in handle_bad_blocks() local 267 group_block = fs->super->s_first_data_block + in handle_bad_blocks() 274 group_block + j)) { in handle_bad_blocks() 279 group_block); in handle_bad_blocks() 281 group = ext2fs_group_of_blk(fs, group_block+j); in handle_bad_blocks() 287 group_block += fs->super->s_blocks_per_group; in handle_bad_blocks() 605 blk_t group_block; in show_stats() local 651 group_block = s->s_first_data_block; in show_stats() 654 group_block += s->s_blocks_per_group; in show_stats() 659 need = int_log10(group_block) + 2; in show_stats() [all …]
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 300 blk_t blk, group_block; in adjust_fs_info() local 480 group_block = fs->super->s_first_data_block + in adjust_fs_info() 517 ext2fs_block_alloc_stats(fs, group_block, +1); in adjust_fs_info() 528 group_block + 1 + j, +1); in adjust_fs_info() 538 group_block + has_super, +1); in adjust_fs_info() 556 group_block += fs->super->s_blocks_per_group; in adjust_fs_info() 573 blk_t group_block; in adjust_superblock() local 629 group_block = fs->super->s_first_data_block + in adjust_superblock() 658 group_block += fs->super->s_blocks_per_group; in adjust_superblock()
|