Searched refs:aligned_offset (Results 1 – 3 of 3) sorted by relevance
| /qemu/block/ |
| A D | copy-before-write.c | 331 int64_t aligned_offset = QEMU_ALIGN_UP(offset, cluster_size); in cbw_co_pdiscard_snapshot() local 335 if (aligned_end <= aligned_offset) { in cbw_co_pdiscard_snapshot() 338 aligned_bytes = aligned_end - aligned_offset; in cbw_co_pdiscard_snapshot() 341 bdrv_reset_dirty_bitmap(s->access_bitmap, aligned_offset, 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()
|
| A D | io.c | 2168 int64_t aligned_offset = offset & ~(align - 1); in bdrv_co_do_zero_pwritev() local 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() 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() 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() [all …]
|
| /qemu/include/qemu/ |
| A D | bitmap.h | 247 long aligned_offset = QEMU_ALIGN_DOWN(offset, BITS_PER_LONG); in bitmap_count_one_with_offset() local 248 long redundant_bits = offset - aligned_offset; in bitmap_count_one_with_offset() 251 aligned_offset / BITS_PER_LONG; in bitmap_count_one_with_offset()
|
Completed in 15 milliseconds