Home
last modified time | relevance | path

Searched refs:align_bytes (Results 1 – 2 of 2) 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()
H A Dio.c738 int64_t *align_offset, int64_t *align_bytes)
744 *align_bytes = bytes; in bdrv_round_to_subclusters()
748 *align_bytes = QEMU_ALIGN_UP(offset - *align_offset + bytes, c); in bdrv_round_to_subclusters()
1179 int64_t align_bytes; in bdrv_co_do_copy_on_readv()
1213 bdrv_round_to_subclusters(bs, offset, bytes, &align_offset, &align_bytes); in bdrv_co_do_copy_on_readv()
1217 align_offset, align_bytes); in bdrv_co_do_copy_on_readv()
1219 while (align_bytes) { in bdrv_co_do_copy_on_readv()
1224 pnum = MIN(align_bytes, max_transfer); in bdrv_co_do_copy_on_readv()
1227 MIN(align_bytes, max_transfer), &pnum); in bdrv_co_do_copy_on_readv()
1234 pnum = MIN(align_bytes, max_transfe in bdrv_co_do_copy_on_readv()
741 bdrv_round_to_subclusters(BlockDriverState * bs,int64_t offset,int64_t bytes,int64_t * align_offset,int64_t * align_bytes) bdrv_round_to_subclusters() argument
1182 int64_t align_bytes; bdrv_co_do_copy_on_readv() local
[all...]