Home
last modified time | relevance | path

Searched +full:- +full:e (Results 1 – 25 of 1005) sorted by relevance

12345678910>>...41

/qemu/tests/tcg/arm/
H A Dfcvt.ref3 Converting single-precision to half-precision
4 00 SINGLE: -nan / 0xffa00000 (0 => OK)
6 01 SINGLE: -nan / 0xffc00000 (0 => OK)
8 02 SINGLE: -inf / 0xff800000 (0 => OK)
10 03 SINGLE: -3.40282346638528859812e+38 / 0xff7fffff (0 => OK)
12 04 SINGLE: -1.11100004769645909791e+31 / 0xf30c3a59 (0 => OK)
14 05 SINGLE: -1.11100003258488635273e+30 / 0xf1605d5b (0 => OK)
16 06 SINGLE: -1.08700982243137289629e-12 / 0xab98fba8 (0 => OK)
18 07 SINGLE: -1.78051176151664730511e-20 / 0x9ea82a22 (0 => OK)
20 08 SINGLE: -1.17549435082228750797e-38 / 0x80800000 (0 => OK)
[all …]
/qemu/tests/tcg/aarch64/
H A Dfcvt.ref3 Converting single-precision to half-precision
4 00 SINGLE: -nan / 0xffa00000 (0 => OK)
6 01 SINGLE: -nan / 0xffc00000 (0 => OK)
8 02 SINGLE: -inf / 0xff800000 (0 => OK)
10 03 SINGLE: -3.40282346638528859812e+38 / 0xff7fffff (0 => OK)
12 04 SINGLE: -1.11100004769645909791e+31 / 0xf30c3a59 (0 => OK)
14 05 SINGLE: -1.11100003258488635273e+30 / 0xf1605d5b (0 => OK)
16 06 SINGLE: -1.08700982243137289629e-12 / 0xab98fba8 (0 => OK)
18 07 SINGLE: -1.78051176151664730511e-20 / 0x9ea82a22 (0 => OK)
20 08 SINGLE: -1.17549435082228750797e-38 / 0x80800000 (0 => OK)
[all …]
/qemu/linux-user/
H A Derrnos.c.inc2 * This list is the union of errno values overridden in asm-<arch>/errno.h
22 * SPDX-License-Identifier: GPL-2.0-or-later
25 E(EADDRINUSE)
26 E(EADDRNOTAVAIL)
27 E(EADV)
28 E(EAFNOSUPPORT)
29 E(EAGAIN)
30 E(EALREADY)
31 E(EBADE)
32 E(EBADFD)
[all …]
/qemu/scripts/coccinelle/
H A Dinplace-byteswaps.cocci1 // Replace uses of in-place byteswapping functions with calls to the
2 // equivalent not-in-place functions. This is necessary to avoid
7 expression E;
9 -be16_to_cpus(&E);
10 +E = be16_to_cpu(E);
12 expression E;
14 -be32_to_cpus(&E);
15 +E = be32_to_cpu(E);
17 expression E;
19 -be64_to_cpus(&E);
[all …]
H A Dqobject.cocci3 expression Obj, Key, E;
6 - qobject_ref(QOBJECT(E));
7 + qobject_ref(E);
9 - qobject_unref(QOBJECT(E));
10 + qobject_unref(E);
12 - qdict_put_obj(Obj, Key, QOBJECT(E));
13 + qdict_put(Obj, Key, E);
15 - qdict_put(Obj, Key, qnum_from_int(E));
16 + qdict_put_int(Obj, Key, E);
18 - qdict_put(Obj, Key, qbool_from_bool(E));
[all …]
/qemu/tests/qemu-iotests/
H A Dcommon.filter4 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
24 sed -Ee 's/[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}/yyyy-mm-dd hh:mm:ss/'
29 sed -E -e 's/[0-9. ]{5} [KMGT]iB/ SIZE/' \
30 -e 's/[0-9. ]{5} B/ SIZE/'
35 sed -Ee 's/\#block[0-9]{3,}/NODE_NAME/'
40 gsed -e '/Attached to:/s/\device[[0-9]\+\]/device[N]/g'
46 sed -e "s#$TEST_DIR/#TEST_DIR/#g" \
47 -e "s#$SOCK_DIR/#SOCK_DIR/#g" \
48 -e "s#SOCK_DIR/fuse-#TEST_DIR/#g"
54 sed -e "s#$IMGFMT#IMGFMT#g"
[all …]
H A D14251 if ! test -t 0; then
57 ) | $QEMU -nographic -monitor stdio -nodefaults "$@"
70 _make_test_img -b "$TEST_IMG.base" $size -F $IMGFMT
76 run_qemu -drive file="$TEST_IMG",cache=none
77 run_qemu -drive file="$TEST_IMG",cache=directsync
78 run_qemu -drive file="$TEST_IMG",cache=writeback
79 run_qemu -drive file="$TEST_IMG",cache=writethrough
80 run_qemu -drive file="$TEST_IMG",cache=unsafe
81 run_qemu -drive file="$TEST_IMG",cache=invalid_value
88 ids="node-name=image,backing.node-name=backing,backing.file.node-name=backing-file,file.node-name=f…
[all …]
/qemu/target/i386/
H A Dxsave_helper.c3 * See the COPYING file in the top-level directory.
12 CPUX86State *env = &cpu->env; in x86_cpu_xsave_all_areas()
13 const ExtSaveArea *e, *f; in x86_cpu_xsave_all_areas() local
22 e = &x86_ext_save_areas[XSTATE_FP_BIT]; in x86_cpu_xsave_all_areas()
24 legacy = buf + e->offset; in x86_cpu_xsave_all_areas()
25 header = buf + e->offset + sizeof(*legacy); in x86_cpu_xsave_all_areas()
28 swd = env->fpus & ~(7 << 11); in x86_cpu_xsave_all_areas()
29 swd |= (env->fpstt & 7) << 11; in x86_cpu_xsave_all_areas()
30 cwd = env->fpuc; in x86_cpu_xsave_all_areas()
32 twd |= (!env->fptags[i]) << i; in x86_cpu_xsave_all_areas()
[all …]
/qemu/tests/tcg/multiarch/
H A Dsha1.c6 SHA-1 in C
10 Test Vectors (from FIPS PUB 180-1)
30 SHA-1 in C
47 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))
52 #define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \
53 |(rol(block->l[i],8)&0x00FF00FF))
55 #define blk0(i) block->l[i]
59 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
60 ^block->l[(i+2)&15]^block->l[i&15],1))
70 /* Hash a single 512-bit block. This is the core of the algorithm. */
[all …]
H A Dsha512.c7 * http://www.opensource.org/licenses/mit-license.php.
9 * SPDX-License-Identifier: MIT CC0-1.0
23 * BSWAP_64 - reverse bytes in a constant uint64_t value.
26 * Designed to be usable in constant-requiring initializers.
49 * CPU_TO_BE64 - convert a constant uint64_t value to big-endian
54 * BE64_TO_CPU - convert a big-endian uint64_t constant
55 * @le_val: big-endian constant to convert
65 * cpu_to_be64 - convert a uint64_t value to big endian.
74 * be64_to_cpu - convert a big-endian uint64_t value
75 * @be_val: big-endian value to convert
[all …]
/qemu/util/
H A Devent_notifier-posix.c10 * See the COPYING file in the top-level directory.
16 #include "qemu/main-loop.h"
24 * Initialize @e with existing file descriptor @fd.
27 void event_notifier_init_fd(EventNotifier *e, int fd) in event_notifier_init_fd() argument
29 e->rfd = fd; in event_notifier_init_fd()
30 e->wfd = fd; in event_notifier_init_fd()
31 e->initialized = true; in event_notifier_init_fd()
35 int event_notifier_init(EventNotifier *e, int active) in event_notifier_init() argument
43 ret = -1; in event_notifier_init()
47 e->rfd = e->wfd = ret; in event_notifier_init()
[all …]
H A Dqsp.c2 * qsp.c - QEMU Synchronization Profiler
7 * See the COPYING file in the top-level directory.
10 * help diagnose performance problems, e.g. scalability issues when
16 * either due to blocking (e.g. cond_wait, mutex_lock) or cache line
17 * contention (e.g. mutex_lock, mutex_trylock).
20 * by having threads do their profiling entirely on thread-local data.
21 * The appropriate thread-local data is found via a QHT, i.e. a concurrent hash
25 * very rarely called -- reports are generated only when requested by users.
29 * as well as the address of the "object" (i.e. mutex, rec. mutex or condvar)
32 * profiling dynamically-allocated objects.
[all …]
H A Devent_notifier-win32.c10 * See the COPYING file in the top-level directory.
15 #include "qemu/main-loop.h"
17 int event_notifier_init(EventNotifier *e, int active) in event_notifier_init() argument
19 e->event = CreateEvent(NULL, TRUE, FALSE, NULL); in event_notifier_init()
20 assert(e->event); in event_notifier_init()
24 void event_notifier_cleanup(EventNotifier *e) in event_notifier_cleanup() argument
26 CloseHandle(e->event); in event_notifier_cleanup()
27 e->event = NULL; in event_notifier_cleanup()
30 HANDLE event_notifier_get_handle(EventNotifier *e) in event_notifier_get_handle() argument
32 return e->event; in event_notifier_get_handle()
[all …]
H A Dselfmap.c6 * SPDX-License-Identifier: GPL-2.0-or-later
46 MapInfo *e; in read_self_maps() local
57 e = g_malloc0(sizeof(*e) + path_len); in read_self_maps()
59 e->itree.start = start; in read_self_maps()
60 e->itree.last = end - 1; in read_self_maps()
61 e->offset = offset; in read_self_maps()
62 e->dev = makedev(dev_maj, dev_min); in read_self_maps()
63 e->inode = inode; in read_self_maps()
65 e->is_read = fields[1][0] == 'r'; in read_self_maps()
66 e->is_write = fields[1][1] == 'w'; in read_self_maps()
[all …]
/qemu/scripts/tracetool/format/
H A Dh.py1 # -*- coding: utf-8 -*-
4 trace/generated-tracers.h
8 __copyright__ = "Copyright 2012-2017, Lluís Vilanova <vilanova@ac.upc.edu>"
29 for e in events:
31 event = e.api(e.QEMU_EVENT))
33 for e in events:
34 out('extern uint16_t %s;' % e.api(e.QEMU_DSTATE))
37 for e in events:
38 if 'disable' in e.properties:
42 if "tcg-exec" in e.properties:
[all …]
H A Dc.py1 # -*- coding: utf-8 -*-
4 trace/generated-tracers.c
8 __copyright__ = "Copyright 2012-2014, Lluís Vilanova <vilanova@ac.upc.edu>"
19 active_events = [e for e in events
20 if "disable" not in e.properties]
22 header = "trace-" + group + ".h"
31 for e in events:
32 out('uint16_t %s;' % e.api(e.QEMU_DSTATE))
34 for e in events:
41 event = e.api(e.QEMU_EVENT),
[all …]
/qemu/block/
H A Dvhdx-endian.c2 * Block driver for Hyper-V VHDX Images
11 * https://www.microsoft.com/en-us/download/details.aspx?id=34750
14 * See the COPYING.LIB file in the top-level directory.
24 * All the VHDX formats on disk are little endian - the following
37 h->signature = le32_to_cpu(h->signature); in vhdx_header_le_import()
38 h->checksum = le32_to_cpu(h->checksum); in vhdx_header_le_import()
39 h->sequence_number = le64_to_cpu(h->sequence_number); in vhdx_header_le_import()
41 leguid_to_cpus(&h->file_write_guid); in vhdx_header_le_import()
42 leguid_to_cpus(&h->data_write_guid); in vhdx_header_le_import()
43 leguid_to_cpus(&h->log_guid); in vhdx_header_le_import()
[all …]
/qemu/hw/pci/
H A Dpcie_host.c38 PCIExpressHost *e = opaque; in pcie_mmcfg_data_write() local
39 PCIBus *s = e->pci.bus; in pcie_mmcfg_data_write()
56 PCIExpressHost *e = opaque; in pcie_mmcfg_data_read() local
57 PCIBus *s = e->pci.bus; in pcie_mmcfg_data_read()
78 PCIExpressHost *e = PCIE_HOST_BRIDGE(obj); in pcie_host_init() local
80 e->base_addr = PCIE_BASE_ADDR_UNMAPPED; in pcie_host_init()
81 memory_region_init_io(&e->mmio, OBJECT(e), &pcie_mmcfg_ops, e, "pcie-mmcfg-mmio", in pcie_host_init()
85 void pcie_host_mmcfg_unmap(PCIExpressHost *e) in pcie_host_mmcfg_unmap() argument
87 if (e->base_addr != PCIE_BASE_ADDR_UNMAPPED) { in pcie_host_mmcfg_unmap()
88 memory_region_del_subregion(get_system_memory(), &e->mmio); in pcie_host_mmcfg_unmap()
[all …]
/qemu/target/arm/tcg/
H A Dmve_helper.c2 * M-profile MVE Operations
24 #include "exec/helper-proto.h"
25 #include "accel/tcg/cpu-ldst.h"
39 if ((env->condexec_bits & 0xf) != 0) { in mve_eci_mask()
43 eci = env->condexec_bits >> 4; in mve_eci_mask()
66 * (3) low-overhead-branch tail predication will mask out part in mve_element_mask()
70 * We combine all these into a 16-bit result with the same semantics in mve_element_mask()
72 * 8-bit vector ops will look at all bits of the result; in mve_element_mask()
73 * 16-bit ops will look at bits 0, 2, 4, ...; in mve_element_mask()
74 * 32-bit ops will look at bits 0, 4, 8 and 12. in mve_element_mask()
[all …]
/qemu/scripts/
H A Dupdate-linux-headers.sh1 #!/bin/sh -e
11 # See the COPYING file in the top-level directory.
15 # - linux-headers/ for files that are required for compiling for a
21 # - include/standard-headers/ for files that are used for guest
26 # sanitize the headers to remove any use of Linux-specifics such as
29 tmpdir=$(mktemp -d)
35 if [ -z "$linux" ] || ! [ -d "$linux" ]; then
37 usage: update-kernel-headers.sh LINUX_PATH [OUTPUT_PATH]
45 if [ -z "$output" ]; then
53 grep '#include' "$f" | grep -v -e 'linux/virtio' \
[all …]
/qemu/gdbstub/
H A Dsyscalls.c7 * Copyright (c) 2003-2005 Fabrice Bellard
10 * SPDX-License-Identifier: LGPL-2.0-or-later
14 #include "qemu/error-report.h"
51 /* -semihosting-config target=native */ in use_gdb_syscalls()
54 /* -semihosting-config target=gdb */ in use_gdb_syscalls()
58 /* -semihosting-config target=auto */ in use_gdb_syscalls()
89 * This accepts limited printf-style format specifiers, specifically:
90 * %x - target_ulong argument printed in hex.
91 * %lx - 64-bit argument printed in hex.
92 * %s - string pointer (target_ulong) and length (int) pair.
[all …]
/qemu/hw/s390x/
H A Dsclpcpi.c2 * SPDX-License-Identifier: GPL-2.0-or-later
4 * SCLP event type 11 - Control-Program Identification (CPI):
6 * Service-Call Logical Processor (SCLP). It is not sent by the SCLP.
8 * Control-program identifiers provide data about the guest operating
9 * system. The control-program identifiers are: system type, system name,
12 * In Linux, all the control-program identifiers are user configurable. The
14 * this set: capital A-Z, 0-9, $, @, #, and blank. In Linux, the system
15 * type, system name and sysplex name are arbitrary free-form texts.
17 * In Linux, the 8-byte hexadecimal system-level has the format
19 * <a>: is a 4-bit digit, its most significant bit indicates hypervisor use
[all …]
/qemu/host/include/i386/host/
H A Dbufferiszero.c.inc2 * SPDX-License-Identifier: GPL-2.0-or-later
20 __m128i w = *(__m128i_u *)(buf + len - 16);
21 /* Align head/tail to 16-byte boundaries. */
23 const __m128i *e = QEMU_ALIGN_PTR_DOWN(buf + len - 1, 16);
27 v |= e[-1]; w |= e[-2];
29 v |= e[-3]; w |= e[-4];
31 v |= e[-5]; w |= e[-6];
33 v |= e[-7]; v |= w;
36 * Loop over complete 128-byte blocks.
37 * With the head and tail removed, e - p >= 14, so the loop
[all …]
/qemu/target/m68k/
H A Dm68k-semi.c4 * Copyright (c) 2005-2007 CodeSourcery.
21 * https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=libgloss/m68k/m68k-semi.txt;hb=HEAD
51 #define E(X) case E##X: return GDB_E##X in host_to_gdb_errno() macro
53 E(PERM); in host_to_gdb_errno()
54 E(NOENT); in host_to_gdb_errno()
55 E(INTR); in host_to_gdb_errno()
56 E(BADF); in host_to_gdb_errno()
57 E(ACCES); in host_to_gdb_errno()
58 E(FAULT); in host_to_gdb_errno()
59 E(BUSY); in host_to_gdb_errno()
[all …]
/qemu/tests/unit/
H A Dtest-aio.c10 * See the COPYING.LIB file in the top-level directory.
18 #include "qemu/error-report.h"
19 #include "qemu/coroutine-core.h"
20 #include "qemu/main-loop.h"
25 EventNotifier e; member
34 while (data->active > 0) { in wait_until_inactive()
59 if (++data->n < data->max) { in bh_test_cb()
60 qemu_bh_schedule(data->bh); in bh_test_cb()
67 if (++data->n < data->max) { in timer_test_cb()
68 timer_mod(&data->timer, in timer_test_cb()
[all …]

12345678910>>...41