Searched refs:align_bytes (Results 1 – 2 of 2) sorted by relevance
| /openbmc/qemu/block/ |
| H A D | mirror.c | 292 int64_t align_bytes = *bytes; in mirror_cow_align() local 300 &align_offset, &align_bytes); in mirror_cow_align() 303 if (align_bytes > max_bytes) { in mirror_cow_align() 304 align_bytes = max_bytes; in mirror_cow_align() 306 align_bytes = QEMU_ALIGN_DOWN(align_bytes, s->target_cluster_size); in mirror_cow_align() 311 align_bytes = mirror_clip_bytes(s, align_offset, align_bytes); in mirror_cow_align() 313 ret = align_offset + align_bytes - (*offset + *bytes); in mirror_cow_align() 315 *bytes = align_bytes; in mirror_cow_align()
|
| H A D | io.c | 741 int64_t *align_offset, int64_t *align_bytes) in bdrv_round_to_subclusters() argument 747 *align_bytes = bytes; in bdrv_round_to_subclusters() 751 *align_bytes = QEMU_ALIGN_UP(offset - *align_offset + bytes, c); in bdrv_round_to_subclusters() 1182 int64_t align_bytes; in bdrv_co_do_copy_on_readv() local 1216 bdrv_round_to_subclusters(bs, offset, bytes, &align_offset, &align_bytes); in bdrv_co_do_copy_on_readv() 1220 align_offset, align_bytes); in bdrv_co_do_copy_on_readv() 1222 while (align_bytes) { in bdrv_co_do_copy_on_readv() 1227 pnum = MIN(align_bytes, max_transfer); in bdrv_co_do_copy_on_readv() 1230 MIN(align_bytes, max_transfer), &pnum); in bdrv_co_do_copy_on_readv() 1237 pnum = MIN(align_bytes, max_transfer); in bdrv_co_do_copy_on_readv() [all …]
|