/qemu/tests/unit/ |
H A D | test-bitmap.c | 64 unsigned long *bmap; in bitmap_set_case() local 67 bmap = bitmap_new(BMAP_SIZE); in bitmap_set_case() 71 bitmap_clear(bmap, 0, BMAP_SIZE); in bitmap_set_case() 83 g_assert_cmpuint(bmap[1], ==, -1ul); in bitmap_set_case() 84 g_assert_cmpuint(bmap[2], ==, -1ul); in bitmap_set_case() 90 bitmap_clear(bmap, 0, BMAP_SIZE); in bitmap_set_case() 93 g_assert_cmpuint(bmap[1], ==, -1ul); in bitmap_set_case() 94 g_assert_cmpuint(bmap[2], ==, -1ul); in bitmap_set_case() 104 bitmap_clear(bmap, 0, BMAP_SIZE); in bitmap_set_case() 107 g_assert_cmpuint(bmap[1], ==, -1ul); in bitmap_set_case() [all …]
|
/qemu/block/ |
H A D | vdi.c | 179 uint32_t *bmap; member 283 uint32_t *bmap; in vdi_co_check() local 325 g_free(bmap); in vdi_co_check() 485 if (s->bmap == NULL) { in vdi_open() 491 s->bmap, 0); in vdi_open() 511 qemu_vfree(s->bmap); in vdi_open() 753 uint32_t *bmap = NULL; in vdi_co_do_create() local 860 if (bmap == NULL) { in vdi_co_do_create() 867 bmap[i] = i; in vdi_co_do_create() 893 g_free(bmap); in vdi_co_do_create() [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 300 | 526 for (node, bmap) in bmaps_to_add: 528 node=node, name=bmap) 568 bitmaps[node] = sorted((bmap['name'] for bmap in bitmaps[node])) 619 for (node, bmap) in bmaps_to_add: 621 node=node, name=bmap) 664 bitmaps[node] = sorted(((bmap['name'], bmap['persistent']) 665 for bmap in bitmaps[node]))
|
/qemu/migration/ |
H A D | ram.c | 716 unsigned long *bitmap = rb->bmap; in pss_find_next_dirty() 797 unsigned long *bitmap = rb->bmap; in colo_bitmap_find_dirty() 832 ret = test_and_clear_bit(page, rb->bmap); in migration_bitmap_clear_dirty() 859 bitmap_clear(rb->bmap, start, npages); in dirty_bitmap_clear_section() 2361 g_free(block->bmap); in ram_bitmaps_destroy() 2362 block->bmap = NULL; in ram_bitmaps_destroy() 2445 unsigned long *bitmap = block->bmap; in postcopy_send_discard_bm_ram() 2521 unsigned long *bitmap = block->bmap; in postcopy_chunk_hostpages_pass() 3601 g_free(block->bmap); in colo_release_ram_cache() 3602 block->bmap = NULL; in colo_release_ram_cache() [all …]
|
/qemu/ui/ |
H A D | input-legacy.c | 152 static const int bmap[INPUT_BUTTON__MAX] = { in legacy_mouse_event() local 165 s->buttons |= bmap[btn->button]; in legacy_mouse_event() 167 s->buttons &= ~bmap[btn->button]; in legacy_mouse_event()
|
H A D | spice-input.c | 119 static uint32_t bmap[INPUT_BUTTON__MAX] = { in spice_update_buttons() local 139 qemu_input_update_buttons(NULL, bmap, pointer->last_bmask, button_mask); in spice_update_buttons()
|
H A D | ui-hmp-cmds.c | 57 static uint32_t bmap[INPUT_BUTTON__MAX] = { in hmp_mouse_button() local 67 qemu_input_update_buttons(NULL, bmap, mouse_button_state, button_state); in hmp_mouse_button()
|
H A D | vdagent.c | 240 static const int bmap[INPUT_BUTTON__MAX] = { in vdagent_pointer_event() local 279 vd->mouse_btn |= bmap[btn->button]; in vdagent_pointer_event() 281 vd->mouse_btn &= ~bmap[btn->button]; in vdagent_pointer_event()
|
H A D | sdl2.c | 308 static uint32_t bmap[INPUT_BUTTON__MAX] = { in sdl_send_mouse_event() local 318 qemu_input_update_buttons(scon->dcl.con, bmap, prev_state, state); in sdl_send_mouse_event()
|
H A D | vnc.c | 1793 static uint32_t bmap[INPUT_BUTTON__MAX] = { in pointer_event() local 1805 qemu_input_update_buttons(con, bmap, vs->last_bmask, button_mask); in pointer_event()
|
/qemu/include/exec/ |
H A D | ramblock.h | 47 unsigned long *bmap; member
|
H A D | ram_addr.h | 485 unsigned long *dest = rb->bmap; in cpu_physical_memory_sync_dirty_bitmap()
|
/qemu/hw/input/ |
H A D | hid.c | 113 static const int bmap[INPUT_BUTTON__MAX] = { in hid_pointer_event() local 150 e->buttons_state |= bmap[btn->button]; in hid_pointer_event() 157 e->buttons_state &= ~bmap[btn->button]; in hid_pointer_event()
|
H A D | ps2.c | 792 static const int bmap[INPUT_BUTTON__MAX] = { in ps2_mouse_event() local 821 s->mouse_buttons |= bmap[btn->button]; in ps2_mouse_event() 834 s->mouse_buttons &= ~bmap[btn->button]; in ps2_mouse_event()
|
/qemu/ |
H A D | blockdev.c | 2623 BdrvDirtyBitmap *bmap = NULL; in do_backup_common() local 2683 bmap = bdrv_find_dirty_bitmap(bs, backup->bitmap); in do_backup_common() 2684 if (!bmap) { in do_backup_common() 2693 if (bdrv_dirty_bitmap_check(bmap, BDRV_BITMAP_ALLOW_RO, errp)) { in do_backup_common() 2728 backup->sync, bmap, backup->bitmap_mode, in do_backup_common()
|
/qemu/tests/data/qobject/ |
H A D | qdict.txt | 1910 bmap.c: 17082 1911 bmap.h: 8896
|