Home
last modified time | relevance | path

Searched refs:backing_length (Results 1 – 2 of 2) sorted by relevance

/qemu/block/
H A Dcommit.c513 int64_t offset, length, backing_length; in bdrv_commit() local
581 backing_length = blk_getlength(backing); in bdrv_commit()
582 if (backing_length < 0) { in bdrv_commit()
583 ret = backing_length; in bdrv_commit()
590 if (length > backing_length) { in bdrv_commit()
H A Dqcow2.c4183 int64_t backing_length = bdrv_co_getlength(bs->backing->bs); in qcow2_co_copy_range_from() local
4184 if (src_offset >= backing_length) { in qcow2_co_copy_range_from()
4188 cur_bytes = MIN(cur_bytes, backing_length - src_offset); in qcow2_co_copy_range_from()