Lines Matching refs:new_block
792 blk64_t new_block; in clone_file_block() local
817 new_block = cs->alloc_block; in clone_file_block()
840 new_block = 0; in clone_file_block()
843 blockcnt, &new_block); in clone_file_block()
844 if (retval == 0 && new_block != 0 && in clone_file_block()
845 EXT2FS_B2C(ctx->fs, new_block) != in clone_file_block()
849 &new_block); in clone_file_block()
859 ext2fs_block_alloc_stats2(fs, new_block, +1); in clone_file_block()
862 cs->alloc_block = new_block; in clone_file_block()
865 new_block &= ~EXT2FS_CLUSTER_MASK(fs); in clone_file_block()
866 new_block += EXT2FS_CLUSTER_MASK(fs) & blockcnt; in clone_file_block()
869 cs->dir, new_block, blockcnt); in clone_file_block()
877 blockcnt, *block_nr, new_block); in clone_file_block()
885 retval = io_channel_write_blk64(fs->io, new_block, 1, cs->buf); in clone_file_block()
893 *block_nr = new_block; in clone_file_block()
894 ext2fs_mark_block_bitmap2(ctx->block_found_map, new_block); in clone_file_block()
895 ext2fs_mark_block_bitmap2(fs->block_map, new_block); in clone_file_block()