• Home
  • Raw
  • Download

Lines Matching refs:new_blk

1591 	rfs->new_blk = rfs->new_fs->super->s_first_data_block;  in init_block_alloc()
1596 rfs->new_blk = ext2fs_blocks_count(rfs->old_fs->super); in init_block_alloc()
1605 if (rfs->new_blk >= ext2fs_blocks_count(fs->super)) { in get_new_block()
1615 rfs->new_blk = fs->super->s_first_data_block; in get_new_block()
1618 if (ext2fs_test_block_bitmap2(fs->block_map, rfs->new_blk) || in get_new_block()
1620 rfs->new_blk) || in get_new_block()
1622 (rfs->new_blk < ext2fs_blocks_count(rfs->old_fs->super)) && in get_new_block()
1624 rfs->new_blk))) { in get_new_block()
1625 rfs->new_blk++; in get_new_block()
1628 return rfs->new_blk; in get_new_block()
1663 blk64_t blk, old_blk, new_blk; in block_mover() local
1679 new_blk = fs->super->s_first_data_block; in block_mover()
1710 new_blk = get_new_block(rfs); in block_mover()
1711 if (!new_blk) { in block_mover()
1715 ext2fs_block_alloc_stats2(fs, new_blk, +1); in block_mover()
1716 ext2fs_add_extent_entry(rfs->bmap, B2C(blk), B2C(new_blk)); in block_mover()
1742 retval = ext2fs_iterate_extent(rfs->bmap, &old_blk, &new_blk, &size); in block_mover()
1747 new_blk = C2B(new_blk); in block_mover()
1752 size, old_blk, new_blk); in block_mover()
1761 retval = io_channel_write_blk64(fs->io, new_blk, c, in block_mover()
1765 new_blk += c; in block_mover()
2457 blk64_t old_blk, new_blk, blk, cluster_freed; in move_itables() local
2510 new_blk = ext2fs_inode_table_loc(fs, i); in move_itables()
2511 diff = new_blk - old_blk; in move_itables()
2516 i, old_blk, new_blk, diff); in move_itables()
2548 retval = io_channel_write_blk64(fs->io, new_blk, in move_itables()
2580 ext2fs_inode_table_loc_set(rfs->old_fs, i, new_blk); in move_itables()