Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dmirror.c606 int64_t io_bytes; in mirror_iteration() local
615 &io_bytes, NULL, NULL); in mirror_iteration()
618 io_bytes = MIN(nb_chunks * s->granularity, max_io_bytes); in mirror_iteration()
620 io_bytes = MIN(io_bytes, max_io_bytes); in mirror_iteration()
623 io_bytes -= io_bytes % s->granularity; in mirror_iteration()
624 if (io_bytes < s->granularity) { in mirror_iteration()
625 io_bytes = s->granularity; in mirror_iteration()
630 bdrv_round_to_subclusters(blk_bs(s->target), offset, io_bytes, in mirror_iteration()
634 target_bytes == io_bytes) { in mirror_iteration()
651 io_bytes = mirror_clip_bytes(s, offset, io_bytes); in mirror_iteration()
[all …]