Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dcopy-before-write.c333 int64_t aligned_bytes; in cbw_co_pdiscard_snapshot() local
338 aligned_bytes = aligned_end - aligned_offset; in cbw_co_pdiscard_snapshot()
342 aligned_bytes); in cbw_co_pdiscard_snapshot()
345 block_copy_reset(s->bcs, aligned_offset, aligned_bytes); in cbw_co_pdiscard_snapshot()
347 return bdrv_co_pdiscard(s->target, aligned_offset, aligned_bytes); in cbw_co_pdiscard_snapshot()
H A Dio.c2187 int64_t aligned_bytes = bytes & ~(align - 1); in bdrv_co_do_zero_pwritev() local
2188 ret = bdrv_aligned_pwritev(child, req, offset, aligned_bytes, align, in bdrv_co_do_zero_pwritev()
2193 bytes -= aligned_bytes; in bdrv_co_do_zero_pwritev()
2194 offset += aligned_bytes; in bdrv_co_do_zero_pwritev()
2395 int64_t aligned_offset, aligned_bytes; in bdrv_co_do_block_status() local
2444 aligned_bytes = ROUND_UP(offset + bytes, align) - aligned_offset; in bdrv_co_do_block_status()
2476 aligned_bytes, pnum, &local_map, in bdrv_co_do_block_status()
2516 *pnum = aligned_bytes; in bdrv_co_do_block_status()