Lines Matching refs:aligned_offset
2168 int64_t aligned_offset = offset & ~(align - 1); in bdrv_co_do_zero_pwritev() local
2172 ret = bdrv_aligned_pwritev(child, req, aligned_offset, write_bytes, in bdrv_co_do_zero_pwritev()
2395 int64_t aligned_offset, aligned_bytes; in bdrv_co_do_block_status() local
2443 aligned_offset = QEMU_ALIGN_DOWN(offset, align); in bdrv_co_do_block_status()
2444 aligned_bytes = ROUND_UP(offset + bytes, align) - aligned_offset; in bdrv_co_do_block_status()
2469 bdrv_bsc_is_data(bs, aligned_offset, pnum)) in bdrv_co_do_block_status()
2473 local_map = aligned_offset; in bdrv_co_do_block_status()
2475 ret = bs->drv->bdrv_co_block_status(bs, want_zero, aligned_offset, in bdrv_co_do_block_status()
2506 assert(local_map == aligned_offset); in bdrv_co_do_block_status()
2507 bdrv_bsc_fill(bs, aligned_offset, *pnum); in bdrv_co_do_block_status()
2517 local_map = aligned_offset; in bdrv_co_do_block_status()
2530 align > offset - aligned_offset); in bdrv_co_do_block_status()
2537 *pnum -= offset - aligned_offset; in bdrv_co_do_block_status()
2542 local_map += offset - aligned_offset; in bdrv_co_do_block_status()