Home
last modified time | relevance | path

Searched refs:context (Results 26 – 50 of 110) sorted by relevance

12345

/qemu/scripts/qemugdb/
H A Daio.py18 def dump_aiocontext(context, verbose): argument
20 cur = context['aio_handlers']['lh_first']
/qemu/contrib/vhost-user-scsi/
H A Dvhost-user-scsi.c377 GOptionContext *context; in main() local
379 context = g_option_context_new(NULL); in main()
380 g_option_context_add_main_entries(context, entries, NULL); in main()
381 if (!g_option_context_parse(context, &argc, &argv, &error)) { in main()
403 g_print("%s\n", g_option_context_get_help(context, true, NULL)); in main()
/qemu/hw/scsi/
H A Dvmw_pvscsi.h130 uint64_t context; member
299 uint64_t context; member
356 uint64_t context; member
H A Dtrace-events24 mptsas_command_complete(void *dev, uint32_t ctx, uint32_t status, uint32_t resid) "dev %p context 0…
33 mptsas_process_message(void *dev, int msg, uint32_t ctx) "dev %p cmd %d context 0x%08x"
36 mptsas_scsi_overflow(void *dev, uint32_t ctx, uint64_t req, uint64_t found) "dev %p context 0x%08x:…
37 mptsas_sgl_overflow(void *dev, uint32_t ctx, uint64_t req, uint64_t found) "dev %p context 0x%08x: …
38 mptsas_unhandled_cmd(void *dev, uint32_t ctx, uint8_t msg_cmd) "dev %p context 0x%08x: Unhandled cm…
54 …ex, unsigned int count, uint64_t context, uint32_t head, uint32_t tail, unsigned int busy) "frame …
57 megasas_qf_complete_noirq(uint64_t context) "context 0x%" PRIx64 " "
58 megasas_qf_complete(uint64_t context, uint32_t head, uint32_t tail, int busy) "context 0x%" PRIx64 …
106 megasas_abort_no_cmd(int cmd, uint64_t context) "scmd %d: no active command for frame context 0x%" …
107 megasas_abort_invalid_context(int cmd, uint64_t context, int abort_cmd) "scmd %d: invalid frame con…
[all …]
H A Dvmw_pvscsi.c469 trace_pvscsi_complete_request(r->cmp.context, r->cmp.dataLen, in pvscsi_complete_request()
665 pvscsi_req->cmp.context = pvscsi_req->req.context; in pvscsi_queue_pending_descriptor()
685 trace_pvscsi_convert_sglist(r->req.context, r->sg.dataAddr, in pvscsi_convert_sglist()
720 trace_pvscsi_process_req_descr(descr->cdb[0], descr->context); in pvscsi_process_request_descriptor()
733 r->sreq = scsi_req_new(d, descr->context, r->lun, descr->cdb, descr->cdbLen, r); in pvscsi_process_request_descriptor()
846 trace_pvscsi_on_cmd_abort(cmd->context, cmd->target); in pvscsi_on_cmd_abort()
849 if (r->req.context == cmd->context) { in pvscsi_on_cmd_abort()
H A Dmegasas.c64 uint64_t context; member
487 hwaddr frame, uint64_t context, int count) in megasas_enqueue_frame() argument
524 cmd->context = context; in megasas_enqueue_frame()
526 cmd->context &= (uint64_t)0xFFFFFFFF; in megasas_enqueue_frame()
559 context, attrs); in megasas_complete_frame()
563 context, attrs); in megasas_complete_frame()
593 trace_megasas_qf_complete_noirq(context); in megasas_complete_frame()
607 megasas_complete_frame(cmd->state, cmd->context); in megasas_complete_command()
1957 if (abort_cmd->context != abort_ctx) { in megasas_handle_abort()
2027 megasas_complete_frame(s, cmd->context); in megasas_handle_frame()
[all …]
/qemu/linux-user/
H A Dfd-trans.c431 ret = host_to_target_nlattr(nlattr, context); in host_to_target_for_each_nlattr()
483 void *context) in host_to_target_data_bridge_nlattr() argument
637 void *context) in host_to_target_data_tun_nlattr() argument
673 void *context) in host_to_target_data_linkinfo_nlattr() argument
675 struct linkinfo_context *li_context = context; in host_to_target_data_linkinfo_nlattr()
732 void *context) in host_to_target_data_inet_nlattr() argument
753 void *context) in host_to_target_data_inet6_nlattr() argument
805 void *context) in host_to_target_data_spec_nlattr() argument
825 void *context) in host_to_target_data_xdp_nlattr() argument
868 void *context) in host_to_target_data_vf_stats_nlattr() argument
[all …]
/qemu/contrib/vhost-user-blk/
H A Dvhost-user-blk.c602 GOptionContext *context; in main() local
604 context = g_option_context_new(NULL); in main()
605 g_option_context_add_main_entries(context, entries, NULL); in main()
606 if (!g_option_context_parse(context, &argc, &argv, &error)) { in main()
622 g_print("%s\n", g_option_context_get_help(context, true, NULL)); in main()
632 g_print("%s\n", g_option_context_get_help(context, true, NULL)); in main()
660 g_option_context_free(context); in main()
/qemu/hw/i386/
H A Dtrace-events8 vtd_inv_desc_cc_domain(uint16_t domain) "context invalidate domain 0x%"PRIx16
9 vtd_inv_desc_cc_global(void) "context invalidate globally"
10 vtd_inv_desc_cc_device(uint8_t bus, uint8_t dev, uint8_t fn) "context invalidate device %02"PRIx8":…
11 vtd_inv_desc_cc_devices(uint16_t sid, uint16_t fmask) "context invalidate devices sid 0x%"PRIx16" f…
31 …_t bus, uint8_t devfn, uint64_t high, uint64_t low, uint32_t gen) "IOTLB context hit bus 0x%"PRIx8…
32 …devfn, uint64_t high, uint64_t low, uint32_t gen1, uint32_t gen2) "IOTLB context update bus 0x%"PR…
34 vtd_fault_disabled(void) "Fault processing disabled for context entry"
35 …uint8_t fn, uint16_t domain, uint64_t hi, uint64_t lo) "%s: replay valid context device %02"PRIx8"…
36 vtd_replay_ce_invalid(uint8_t bus, uint8_t dev, uint8_t fn) "replay invalid context device %02"PRIx…
/qemu/hw/net/
H A Dnet_tx_pkt.c451 NetTxPktFreeFrag callback, void *context) in net_tx_pkt_reset() argument
471 callback(context, pkt->raw[i].iov_base, pkt->raw[i].iov_len); in net_tx_pkt_reset()
480 void net_tx_pkt_unmap_frag_pci(void *context, void *base, size_t len) in net_tx_pkt_unmap_frag_pci() argument
482 pci_dma_unmap(context, base, len, DMA_DIRECTION_TO_DEVICE, 0); in net_tx_pkt_unmap_frag_pci()
724 void *context) in net_tx_pkt_do_sw_fragmentation() argument
792 callback(context, in net_tx_pkt_do_sw_fragmentation()
820 NetTxPktSend callback, void *context) in net_tx_pkt_send_custom() argument
847 callback(context, pkt->vec + NET_TX_PKT_L2HDR_FRAG, in net_tx_pkt_send_custom()
854 return net_tx_pkt_do_sw_fragmentation(pkt, callback, context); in net_tx_pkt_send_custom()
/qemu/chardev/
H A Dchar-fe.c255 GMainContext *context, in qemu_chr_fe_set_handlers_full() argument
279 qemu_chr_be_update_read_handlers(s, context); in qemu_chr_fe_set_handlers_full()
301 GMainContext *context, in qemu_chr_fe_set_handlers() argument
305 opaque, context, set_open, in qemu_chr_fe_set_handlers()
/qemu/include/chardev/
H A Dchar-fe.h100 GMainContext *context,
115 GMainContext *context,
H A Dchar-io.h37 GMainContext *context);
/qemu/include/hw/hyperv/
H A Dhyperv.h140 typedef uint16_t (*HvSynDbgHandler)(void *context, HvSynDbgMsg *msg);
141 void hyperv_set_syndbg_handler(HvSynDbgHandler handler, void *context);
/qemu/monitor/
H A Dqmp.c504 GMainContext *context; in monitor_qmp_setup_handlers_bh() local
507 context = iothread_get_g_main_context(mon_iothread); in monitor_qmp_setup_handlers_bh()
508 assert(context); in monitor_qmp_setup_handlers_bh()
511 NULL, &mon->common, context, true); in monitor_qmp_setup_handlers_bh()
/qemu/audio/
H A Dpwaudio.c38 struct pw_context *context; member
755 pw->context = in qpw_audio_init()
757 if (pw->context == NULL) { in qpw_audio_init()
769 pw->core = pw_context_connect(pw->context, NULL, 0); in qpw_audio_init()
794 g_clear_pointer(&pw->context, pw_context_destroy); in qpw_audio_init()
814 if (pw->context) { in qpw_audio_fini()
815 pw_context_destroy(pw->context); in qpw_audio_fini()
/qemu/docs/system/i386/
H A Damd-memory-encryption.rst41 ``LAUNCH_START`` is called first to create a cryptographic launch context within
42 the firmware. To create this context, guest owner must provide a guest policy,
73 ``LAUNCH_UPDATE_DATA`` encrypts the memory region using the cryptographic context
79 cryptographic context created via the ``LAUNCH_START`` command. The command also
93 context.
174 ``SNP_LAUNCH_START`` is called first to create a cryptographic launch context
175 within the firmware. To create this context, the guest owner must provide a
194 ``SNP_LAUNCH_UPDATE`` encrypts the memory region using the cryptographic context
/qemu/contrib/vhost-user-input/
H A Dmain.c304 GOptionContext *context; in main() local
306 context = g_option_context_new(NULL); in main()
307 g_option_context_add_main_entries(context, entries, NULL); in main()
308 if (!g_option_context_parse(context, &argc, &argv, &error)) { in main()
/qemu/tests/qtest/
H A Dvhost-user-test.c161 GMainContext *context; member
569 server->context = g_main_context_new(); in test_server_new()
570 server->loop = g_main_loop_new(server->context, FALSE); in test_server_new()
614 chr = qemu_chr_new(server->chr_name, chr_path, server->context); in test_server_create_chr()
619 chr_event, NULL, server, server->context, true); in test_server_create_chr()
664 g_main_context_unref(server->context); in test_server_free()
839 g_source_attach(source, s->context); in test_migrate()
956 g_source_attach(src, s->context); in test_reconnect()
/qemu/io/
H A Dchannel-socket.c202 GMainContext *context) in qio_channel_socket_connect_async() argument
217 context); in qio_channel_socket_connect_async()
278 GMainContext *context) in qio_channel_socket_listen_async() argument
294 context); in qio_channel_socket_listen_async()
357 GMainContext *context) in qio_channel_socket_dgram_async() argument
372 context); in qio_channel_socket_dgram_async()
H A Dchannel.c414 GMainContext *context) in qio_channel_add_watch_full() argument
423 id = g_source_attach(source, context); in qio_channel_add_watch_full()
444 GMainContext *context) in qio_channel_add_watch_source() argument
450 user_data, notify, context); in qio_channel_add_watch_source()
451 source = g_main_context_find_source_by_id(context, id); in qio_channel_add_watch_source()
/qemu/docs/devel/
H A Dblock-coroutine-wrapper.rst6 called in coroutine context. Such functions are normally marked by the
8 non-coroutine context; for this we need to start a coroutine, run the
H A Dvfio-iommufd.rst19 secure context and dma management interface. The below diagram shows how it
62 - iommufd BE: uses device fd and iommufd to setup secure context
64 - vfio legacy BE: uses group fd and container fd to setup secure context
/qemu/nbd/
H A Dclient.c805 const char *context = info->x_dirty_bitmap ?: "base:allocation"; in nbd_negotiate_simple_meta_context() local
810 info->name, context, errp) < 0) { in nbd_negotiate_simple_meta_context()
820 if (strcmp(context, name)) { in nbd_negotiate_simple_meta_context()
822 "answered with different context '%s'", context, in nbd_negotiate_simple_meta_context()
865 char *context; in nbd_list_meta_contexts() local
868 &context, NULL, errp); in nbd_list_meta_contexts()
887 seen_qemu |= strstart(context, "qemu:", NULL); in nbd_list_meta_contexts()
889 info->contexts[info->n_contexts - 1] = context; in nbd_list_meta_contexts()
/qemu/include/io/
H A Dchannel-tls.h133 GMainContext *context);

12345