Home
last modified time | relevance | path

Searched refs:bmap (Results 1 – 16 of 16) sorted by relevance

/qemu/tests/unit/
H A Dtest-bitmap.c64 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 Dvdi.c179 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 D300526 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 Dram.c716 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 Dinput-legacy.c152 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 Dspice-input.c119 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 Dui-hmp-cmds.c57 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 Dvdagent.c240 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 Dsdl2.c308 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 Dvnc.c1793 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 Dramblock.h47 unsigned long *bmap; member
H A Dram_addr.h485 unsigned long *dest = rb->bmap; in cpu_physical_memory_sync_dirty_bitmap()
/qemu/hw/input/
H A Dhid.c113 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 Dps2.c792 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 Dblockdev.c2623 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 Dqdict.txt1910 bmap.c: 17082
1911 bmap.h: 8896