Lines Matching refs:async

119 static int qxl_destroy_primary(PCIQXLDevice *d, qxl_async_io async);
150 qxl_async_io async, struct QXLCookie *cookie) in qxl_spice_update_area() argument
156 if (async == QXL_SYNC) { in qxl_spice_update_area()
177 qxl_async_io async) in qxl_spice_destroy_surface_wait() argument
181 trace_qxl_spice_destroy_surface_wait(qxl->id, id, async); in qxl_spice_destroy_surface_wait()
182 if (async) { in qxl_spice_destroy_surface_wait()
231 static void qxl_spice_destroy_surfaces(PCIQXLDevice *qxl, qxl_async_io async) in qxl_spice_destroy_surfaces() argument
233 trace_qxl_spice_destroy_surfaces(qxl->id, async); in qxl_spice_destroy_surfaces()
234 if (async) { in qxl_spice_destroy_surfaces()
1295 qxl_async_io async) in qxl_add_memslot() argument
1376 qemu_spice_add_memslot(&d->ssd, &memslot, async); in qxl_add_memslot()
1490 qxl_async_io async) in qxl_create_guest_primary() argument
1540 qemu_spice_create_primary_surface(&qxl->ssd, 0, &surface, async); in qxl_create_guest_primary()
1542 if (async == QXL_SYNC) { in qxl_create_guest_primary()
1549 static int qxl_destroy_primary(PCIQXLDevice *d, qxl_async_io async) in qxl_destroy_primary() argument
1556 qemu_spice_destroy_primary_surface(&d->ssd, 0, async); in qxl_destroy_primary()
1617 qxl_async_io async = QXL_SYNC; local
1680 async = QXL_ASYNC;
1695 val, size, async);
1720 if (async == QXL_ASYNC) {
1727 NULL, 0, 0, async, cookie);
1786 qxl_add_memslot(d, val, 0, async);
1798 async);
1802 qxl_create_guest_primary(d, 0, async);
1807 async);
1810 if (!qxl_destroy_primary(d, async)) {
1819 "%" PRIu64 " >= NUM_SURFACES", async, val);
1822 qxl_spice_destroy_surface_wait(d, val, async);
1839 qxl_spice_destroy_surfaces(d, async);
1849 if (async) {