Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dcommit.c459 int64_t offset, length, backing_length; in bdrv_commit() local
527 backing_length = blk_getlength(backing); in bdrv_commit()
528 if (backing_length < 0) { in bdrv_commit()
529 ret = backing_length; in bdrv_commit()
536 if (length > backing_length) { in bdrv_commit()
H A Dqcow2.c4179 int64_t backing_length = bdrv_co_getlength(bs->backing->bs); in qcow2_co_copy_range_from() local
4180 if (src_offset >= backing_length) { in qcow2_co_copy_range_from()
4184 cur_bytes = MIN(cur_bytes, backing_length - src_offset); in qcow2_co_copy_range_from()