Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 126) sorted by relevance

123456

/qemu/audio/
A Dalsaaudio.c40 snd_pcm_t *handle; member
49 snd_pcm_t *handle; member
56 snd_pcm_t *handle; member
117 hlp->handle = NULL; in alsa_fini_poll()
248 hlp->handle = handle; in alsa_poll_helper()
459 &handle, in alsa_open()
476 handle, in alsa_open()
497 handle, in alsa_open()
577 handle, in alsa_open()
732 alsa->handle = handle; in alsa_init_out()
[all …]
/qemu/disas/
A Dcapstone.c80 cs_option(*handle, CS_OPT_SKIPDATA_SETUP, in cap_disas_start()
96 cap_insn = cs_malloc(*handle); in cap_disas_start()
98 cs_close(handle); in cap_disas_start()
181 csh handle; in cap_disas_target() local
233 cs_close(&handle); in cap_disas_target()
240 csh handle; in cap_disas_host() local
262 cs_close(&handle); in cap_disas_host()
270 csh handle; in cap_disas_monitor() local
314 cs_close(&handle); in cap_disas_monitor()
323 csh handle; in cap_disas_plugin() local
[all …]
/qemu/net/
A Dtap-win32.c101 HANDLE handle; member
407 overlapped->handle = handle; in tap_win32_overlapped_init()
522 result = ReadFile(overlapped->handle, in tap_win32_thread_entry()
598 HANDLE handle; in tap_win32_open() local
622 handle = CreateFile ( in tap_win32_open()
631 if (handle == INVALID_HANDLE_VALUE) { in tap_win32_open()
640 CloseHandle(handle); in tap_win32_open()
644 if (!tap_win32_set_status(handle, TRUE)) { in tap_win32_open()
661 tap_win32_overlapped_t *handle; member
724 tap_win32_overlapped_t *handle; in tap_win32_init() local
[all …]
/qemu/crypto/
A Dtlssession.c39 gnutls_session_t handle; member
67 gnutls_deinit(session->handle); in qcrypto_tls_session_free()
195 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new()
199 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new()
231 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new()
258 ret = gnutls_credentials_set(session->handle, in qcrypto_tls_session_new()
279 gnutls_transport_set_ptr(session->handle, session); in qcrypto_tls_session_new()
280 gnutls_transport_set_push_function(session->handle, in qcrypto_tls_session_new()
282 gnutls_transport_set_pull_function(session->handle, in qcrypto_tls_session_new()
548 int ret = gnutls_handshake(session->handle); in qcrypto_tls_session_handshake()
[all …]
A Dcipher-gnutls.c.inc79 if (ctx->handle) {
80 gnutls_cipher_deinit(ctx->handle);
102 if (ctx->handle) { /* CBC / XTS mode */
114 gnutls_cipher_hd_t handle;
125 err = gnutls_cipher_encrypt2(handle,
129 gnutls_cipher_deinit(handle);
134 gnutls_cipher_deinit(handle);
162 if (ctx->handle) { /* CBC / XTS mode */
175 gnutls_cipher_hd_t handle;
190 gnutls_cipher_deinit(handle);
[all …]
A Dhmac-gcrypt.c36 gcry_mac_hd_t handle; member
64 err = gcry_mac_open(&ctx->handle, qcrypto_hmac_alg_map[alg], in qcrypto_hmac_ctx_new()
72 err = gcry_mac_setkey(ctx->handle, (const void *)key, nkey); in qcrypto_hmac_ctx_new()
76 gcry_mac_close(ctx->handle); in qcrypto_hmac_ctx_new()
93 gcry_mac_close(ctx->handle); in qcrypto_gcrypt_hmac_ctx_free()
114 gcry_mac_write(ctx->handle, iov[i].iov_base, iov[i].iov_len); in qcrypto_gcrypt_hmac_bytesv()
133 err = gcry_mac_read(ctx->handle, *result, resultlen); in qcrypto_gcrypt_hmac_bytesv()
140 err = gcry_mac_reset(ctx->handle); in qcrypto_gcrypt_hmac_bytesv()
A Dhmac-gnutls.c35 gnutls_hmac_hd_t handle; member
70 err = gnutls_hmac_init(&ctx->handle, in qcrypto_hmac_ctx_new()
92 gnutls_hmac_deinit(ctx->handle, NULL); in qcrypto_gnutls_hmac_ctx_free()
112 gnutls_hmac(ctx->handle, iov[i].iov_base, iov[i].iov_len); in qcrypto_gnutls_hmac_bytesv()
131 gnutls_hmac_output(ctx->handle, *result); in qcrypto_gnutls_hmac_bytesv()
A Dcipher-gcrypt.c.inc114 gcry_cipher_hd_t handle;
123 gcry_cipher_close(ctx->handle);
139 err = gcry_cipher_encrypt(ctx->handle, out, len, in, len);
161 err = gcry_cipher_decrypt(ctx->handle, out, len, in, len);
184 gcry_cipher_reset(ctx->handle);
185 err = gcry_cipher_setiv(ctx->handle, iv, niv);
207 err = gcry_cipher_setctr(ctx->handle, iv, niv);
269 err = gcry_cipher_open(&ctx->handle, gcryalg, gcrymode, 0);
277 err = gcry_cipher_setkey(ctx->handle, key, nkey);
286 gcry_cipher_close(ctx->handle);
/qemu/hw/block/
A Dxen_blkif.h25 blkif_vdev_t handle; /* only for read/write requests */ member
33 blkif_vdev_t handle; /* only for read/write requests */ member
51 blkif_vdev_t handle; /* only for read/write requests */ member
59 blkif_vdev_t handle; /* only for read/write requests */ member
100 dst->handle = src->handle; in blkif_get_x86_32_req()
126 dst->handle = src->handle; in blkif_get_x86_64_req()
/qemu/ui/
A Dqemu-pixman.c275 qemu_pixman_shareable *handle, in qemu_pixman_shareable_alloc() argument
279 return qemu_win32_map_alloc(size, handle, errp); in qemu_pixman_shareable_alloc()
281 return qemu_memfd_alloc(name, size, 0, handle, errp); in qemu_pixman_shareable_alloc()
286 qemu_pixman_shareable_free(qemu_pixman_shareable handle, in qemu_pixman_shareable_free() argument
290 qemu_win32_map_free(ptr, handle, &error_warn); in qemu_pixman_shareable_free()
292 qemu_memfd_free(ptr, size, handle); in qemu_pixman_shareable_free()
299 qemu_pixman_shareable handle = PTR_TO_SHAREABLE(data); in qemu_pixman_shared_image_destroy() local
303 qemu_pixman_shareable_free(handle, ptr, size); in qemu_pixman_shared_image_destroy()
308 qemu_pixman_shareable *handle, in qemu_pixman_image_new_shareable() argument
321 g_return_val_if_fail(handle != NULL, false); in qemu_pixman_image_new_shareable()
[all …]
/qemu/migration/
A Dmultifd-uadk.c25 handle_t handle; member
67 wd->handle = wd_comp_alloc_sess(&ss); in multifd_uadk_init_sess()
68 if (!wd->handle) { in multifd_uadk_init_sess()
86 if (wd->handle) { in multifd_uadk_init_sess()
87 wd_comp_free_sess(wd->handle); in multifd_uadk_init_sess()
97 if (wd->handle) { in multifd_uadk_uninit_sess()
98 wd_comp_free_sess(wd->handle); in multifd_uadk_uninit_sess()
175 if (uadk_data->handle) { in multifd_uadk_send_prepare()
176 ret = wd_do_comp_sync(uadk_data->handle, &creq); in multifd_uadk_send_prepare()
288 if (unlikely(!uadk_data->handle)) { in multifd_uadk_recv()
[all …]
/qemu/target/ppc/
A Dtrace-events23 kvm_handle_dcr_write(void) "handle dcr write"
24 kvm_handle_dcr_read(void) "handle dcr read"
25 kvm_handle_halt(void) "handle halt"
27 kvm_handle_epr(void) "handle epr"
28 kvm_handle_watchdog_expiry(void) "handle watchdog expiry"
29 kvm_handle_debug_exception(void) "handle debug exception"
30 kvm_handle_nmi_exception(void) "handle NMI exception"
/qemu/qga/
A Dchannel-win32.c18 HANDLE handle; member
65 success = ReadFile(c->handle, rs->buf + rs->cur + rs->pending, in ga_channel_prepare()
115 success = GetOverlappedResult(c->handle, &rs->ov, &count_read, FALSE); in ga_channel_check()
233 ret = WriteFile(c->handle, buf, size, &written, &ov); in ga_channel_write()
237 ret = GetOverlappedResult(c->handle, &ov, &written, TRUE); in ga_channel_write()
301 c->handle = CreateFile(newpath, GENERIC_READ | GENERIC_WRITE, 0, NULL, in ga_channel_open()
304 if (c->handle == INVALID_HANDLE_VALUE) { in ga_channel_open()
311 && !SetCommTimeouts(c->handle, &comTimeOut)) { in ga_channel_open()
314 CloseHandle(c->handle); in ga_channel_open()
A Dcommands-posix.c333 int64_t handle; in guest_file_handle_add() local
335 handle = ga_get_fd_handle(ga_state, errp); in guest_file_handle_add()
336 if (handle < 0) { in guest_file_handle_add()
341 gfh->id = handle; in guest_file_handle_add()
345 return handle; in guest_file_handle_add()
491 int64_t handle; in qmp_guest_file_open() local
512 handle = guest_file_handle_add(fh, errp); in qmp_guest_file_open()
513 if (handle < 0) { in qmp_guest_file_open()
518 slog("guest-file-open, handle: %" PRId64, handle); in qmp_guest_file_open()
519 return handle; in qmp_guest_file_open()
[all …]
/qemu/include/ui/
A Dqemu-pixman.h105 #define SHAREABLE_TO_PTR(handle) (handle) argument
110 #define SHAREABLE_TO_PTR(handle) GINT_TO_POINTER(handle) argument
116 qemu_pixman_shareable *handle,
/qemu/hw/acpi/
A Dnvdimm.c197 if (nvdimm_slot_to_handle(slot) == handle) { in nvdimm_get_device_by_handle()
265 uint32_t handle = nvdimm_slot_to_handle(slot); in nvdimm_build_structure_memdev() local
272 nfit_memdev->nfit_handle = cpu_to_le32(handle); in nvdimm_build_structure_memdev()
421 uint32_t handle; member
851 in->handle = le32_to_cpu(in->handle); in nvdimm_dsm_write()
867 if (!in->handle) { in nvdimm_dsm_write()
945 handle = aml_arg(4); in nvdimm_build_common_dsm()
1027 ifctx = aml_if(aml_equal(handle, aml_int(0x0))); in nvdimm_build_common_dsm()
1277 aml_int(handle)); in nvdimm_build_nvdimm_devices()
1314 aml_int(handle)); in nvdimm_build_nvdimm_devices()
[all …]
/qemu/hw/usb/
A Ddev-mtp.c141 uint32_t handle; member
170 uint32_t handle; member
390 o->handle = handle; in usb_mtp_object_alloc()
460 if (o->handle == handle) { in usb_mtp_object_lookup()
560 entry->handle = o->handle; in file_monitor_event()
572 entry->handle = o->handle; in file_monitor_event()
1209 if (handle == 0xFFFFFFF) { in usb_mtp_object_delete()
1408 if (handle == 0xFFFFFFFF || handle == 0) { in usb_mtp_command()
1734 next_handle = o->handle; in usb_mtp_write_metadata()
1994 uint32_t handle; in usb_mtp_handle_data() local
[all …]
/qemu/qapi/
A Dcompat.json52 # @deprecated-input: how to handle deprecated input (default 'accept')
54 # @deprecated-output: how to handle deprecated output (default
57 # @unstable-input: how to handle unstable input (default 'accept')
60 # @unstable-output: how to handle unstable output (default 'accept')
/qemu/util/
A Dqemu-thread-win32.c435 HANDLE handle; in qemu_thread_join() local
449 handle = qemu_thread_get_handle(thread); in qemu_thread_join()
450 if (handle) { in qemu_thread_join()
451 WaitForSingleObject(handle, INFINITE); in qemu_thread_join()
452 CloseHandle(handle); in qemu_thread_join()
531 HANDLE handle; in qemu_thread_get_handle() local
540 handle = OpenThread(SYNCHRONIZE | THREAD_SUSPEND_RESUME | in qemu_thread_get_handle()
543 handle = NULL; in qemu_thread_get_handle()
546 return handle; in qemu_thread_get_handle()
/qemu/hw/cxl/
A Dcxl-events.c127 entry->data.hdr.handle = cpu_to_le16(log->next_handle); in cxl_event_insert()
224 uint16_t handle = pl->handle[nr]; in cxl_event_clear_records() local
227 if (handle == 0 || entry->data.hdr.handle != handle) { in cxl_event_clear_records()
/qemu/python/qemu/utils/
A Dqemu_ga_client.py86 def __file_read_all(self, handle: int) -> bytes:
90 ret = self.qga.file_read(handle=handle, count=1024)
97 handle = self.qga.file_open(path=path)
99 data = self.__file_read_all(handle)
101 self.qga.file_close(handle=handle)
/qemu/include/hw/xen/interface/io/
A Dblkif.h641 blkif_vdev_t handle; /* only for read/write requests */ member
656 blkif_vdev_t handle; /* same as for read/write requests */ member
669 blkif_vdev_t handle; /* same as for read/write requests */ member
/qemu/plugins/
A Dloader.c193 ctx->handle = g_module_open(desc->path, G_MODULE_BIND_LOCAL); in plugin_load()
194 if (ctx->handle == NULL) { in plugin_load()
199 if (!g_module_symbol(ctx->handle, "qemu_plugin_install", &sym)) { in plugin_load()
211 if (!g_module_symbol(ctx->handle, "qemu_plugin_version", &sym)) { in plugin_load()
267 g_module_close(ctx->handle); in plugin_load()
370 if (!g_module_close(ctx->handle)) { in plugin_reset_destroy__locked()
/qemu/contrib/plugins/
A Dexeclog.c19 struct qemu_plugin_register *handle; member
97 sz = qemu_plugin_read_register(reg->handle, reg->new); in insn_check_regs()
304 reg->handle = desc->handle; in init_vcpu_register()
310 r = qemu_plugin_read_register(reg->handle, reg->last); in init_vcpu_register()
/qemu/tests/qemu-iotests/
A Dnbd-fault-injector.py170 def write_reply(conn, error, handle): argument
171 buf = reply_struct.pack(NBD_SIMPLE_REPLY_MAGIC, error, handle)
179 write_reply(conn, 0, req.handle)
183 write_reply(conn, 0, req.handle)

Completed in 63 milliseconds

123456