Searched refs:new_blk (Results 1 – 6 of 6) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | alloc_tables.c | 34 blk_t group_blk, start_blk, last_blk, new_blk, blk; in ext2fs_allocate_group_table() local 61 1, bmap, &new_blk); in ext2fs_allocate_group_table() 64 last_blk, 1, bmap, &new_blk); in ext2fs_allocate_group_table() 67 ext2fs_mark_block_bitmap(bmap, new_blk); in ext2fs_allocate_group_table() 68 fs->group_desc[group].bg_block_bitmap = new_blk; in ext2fs_allocate_group_table() 73 1, bmap, &new_blk); in ext2fs_allocate_group_table() 76 last_blk, 1, bmap, &new_blk); in ext2fs_allocate_group_table() 79 ext2fs_mark_block_bitmap(bmap, new_blk); in ext2fs_allocate_group_table() 80 fs->group_desc[group].bg_inode_bitmap = new_blk; in ext2fs_allocate_group_table() 89 bmap, &new_blk); in ext2fs_allocate_group_table() [all …]
|
D | expanddir.c | 35 blk_t new_blk; in expand_dir_proc() local 44 retval = ext2fs_new_block(fs, last_blk, 0, &new_blk); in expand_dir_proc() 56 retval = ext2fs_write_dir_block(fs, new_blk, block); in expand_dir_proc() 64 retval = io_channel_write_blk(fs->io, new_blk, 1, block); in expand_dir_proc() 71 *blocknr = new_blk; in expand_dir_proc() 72 ext2fs_block_alloc_stats(fs, new_blk, +1); in expand_dir_proc()
|
D | mkjournal.c | 155 blk_t new_blk; in mkjournal_proc() local 163 retval = ext2fs_new_block(fs, last_blk, 0, &new_blk); in mkjournal_proc() 172 retval = io_channel_write_blk(fs->io, new_blk, 1, es->buf); in mkjournal_proc() 181 *blocknr = new_blk; in mkjournal_proc() 182 last_blk = new_blk; in mkjournal_proc() 183 ext2fs_block_alloc_stats(fs, new_blk, +1); in mkjournal_proc()
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 862 rfs->new_blk = rfs->new_fs->super->s_first_data_block; in init_block_alloc() 867 rfs->new_blk = rfs->old_fs->super->s_blocks_count; in init_block_alloc() 876 if (rfs->new_blk >= fs->super->s_blocks_count) { in get_new_block() 886 rfs->new_blk = fs->super->s_first_data_block; in get_new_block() 889 if (ext2fs_test_block_bitmap(fs->block_map, rfs->new_blk) || in get_new_block() 891 rfs->new_blk) || in get_new_block() 893 (rfs->new_blk < rfs->old_fs->super->s_blocks_count) && in get_new_block() 895 rfs->new_blk))) { in get_new_block() 896 rfs->new_blk++; in get_new_block() 899 return rfs->new_blk; in get_new_block() [all …]
|
D | resize2fs.h | 102 blk_t new_blk; member
|
/external/e2fsprogs/e2fsck/ |
D | pass3.c | 707 blk_t new_blk; in expand_dir_proc() local 725 &new_blk); in expand_dir_proc() 737 retval = ext2fs_write_dir_block(fs, new_blk, block); in expand_dir_proc() 745 retval = io_channel_write_blk(fs->io, new_blk, 1, block); in expand_dir_proc() 752 *blocknr = new_blk; in expand_dir_proc() 753 ext2fs_mark_block_bitmap(ctx->block_found_map, new_blk); in expand_dir_proc() 754 ext2fs_block_alloc_stats(fs, new_blk, +1); in expand_dir_proc()
|