Home
last modified time | relevance | path

Searched refs:async (Results 1 – 25 of 47) sorted by relevance

12

/qemu/hw/usb/
A Dhcd-uhci.c143 UHCIAsync *async; in uhci_queue_free() local
189 trace_usb_uhci_packet_add(async->queue->token, async->td_addr); in uhci_async_alloc()
191 return async; in uhci_async_alloc()
196 trace_usb_uhci_packet_del(async->queue->token, async->td_addr); in uhci_async_free()
198 if (async->buf != async->static_buf) { in uhci_async_free()
201 g_free(async); in uhci_async_free()
221 trace_usb_uhci_packet_cancel(async->queue->token, async->td_addr, in uhci_async_cancel()
730 if (async) { in uhci_handle_td()
781 if (async) { in uhci_handle_td()
829 async->buf = async->static_buf; in uhci_handle_td()
[all …]
A Dhcd-ehci.c261 if (async) { in ehci_set_state()
289 if (async) { in ehci_set_fetch_addr()
555 q->async = async; in ehci_alloc_queue()
1335 if (q->async) { in ehci_execute_complete()
1527 if (async) { in ehci_state_waitlisthead()
1542 if (async) { in ehci_state_waitlisthead()
1709 assert(!async); in ehci_state_fetchitd()
1735 assert(!async); in ehci_state_fetchsitd()
1948 if (q->async) { in ehci_state_execute()
1961 if (q->async) { in ehci_state_execute()
[all …]
A Dhcd-ehci.h229 enum async_state async; member
237 int async; member
A Dhcd-dwc2.c286 p->async = DWC2_ASYNC_NONE; in dwc2_handle_packet()
309 assert(p->async != DWC2_ASYNC_INFLIGHT); in dwc2_handle_packet()
318 p->async = DWC2_ASYNC_INFLIGHT; in dwc2_handle_packet()
513 assert(p->async == DWC2_ASYNC_INFLIGHT); in dwc2_async_packet_complete()
523 p->async = DWC2_ASYNC_FINISHED; in dwc2_async_packet_complete()
1408 VMSTATE_INT32(async, DWC2Packet),
A Dhcd-dwc2.h55 int32_t async; member
/qemu/python/tests/
A Dprotocol.py52 async def _do_accept(self):
120 async def _runner():
218 async def _asyncSetUp(self):
265 async def _watcher():
322 async def testBadINET(self):
329 async def testBadUNIX(self):
357 async def testTimeout(self):
377 async def testRequire(self):
445 async def _asyncSetUp(self):
501 async def _prod_session_api(
[all …]
/qemu/python/qemu/qmp/
A Dprotocol.py272 async def start_server_and_accept(
331 async def accept(self) -> None:
388 async def disconnect(self) -> None:
488 async def _stop_server(self) -> None:
503 async def _incoming(self,
586 async def _do_accept(self) -> None:
753 async def _bh_disconnect(self) -> None:
954 async def _readline(self) -> bytes:
983 async def _do_recv(self) -> T:
993 async def _recv(self) -> T:
[all …]
A Dqmp_client.py235 async def _establish_session(self) -> None:
259 async def _get_greeting(self) -> Greeting:
285 async def _negotiate(self) -> None:
321 async def _bh_disconnect(self) -> None:
342 async def _on_message(self, msg: Message) -> None:
392 async def _do_recv(self) -> Message:
424 async def _issue(self, msg: Message) -> Union[None, str]:
447 async def _reply(self, msg_id: Union[str, None]) -> Message:
500 async def _raw(
551 async def execute_msg(self, msg: Message) -> object:
[all …]
A Devents.py531 async def put(self, event: Message) -> None:
551 async def get(self) -> Message:
592 async def __anext__(self) -> Message:
628 async def _event_dispatch(self, msg: Message) -> None:
A Dqmp_tui.py196 async def _send_to_server(self, msg: Message) -> None:
251 async def _kill_app(self) -> None:
263 async def disconnect(self) -> None:
300 async def _initiate_connection(self) -> Optional[ConnectError]:
328 async def manage_connection(self) -> None:
356 async def connect_server(self) -> Optional[ConnectError]:
A Dutil.py33 async def flush(writer: asyncio.StreamWriter) -> None:
123 async def wait_closed(writer: asyncio.StreamWriter) -> None:
/qemu/tests/unit/
A Dtest-io-channel-command.c35 static void test_io_channel_command_fifo(bool async) in test_io_channel_command_fifo() argument
59 qio_channel_test_run_threads(test, async, src, dst); in test_io_channel_command_fifo()
93 static void test_io_channel_command_echo(bool async) in test_io_channel_command_echo() argument
110 qio_channel_test_run_threads(test, async, ioc, ioc); in test_io_channel_command_echo()
A Dtest-io-channel-socket.c171 static void test_io_channel(bool async, in test_io_channel() argument
178 if (async) { in test_io_channel()
306 static void test_io_channel_ipv4(bool async) in test_io_channel_ipv4() argument
323 test_io_channel(async, listen_addr, connect_addr, false); in test_io_channel_ipv4()
342 static void test_io_channel_ipv6(bool async) in test_io_channel_ipv6() argument
359 test_io_channel(async, listen_addr, connect_addr, false); in test_io_channel_ipv6()
378 static void test_io_channel_unix(bool async) in test_io_channel_unix() argument
390 test_io_channel(async, listen_addr, connect_addr, true); in test_io_channel_unix()
A Dtest-io-channel-file.c106 static void test_io_channel_pipe(bool async) in test_io_channel_pipe() argument
121 qio_channel_test_run_threads(test, async, src, dst); in test_io_channel_pipe()
/qemu/include/ui/
A Dspice-display.h172 qxl_async_io async);
177 qxl_async_io async);
179 uint32_t id, qxl_async_io async);
/qemu/hw/display/
A Dqxl.c156 if (async == QXL_SYNC) { in qxl_spice_update_area()
182 if (async) { in qxl_spice_destroy_surface_wait()
234 if (async) { in qxl_spice_destroy_surfaces()
1542 if (async == QXL_SYNC) { in qxl_create_guest_primary()
1617 qxl_async_io async = QXL_SYNC; local
1680 async = QXL_ASYNC;
1695 val, size, async);
1720 if (async == QXL_ASYNC) {
1798 async);
1807 async);
[all …]
A Dtrace-events80 …har *aname, uint64_t val, unsigned size, int async) "%d %s addr=%"PRIu64 " (%s) val=%"PRIu64" size…
98 qxl_spice_destroy_surfaces(int qid, int async) "%d async=%d"
100 qxl_spice_destroy_surface_wait(int qid, uint32_t id, int async) "%d sid=%d async=%d"
A Dqxl.h176 qxl_async_io async, QXLCookie *cookie);
/qemu/target/riscv/
A Dtrace-events2 …cv_trap(uint64_t hartid, bool async, uint64_t cause, uint64_t epc, uint64_t tval, const char *desc…
A Dcpu_helper.c1802 bool async = !!(cs->exception_index & RISCV_EXCP_INT_FLAG); in riscv_cpu_do_interrupt() local
1804 uint64_t deleg = async ? env->mideleg : env->medeleg; in riscv_cpu_do_interrupt()
1816 if (!async) { in riscv_cpu_do_interrupt()
1899 trace_riscv_trap(env->mhartid, async, cause, env->pc, tval, in riscv_cpu_do_interrupt()
1900 riscv_cpu_get_trap_name(cause, async)); in riscv_cpu_do_interrupt()
1906 riscv_cpu_get_trap_name(cause, async)); in riscv_cpu_do_interrupt()
1917 uint64_t hdeleg = async ? env->hideleg : env->hedeleg; in riscv_cpu_do_interrupt()
1955 env->scause = cause | ((target_ulong)async << (sxlen - 1)); in riscv_cpu_do_interrupt()
1961 ((async && (env->stvec & 3) == 1) ? cause * 4 : 0); in riscv_cpu_do_interrupt()
1992 env->mcause = cause | ((target_ulong)async << (mxlen - 1)); in riscv_cpu_do_interrupt()
[all …]
/qemu/util/
A Doslib-posix.c437 int max_threads, ThreadContext *tc, bool async, in touch_all_pages() argument
452 async = false; in touch_all_pages()
469 if (context->num_threads == 1 && !async) { in touch_all_pages()
504 if (async) { in touch_all_pages()
572 ThreadContext *tc, bool async, Error **errp) in qemu_prealloc_mem() argument
614 ret = touch_all_pages(area, hpagesize, numpages, max_threads, tc, async, in qemu_prealloc_mem()
/qemu/ui/
A Dspice-display.c66 qxl_async_io async) in qemu_spice_add_memslot() argument
70 async); in qemu_spice_add_memslot()
72 if (async != QXL_SYNC) { in qemu_spice_add_memslot()
89 qxl_async_io async) in qemu_spice_create_primary_surface() argument
91 trace_qemu_spice_create_primary_surface(ssd->qxl.id, id, surface, async); in qemu_spice_create_primary_surface()
92 if (async != QXL_SYNC) { in qemu_spice_create_primary_surface()
102 uint32_t id, qxl_async_io async) in qemu_spice_destroy_primary_surface() argument
104 trace_qemu_spice_destroy_primary_surface(ssd->qxl.id, id, async); in qemu_spice_destroy_primary_surface()
105 if (async != QXL_SYNC) { in qemu_spice_destroy_primary_surface()
A Dtrace-events101 …unsigned long virt_start, unsigned long virt_end, int async) "%d %u: host virt 0x%lx - 0x%lx async
103 …te_primary_surface(int qid, uint32_t sid, void *surface, int async) "%d sid=%u surface=%p async=%d"
104 qemu_spice_destroy_primary_surface(int qid, uint32_t sid, int async) "%d sid=%u async=%d"
/qemu/io/
A Dtrace-events20 qio_channel_socket_connect_async(void *ioc, void *addr) "Socket connect async ioc=%p addr=%p"
24 qio_channel_socket_listen_async(void *ioc, void *addr, int num) "Socket listen async ioc=%p addr=%p…
28 qio_channel_socket_dgram_async(void *ioc, void *localAddr, void *remoteAddr) "Socket dgram async io…
/qemu/system/
A Dmeson.build38 system_ss.add(files('async-teardown.c'))

Completed in 121 milliseconds

12