Home
last modified time | relevance | path

Searched refs:bitmap_offset (Results 1 – 7 of 7) sorted by relevance

/qemu/hw/ppc/
H A Dspapr_ovec.c136 long bitmap_offset) in guest_byte_to_bitmap() argument
142 bitmap_set(bitmap, bitmap_offset + i, 1); in guest_byte_to_bitmap()
147 static uint8_t guest_byte_from_bitmap(unsigned long *bitmap, long bitmap_offset) in guest_byte_from_bitmap() argument
153 if (test_bit(bitmap_offset + i, bitmap)) { in guest_byte_from_bitmap()
/qemu/block/
H A Dbochs.c217 uint64_t extent_index, extent_offset, bitmap_offset; in seek_to_sector() local
229 bitmap_offset = s->data_offset + in seek_to_sector()
234 ret = bdrv_co_pread(bs->file, bitmap_offset + (extent_offset / 8), 1, in seek_to_sector()
244 return bitmap_offset + (512 * (s->bitmap_blocks + extent_offset)); in seek_to_sector()
H A Dvpc.c495 uint64_t bitmap_offset, block_offset; in get_image_offset() local
506 bitmap_offset = 512 * (uint64_t) s->pagetable[pagetable_index]; in get_image_offset()
507 block_offset = bitmap_offset + s->bitmap_size + offset_in_block; in get_image_offset()
514 if (write && (s->last_bitmap_offset != bitmap_offset)) { in get_image_offset()
518 s->last_bitmap_offset = bitmap_offset; in get_image_offset()
520 r = bdrv_co_pwrite_sync(bs->file, bitmap_offset, s->bitmap_size, bitmap, 0); in get_image_offset()
H A Dmirror.c1344 int64_t bitmap_offset, bitmap_end; in do_sync_target_write() local
1391 bitmap_offset = QEMU_ALIGN_UP(offset, job->granularity); in do_sync_target_write()
1393 if (bitmap_offset < bitmap_end) { in do_sync_target_write()
1394 bdrv_reset_dirty_bitmap(job->dirty_bitmap, bitmap_offset, in do_sync_target_write()
1395 bitmap_end - bitmap_offset); in do_sync_target_write()
1433 bitmap_offset = QEMU_ALIGN_DOWN(offset, job->granularity); in do_sync_target_write()
1435 bdrv_set_dirty_bitmap(job->dirty_bitmap, bitmap_offset, in do_sync_target_write()
1436 bitmap_end - bitmap_offset); in do_sync_target_write()
/qemu/include/exec/
H A Dramblock.h58 off_t bitmap_offset; member
/qemu/hw/display/
H A Dqxl-logger.c174 if (draw->bitmap_offset) { in qxl_log_cmd_draw_compat()
176 draw->bitmap_offset); in qxl_log_cmd_draw_compat()
/qemu/migration/
H A Dram.c2915 uint64_t bitmap_offset; member
2941 block->bitmap_offset = qemu_get_offset(file) + header_size; in mapped_ram_setup_ramblock()
2942 block->pages_offset = ROUND_UP(block->bitmap_offset + in mapped_ram_setup_ramblock()
2948 header->bitmap_offset = cpu_to_be64(block->bitmap_offset); in mapped_ram_setup_ramblock()
2980 header->bitmap_offset = be64_to_cpu(header->bitmap_offset); in mapped_ram_read_header()
3096 block->bitmap_offset); in ram_save_file_bmap()
4000 header.bitmap_offset) != bitmap_size) { in parse_ramblock_mapped_ram()