Searched refs:aligned_offset (Results 1 – 4 of 4) sorted by relevance
| /openbmc/qemu/include/qemu/ |
| H 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()
|
| /openbmc/qemu/block/ |
| H 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()
|
| H A D | io.c | 2172 int64_t aligned_offset = offset & ~(align - 1); in bdrv_co_do_zero_pwritev() 2176 ret = bdrv_aligned_pwritev(child, req, aligned_offset, write_bytes, in bdrv_co_do_zero_pwritev() 2397 int64_t aligned_offset, aligned_bytes; in bdrv_co_do_block_status() 2445 aligned_offset = QEMU_ALIGN_DOWN(offset, align); in bdrv_co_do_block_status() 2446 aligned_bytes = ROUND_UP(offset + bytes, align) - aligned_offset; in bdrv_co_do_block_status() 2471 bdrv_bsc_is_data(bs, aligned_offset, pnum)) in bdrv_co_do_block_status() 2475 local_map = aligned_offset; in bdrv_co_do_block_status() 2477 ret = bs->drv->bdrv_co_block_status(bs, mode, aligned_offset, in bdrv_co_do_block_status() 2499 * have passed (aligned_offset), and local_bs must be the node in bdrv_co_do_block_status() 2503 * `local_map = aligned_offset` assignment in bdrv_co_do_block_status() 2175 int64_t aligned_offset = offset & ~(align - 1); bdrv_co_do_zero_pwritev() local 2400 int64_t aligned_offset, aligned_bytes; bdrv_co_do_block_status() local [all...] |
| /openbmc/u-boot/tools/binman/ |
| H A D | entry.py | 293 aligned_offset = tools.Align(new_offset, self.align_end) 294 if aligned_offset != new_offset: 295 size = aligned_offset - self.offset 296 new_offset = aligned_offset
|