Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dcopy-before-write.c271 int64_t cur_bytes; in cbw_co_preadv_snapshot() local
273 req = cbw_snapshot_read_lock(bs, offset, bytes, &cur_bytes, &file); in cbw_co_preadv_snapshot()
278 ret = bdrv_co_preadv_part(file, offset, cur_bytes, in cbw_co_preadv_snapshot()
285 bytes -= cur_bytes; in cbw_co_preadv_snapshot()
286 offset += cur_bytes; in cbw_co_preadv_snapshot()
287 qiov_offset += cur_bytes; in cbw_co_preadv_snapshot()
302 int64_t cur_bytes; in cbw_co_snapshot_block_status() local
305 req = cbw_snapshot_read_lock(bs, offset, bytes, &cur_bytes, &child); in cbw_co_snapshot_block_status()
310 ret = bdrv_co_block_status(child->bs, offset, cur_bytes, pnum, map, file); in cbw_co_snapshot_block_status()