Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dmirror.c292 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()