Searched refs:aligned_offset (Results 1 – 3 of 3) sorted by relevance
247 long aligned_offset = QEMU_ALIGN_DOWN(offset, BITS_PER_LONG); in bitmap_count_one_with_offset() local248 long redundant_bits = offset - aligned_offset; in bitmap_count_one_with_offset()251 aligned_offset / BITS_PER_LONG; in bitmap_count_one_with_offset()
331 int64_t aligned_offset = QEMU_ALIGN_UP(offset, cluster_size); in cbw_co_pdiscard_snapshot() local335 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()
293 aligned_offset = tools.Align(new_offset, self.align_end)294 if aligned_offset != new_offset:295 size = aligned_offset - self.offset296 new_offset = aligned_offset