/qemu/tests/tcg/multiarch/ |
H A D | sha1.c | 97 R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); in SHA1Transform() 98 R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); in SHA1Transform() 99 R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); in SHA1Transform() 100 R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); in SHA1Transform() 101 R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); in SHA1Transform() 102 R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); in SHA1Transform() 103 R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); in SHA1Transform() 104 R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31); in SHA1Transform() 105 R2(d,e,a,b,c,32); R2(c,d,e,a,b,33); R2(b,c,d,e,a,34); R2(a,b,c,d,e,35); in SHA1Transform() 106 R2(e,a,b,c,d,36); R2(d,e,a,b,c,37); R2(c,d,e,a,b,38); R2(b,c,d,e,a,39); in SHA1Transform() [all …]
|
/qemu/net/can/ |
H A D | can_socketcan.c | 102 c->bufcnt = read(c->fd, c->buf, sizeof(qemu_can_frame)); in can_host_socketcan_read() 137 if (c->fd < 0) { in can_host_socketcan_receive() 174 if (c->fd >= 0) { in can_host_socketcan_disconnect() 175 qemu_set_fd_handler(c->fd, NULL, NULL, c); in can_host_socketcan_disconnect() 176 close(c->fd); in can_host_socketcan_disconnect() 177 c->fd = -1; in can_host_socketcan_disconnect() 244 &c->err_mask, sizeof(c->err_mask)); in can_host_socketcan_connect() 247 c->rfilter = g_new(struct qemu_can_filter, c->rfilter_num); in can_host_socketcan_connect() 263 c->fd = s; in can_host_socketcan_connect() 265 qemu_set_fd_handler(c->fd, can_host_socketcan_read, NULL, c); in can_host_socketcan_connect() [all …]
|
/qemu/system/ |
H A D | meson.build | 2 'arch_init.c', 3 'ioport.c', 4 'memory.c', 5 'physmem.c', 10 'balloon.c', 12 'cpus.c', 15 'datadir.c', 18 'globals.c', 21 'qtest.c', 22 'rtc.c', [all …]
|
/qemu/ui/ |
H A D | cursor.c | 10 QEMUCursor *c; in cursor_parse_xpm() local 57 return c; in cursor_parse_xpm() 95 QEMUCursor *c; in cursor_alloc() local 106 c->refcount = 1; in cursor_alloc() 107 return c; in cursor_alloc() 112 c->refcount++; in cursor_ref() 113 return c; in cursor_ref() 118 if (c == NULL) in cursor_unref() 120 c->refcount--; in cursor_unref() 123 g_free(c); in cursor_unref() [all …]
|
H A D | meson.build | 7 'clipboard.c', 8 'console.c', 9 'cursor.c', 10 'dmabuf.c', 14 'input.c', 16 'keymaps.c', 20 'util.c', 30 system_ss.add(files('input-linux.c', 'udmabuf.c')) 36 'vnc.c', 43 'vnc-ws.c', [all …]
|
/qemu/tests/tcg/x86_64/ |
H A D | adox.c | 12 : "+r"(a), "=&r"(c) : "r"(b), "1"((int)c)); in adoxq() 13 *c_out = c; in adoxq() 22 : "+r"(a), "=&r"(c) : "r"(b), "1"((int)c)); in adoxl() 23 *c_out = c; in adoxl() 30 bool c; in main() local 34 assert(c == 0); in main() 38 assert(c == 0); in main() 42 assert(c == 0); in main() 46 assert(c == 0); in main() 50 assert(c == 0); in main() [all …]
|
/qemu/audio/ |
H A D | paaudio.c | 538 c, in qpa_init_out() 587 c, in qpa_init_in() 771 c->context = pa_context_new(pa_threaded_mainloop_get_api(c->mainloop), in qpa_conn_init() 773 if (!c->context) { in qpa_conn_init() 777 pa_context_set_state_callback(c->context, context_state_cb, c); in qpa_conn_init() 811 return c; in qpa_conn_init() 817 qpa_conn_fini(c); in qpa_conn_init() 826 PAConnection *c; in qpa_audio_init() local 882 if (c->mainloop) { in qpa_conn_fini() 886 if (c->context) { in qpa_conn_fini() [all …]
|
/qemu/hw/virtio/ |
H A D | meson.build | 2 system_virtio_ss.add(files('virtio-bus.c')) 11 specific_virtio_ss.add(files('virtio.c')) 12 specific_virtio_ss.add(files('virtio-config-io.c', 'virtio-qmp.c')) 15 system_virtio_ss.add(files('vhost.c')) 16 specific_virtio_ss.add(files('vhost-backend.c', 'vhost-iova-tree.c')) 19 specific_virtio_ss.add(files('vhost-user.c')) 20 system_virtio_ss.add(files('vhost-user-base.c')) 23 system_virtio_ss.add(files('vhost-user-device.c')) 44 system_virtio_ss.add(files('vhost-vdpa.c')) 48 system_virtio_ss.add(files('vhost-stub.c')) [all …]
|
/qemu/hw/acpi/ |
H A D | meson.build | 3 'acpi_generic_initiator.c', 4 'acpi_interface.c', 5 'aml-build.c', 6 'bios-linker-loader.c', 7 'core.c', 8 'utils.c', 10 acpi_ss.add(when: 'CONFIG_ACPI_CPU_HOTPLUG', if_true: files('cpu.c', 'cpu_hotplug.c')) 17 acpi_ss.add(when: 'CONFIG_ACPI_CXL', if_true: files('cxl.c'), if_false: files('cxl-stub.c')) 27 acpi_ss.add(when: 'CONFIG_ACPI_ICH9', if_true: files('ich9.c', 'ich9_tco.c')) 32 acpi_ss.add(files('tpm.c')) [all …]
|
/qemu/hw/s390x/ |
H A D | meson.build | 3 'ap-bridge.c', 4 'ap-device.c', 5 'ccw-device.c', 6 'css-bridge.c', 7 'css.c', 9 'ipl.c', 10 's390-ccw.c', 16 'sclp.c', 17 'sclpcpu.c', 19 'tod.c', [all …]
|
/qemu/qga/ |
H A D | channel-posix.c | 28 GAChannel *c = data; in ga_channel_listen_accept() local 61 g_io_add_watch(c->listen_channel, G_IO_IN, ga_channel_listen_accept, c); in ga_channel_listen_add() 89 GAChannel *c = data; in ga_channel_client_event() local 92 g_assert(c); in ga_channel_client_event() 93 if (c->event_cb) { in ga_channel_client_event() 94 client_cont = c->event_cb(condition, c->user_data); in ga_channel_client_event() 108 g_assert(c && !c->client_channel); in ga_channel_client_add() 127 c->method = method; in ga_channel_open() 291 c->event_cb = cb; in ga_channel_new() 301 return c; in ga_channel_new() [all …]
|
H A D | channel-win32.c | 88 return !!c->pending_events; in ga_channel_prepare() 160 success = c->cb(watch->pollfd.revents, c->user_data); in ga_channel_dispatch() 194 watch->channel = c; in ga_channel_create_watch() 329 g_free(c); in ga_channel_new() 333 c->cb = cb; in ga_channel_new() 334 c->user_data = opaque; in ga_channel_new() 344 c->source = ga_channel_create_watch(c); in ga_channel_new() 346 return c; in ga_channel_new() 351 if (c->source) { in ga_channel_free() 357 g_free(c->rstate.buf); in ga_channel_free() [all …]
|
/qemu/hw/i386/ |
H A D | meson.build | 3 'fw_cfg.c', 5 'monitor.c', 6 'multiboot.c', 7 'x86.c', 8 'x86-cpu.c', 17 …(when: 'CONFIG_MICROVM', if_true: files('x86-common.c', 'microvm.c', 'acpi-microvm.c', 'microvm-dt… 27 'x86-common.c', 28 'pc.c', 29 'pc_sysfw.c', 30 'acpi-build.c', [all …]
|
/qemu/hw/display/ |
H A D | meson.build | 3 system_ss.add(when: 'CONFIG_DDC', if_true: files('i2c-ddc.c')) 4 system_ss.add(when: 'CONFIG_EDID', if_true: files('edid-generate.c', 'edid-region.c')) 6 system_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true: files('ramfb.c'), if_false: files('ramfb-stubs.c'… 34 system_ss.add(when: 'CONFIG_TCX', if_true: files('tcx.c')) 35 system_ss.add(when: 'CONFIG_CG3', if_true: files('cg3.c')) 54 qxl_ss.add(when: 'CONFIG_QXL', if_true: [files('qxl.c', 'qxl-logger.c', 'qxl-render.c'), 66 system_ss.add(when: 'CONFIG_ATI_VGA', if_true: [files('ati.c', 'ati_2d.c', 'ati_dbg.c'), pixman]) 72 if_true: [files('virtio-gpu-base.c', 'virtio-gpu.c'), pixman]) 74 virtio_gpu_ss.add(files('virtio-gpu-udmabuf.c')) 84 if_true: [files('virtio-gpu-gl.c', 'virtio-gpu-virgl.c'), pixman, virgl]) [all …]
|
/qemu/hw/char/ |
H A D | meson.build | 1 system_ss.add(when: 'CONFIG_CADENCE', if_true: files('cadence_uart.c')) 3 system_ss.add(when: 'CONFIG_ESCC', if_true: files('escc.c')) 4 system_ss.add(when: 'CONFIG_ETRAXFS', if_true: files('etraxfs_ser.c')) 5 system_ss.add(when: 'CONFIG_GRLIB', if_true: files('grlib_apbuart.c')) 6 system_ss.add(when: 'CONFIG_IBEX', if_true: files('ibex_uart.c')) 7 system_ss.add(when: 'CONFIG_IMX', if_true: files('imx_serial.c')) 8 system_ss.add(when: 'CONFIG_IPACK', if_true: files('ipoctal232.c')) 13 system_ss.add(when: 'CONFIG_PL011', if_true: files('pl011.c')) 14 system_ss.add(when: 'CONFIG_SCLPCONSOLE', if_true: files('sclpconsole.c', 'sclpconsole-lm.c')) 15 system_ss.add(when: 'CONFIG_SERIAL', if_true: files('serial.c')) [all …]
|
/qemu/target/ppc/ |
H A D | meson.build | 3 'cpu-models.c', 4 'cpu.c', 5 'cpu_init.c', 6 'excp_helper.c', 7 'gdbstub.c', 8 'helper_regs.c', 12 'dfp_helper.c', 13 'fpu_helper.c', 14 'int_helper.c', 18 'translate.c', [all …]
|
/qemu/stubs/ |
H A D | meson.build | 5 stub_ss.add(files('cpu-get-clock.c')) 6 stub_ss.add(files('error-printf.c')) 7 stub_ss.add(files('fdset.c')) 8 stub_ss.add(files('iothread-lock.c')) 9 stub_ss.add(files('is-daemonized.c')) 10 stub_ss.add(files('monitor-core.c')) 11 stub_ss.add(files('replay-mode.c')) 12 stub_ss.add(files('trace-control.c')) 15 stub_ss.add(files('bdrv-next-monitor-owned.c')) 16 stub_ss.add(files('blk-commit-all.c')) [all...] |
/qemu/include/qemu/ |
H A D | jhash.h | 34 #define __jhash_mix(a, b, c) \ argument 36 a -= c; a ^= rol32(c, 4); c += b; \ 38 c -= b; c ^= rol32(b, 8); b += a; \ 39 a -= c; a ^= rol32(c, 16); c += b; \ 41 c -= b; c ^= rol32(b, 4); b += a; \ 45 #define __jhash_final(a, b, c) \ argument 47 c ^= b; c -= rol32(b, 14); \ 48 a ^= c; a -= rol32(c, 11); \ 50 c ^= b; c -= rol32(b, 16); \ 51 a ^= c; a -= rol32(c, 4); \ [all …]
|
/qemu/hw/timer/ |
H A D | meson.build | 1 system_ss.add(when: 'CONFIG_A9_GTIMER', if_true: files('a9gtimer.c')) 3 system_ss.add(when: 'CONFIG_ARM_MPTIMER', if_true: files('arm_mptimer.c')) 4 system_ss.add(when: 'CONFIG_ARM_TIMER', if_true: files('arm_timer.c')) 5 system_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m_systick.c')) 7 system_ss.add(when: 'CONFIG_CADENCE', if_true: files('cadence_ttc.c')) 12 system_ss.add(when: 'CONFIG_DIGIC', if_true: files('digic-timer.c')) 17 system_ss.add(when: 'CONFIG_HPET', if_true: files('hpet.c')) 18 system_ss.add(when: 'CONFIG_I8254', if_true: files('i8254_common.c', 'i8254.c')) 19 system_ss.add(when: 'CONFIG_IMX', if_true: files('imx_epit.c')) 20 system_ss.add(when: 'CONFIG_IMX', if_true: files('imx_gpt.c')) [all …]
|
/qemu/hw/usb/ |
H A D | meson.build | 5 'bus.c', 6 'combined-packet.c', 7 'core.c', 8 'desc.c', 9 'desc-msos.c', 10 'libhw.c', 11 'pcap.c', 12 ), if_false: files('bus-stub.c')) 58 if_true: [cacard, files('ccid-card-emulated.c', 'ccid-card-passthru.c')]) 80 if_true: [usbredir, files('redirect.c', 'quirks.c')]) [all …]
|
/qemu/tests/unit/ |
H A D | test-qtree.c | 96 gchar c; in test_tree_search() local 137 c = '0'; in test_tree_search() 141 g_assert(c == *d && c == *p); in test_tree_search() 143 c = 'A'; in test_tree_search() 147 c = 'a'; in test_tree_search() 151 c = 'z'; in test_tree_search() 155 c = '!'; in test_tree_search() 159 c = '='; in test_tree_search() 163 c = '|'; in test_tree_search() 167 c = '0'; in test_tree_search() [all …]
|
/qemu/chardev/ |
H A D | meson.build | 2 'char-fe.c', 3 'char-file.c', 4 'char-io.c', 5 'char-mux.c', 6 'char-null.c', 7 'char-pipe.c', 9 'char-serial.c', 10 'char-socket.c', 11 'char-stdio.c', 12 'char-udp.c', [all …]
|
/qemu/target/riscv/ |
H A D | meson.build | 12 'cpu.c', 14 'csr.c', 16 'gdbstub.c', 17 'op_helper.c', 21 'translate.c', 31 'pmp.c', 32 'debug.c', 33 'monitor.c', 34 'machine.c', 35 'pmu.c', [all …]
|
/qemu/hw/pci-host/ |
H A D | meson.build | 2 pci_ss.add(when: 'CONFIG_PAM', if_true: files('pam.c')) 3 pci_ss.add(when: 'CONFIG_PCI_BONITO', if_true: files('bonito.c')) 4 pci_ss.add(when: 'CONFIG_GT64120', if_true: files('gt64120.c')) 14 pci_ss.add(when: 'CONFIG_SH_PCI', if_true: files('sh_pci.c')) 35 pci_ss.add(when: 'CONFIG_DINO', if_true: files('dino.c')) 40 'pnv_phb3.c', 41 'pnv_phb3_msi.c', 42 'pnv_phb3_pbcq.c', 43 'pnv_phb4.c', 44 'pnv_phb4_pec.c', [all …]
|
/qemu/target/arm/tcg/ |
H A D | meson.build | 26 'cpu32.c', 27 'gengvec.c', 28 'translate.c', 34 'hflags.c', 36 'm_helper.c', 37 'mve_helper.c', 39 'op_helper.c', 40 'tlb_helper.c', 45 'cpu64.c', 46 'gengvec64.c', [all …]
|