Home
last modified time | relevance | path

Searched +full:- +full:n (Results 1 – 25 of 1049) sorted by relevance

12345678910>>...42

/qemu/hw/net/
H A Dvirtio-net.c10 * the COPYING file in the top-level directory.
18 #include "qemu/main-loop.h"
24 #include "qemu/error-report.h"
28 #include "qemu/config-file.h"
30 #include "hw/virtio/virtio-net.h"
33 #include "hw/virtio/virtio-bus.h"
35 #include "qapi/qapi-events-net.h"
36 #include "hw/qdev-properties.h"
37 #include "qapi/qapi-types-migration.h"
38 #include "qapi/qapi-events-migration.h"
[all …]
/qemu/hw/virtio/
H A Dvirtio-hmp-cmds.c11 #include "qapi/qapi-commands-virtio.h"
18 strList *pcol_list = pcol->protocols; in hmp_virtio_dump_protocols()
20 monitor_printf(mon, "\t%s", pcol_list->value); in hmp_virtio_dump_protocols()
21 pcol_list = pcol_list->next; in hmp_virtio_dump_protocols()
23 monitor_printf(mon, ",\n"); in hmp_virtio_dump_protocols()
26 monitor_printf(mon, "\n"); in hmp_virtio_dump_protocols()
27 if (pcol->has_unknown_protocols) { in hmp_virtio_dump_protocols()
28 monitor_printf(mon, " unknown-protocols(0x%016"PRIx64")\n", in hmp_virtio_dump_protocols()
29 pcol->unknown_protocols); in hmp_virtio_dump_protocols()
36 strList *status_list = status->statuses; in hmp_virtio_dump_status()
[all …]
/qemu/scripts/
H A Dmeson-buildoptions.sh1 # This file is generated by meson-buildoptions.py, do not edit!
3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co'
4 printf "%s\n" ' reaudio/default/dsound/jack/oss/pa/pipewire/sdl/s'
5 printf "%s\n" ' ndio)'
6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]'
7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE'
8 printf "%s\n" ' set block driver read-only whitelist (by default'
9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE'
11 printf "%s\n" ' set block driver read-write whitelist (by default'
[all …]
/qemu/tests/tcg/i386/
H A Dtest-mmx.c7 #define TEST_FILE "test-mmx.h"
31 int n; member
41 static void dump_mmx(int n, const uint64_t *r, int ff) in dump_mmx() argument
46 printf("MM%d = %016lx %8g %8g\n", n, *r, v[1], v[0]); in dump_mmx()
48 printf("MM%d = %016lx\n", n, *r); in dump_mmx()
52 static void dump_xmm(const char *name, int n, const v2di *r, int ff) in dump_xmm() argument
54 printf("%s%d = %016lx %016lx\n", in dump_xmm()
55 name, n, r->q1, r->q0); in dump_xmm()
59 printf(" %8g %8g %8g %8g\n", in dump_xmm()
69 dump_mmx(i, &s->mm[i], ff); in dump_regs()
[all …]
H A Dtest-avx.c24 int n; member
35 static void dump_ymm(const char *name, int n, const v4di *r, int ff) in dump_ymm() argument
37 printf("%s%d = %016lx %016lx %016lx %016lx\n", in dump_ymm()
38 name, n, r->q3, r->q2, r->q1, r->q0); in dump_ymm()
42 printf(" %16g %16g %16g %16g\n", in dump_ymm()
47 printf(" %8g %8g %8g %8g %8g %8g %8g %8g\n", in dump_ymm()
57 dump_ymm("ymm", i, &s->ymm[i], 0); in dump_regs()
60 dump_ymm("mem", i, &s->mem0[i], 0); in dump_regs()
68 if (a->mm[i] != b->mm[i]) { in compare_state()
69 printf("MM%d = %016lx\n", i, b->mm[i]); in compare_state()
[all …]
H A Dtest-i386.c83 #include "test-i386.h"
86 #include "test-i386.h"
89 #include "test-i386.h"
92 #include "test-i386.h"
95 #include "test-i386.h"
98 #include "test-i386.h"
102 #include "test-i386.h"
106 #include "test-i386.h"
111 #include "test-i386.h"
116 #include "test-i386.h"
[all …]
/qemu/host/include/loongarch64/host/
H A Dbufferiszero.c.inc2 * SPDX-License-Identifier: GPL-2.0-or-later
16 const void *e = QEMU_ALIGN_PTR_DOWN(buf + len - 1, 16) - (7 * 16);
20 asm("vld $vr0,%2,0\n\t" /* first: buf + 0 */
21 "vld $vr1,%4,-16\n\t" /* last: buf + len - 16 */
22 "vld $vr2,%3,0\n\t" /* e[0] */
23 "vld $vr3,%3,16\n\t" /* e[1] */
24 "vld $vr4,%3,32\n\t" /* e[2] */
25 "vld $vr5,%3,48\n\t" /* e[3] */
26 "vld $vr6,%3,64\n\t" /* e[4] */
27 "vld $vr7,%3,80\n\t" /* e[5] */
[all …]
/qemu/tests/vm/
H A Dopenbsd5 # Copyright 2017-2019 Red Hat Inc.
12 # the COPYING file in the top-level directory.
40 "gettext-tools",
43 "libusb1--",
66 set -e;
67 rm -rf /home/qemu/qemu-test.*
68 cd $(mktemp -d /home/qemu/qemu-test.XXXXXX);
70 tar -xf /dev/rsd1c;
72 ../src/configure --cc=cc --extra-cflags=-I/usr/local/include \
73 --extra-ldflags=-L/usr/local/lib {configure_opts};
[all …]
H A Dnetbsd5 # Copyright 2017-2019 Red Hat Inc.
12 # the COPYING file in the top-level directory.
25 link = "https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/images/NetBSD-9.3-amd64.iso"
30 "git-base",
34 "ninja-build",
40 "gettext-tools",
66 set -e;
67 rm -rf /home/qemu/qemu-test.*
68 cd $(mktemp -d /home/qemu/qemu-test.XXXXXX);
70 tar -xf /dev/rld1a;
[all …]
/qemu/target/loongarch/
H A Dgdbstub.c6 * SPDX-License-Identifier: LGPL-2.1+
21 ret |= (uint64_t)env->cf[i] << (i * 8); in read_fcc()
30 env->cf[i] = (val >> (i * 8)) & 1; in write_fcc()
34 int loongarch_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n) in loongarch_cpu_gdb_read_register() argument
38 if (0 <= n && n <= 34) { in loongarch_cpu_gdb_read_register()
41 if (n < 32) { in loongarch_cpu_gdb_read_register()
42 val = env->gpr[n]; in loongarch_cpu_gdb_read_register()
43 } else if (n == 32) { in loongarch_cpu_gdb_read_register()
46 } else if (n == 33) { in loongarch_cpu_gdb_read_register()
47 val = env->pc; in loongarch_cpu_gdb_read_register()
[all …]
/qemu/hw/nvme/
H A Dctrl.c14 * https://nvmexpress.org/developers/nvme-specification/
18 * ---------------------
24 * -----
28 * -drive file=<file>,if=none,id=<drive_id>
29 * -device nvme-subsys,id=<subsys_id>,nqn=<nqn_id>
30 * -device nvme,serial=<serial>,id=<bus_name>, \
33 * max_ioqpairs=<N[optional]>, \
34 * aerl=<N[optional]>,aer_max_queued=<N[optional]>, \
35 * mdts=<N[optional]>,vsl=<N[optional]>, \
36 * zoned.zasl=<N[optional]>, \
[all …]
/qemu/storage-daemon/
H A Dqemu-storage-daemon.c4 * Copyright (c) 2003-2008 Fabrice Bellard
35 #include "monitor/monitor-internal.h"
38 #include "qapi/qapi-visit-block-core.h"
39 #include "qapi/qapi-visit-block-export.h"
40 #include "qapi/qapi-visit-control.h"
43 #include "qapi/qobject-input-visitor.h"
45 #include "qemu/help-texts.h"
46 #include "qemu-version.h"
48 #include "qemu/config-file.h"
49 #include "qemu/error-report.h"
[all …]
/qemu/target/hexagon/
H A Dgdbstub.c2 * Copyright(c) 2019-2024 Qualcomm Innovation Center, Inc. All Rights Reserved.
23 int hexagon_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n) in hexagon_gdb_read_register() argument
27 if (n == HEX_REG_P3_0_ALIASED) { in hexagon_gdb_read_register()
30 p3_0 = deposit32(p3_0, i * 8, 8, env->pred[i]); in hexagon_gdb_read_register()
35 if (n < TOTAL_PER_THREAD_REGS) { in hexagon_gdb_read_register()
36 return gdb_get_regl(mem_buf, env->gpr[n]); in hexagon_gdb_read_register()
39 n -= TOTAL_PER_THREAD_REGS; in hexagon_gdb_read_register()
41 if (n < NUM_PREGS) { in hexagon_gdb_read_register()
42 return gdb_get_reg8(mem_buf, env->pred[n]); in hexagon_gdb_read_register()
45 n -= NUM_PREGS; in hexagon_gdb_read_register()
[all …]
/qemu/hw/core/
H A Dmachine-hmp-cmds.c10 * the COPYING file in the top-level directory.
12 * Contributions after 2012-01-13 are licensed under the terms of the
20 #include "qapi/qapi-builtin-visit.h"
21 #include "qapi/qapi-commands-machine.h"
23 #include "qapi/string-output-visitor.h"
24 #include "qemu/error-report.h"
34 for (cpu = cpu_list; cpu; cpu = cpu->next) { in hmp_info_cpus()
37 if (cpu->value->cpu_index == monitor_get_cpu_index(mon)) { in hmp_info_cpus()
42 cpu->value->cpu_index); in hmp_info_cpus()
43 monitor_printf(mon, " thread_id=%" PRId64 "\n", cpu->value->thread_id); in hmp_info_cpus()
[all …]
/qemu/scripts/coccinelle/
H A Duse-g_new-etc.cocci5 -g_malloc(sizeof(T))
10 -g_try_malloc(sizeof(T))
15 -g_malloc0(sizeof(T))
20 -g_try_malloc0(sizeof(T))
24 expression n;
26 -g_malloc(sizeof(T) * (n))
27 +g_new(T, n)
30 expression n;
32 -g_try_malloc(sizeof(T) * (n))
33 +g_try_new(T, n)
[all …]
/qemu/linux-user/alpha/
H A Dtarget_proc.h2 * Alpha specific proc functions for linux-user
4 * SPDX-License-Identifier: GPL-2.0-or-later
18 p = object_class_get_name(OBJECT_CLASS(env_cpu(cpu_env)->cc)); in open_cpuinfo()
19 q = strchr(p, '-'); in open_cpuinfo()
20 t = q - p; in open_cpuinfo()
28 cpu_mask = -1; in open_cpuinfo()
30 cpu_mask = (1UL << num_cpus) - 1; in open_cpuinfo()
35 "cpu\t\t\t: Alpha\n" in open_cpuinfo()
36 "cpu model\t\t: %s\n" in open_cpuinfo()
37 "cpu variation\t\t: 0\n" in open_cpuinfo()
[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"
26 int n; member
34 while (data->active > 0) { in wait_until_inactive()
43 int n; member
50 int n; member
59 if (++data->n < data->max) { in bh_test_cb()
60 qemu_bh_schedule(data->bh); in bh_test_cb()
[all …]
/qemu/tests/tcg/aarch64/
H A Dsme-outprod1.c3 * SPDX-License-Identifier: GPL-2.0-or-later
11 " .arch_extension sme\n"
12 " .type foo, @function\n"
13 "foo:\n"
14 " stp x29, x30, [sp, -80]!\n"
15 " mov x29, sp\n"
16 " stp d8, d9, [sp, 16]\n"
17 " stp d10, d11, [sp, 32]\n"
18 " stp d12, d13, [sp, 48]\n"
19 " stp d14, d15, [sp, 64]\n"
[all …]
/qemu/target/sparc/
H A Dgdbstub.c4 * Copyright (c) 2003-2005 Fabrice Bellard
30 int sparc_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n) in sparc_cpu_gdb_read_register() argument
34 if (n < 8) { in sparc_cpu_gdb_read_register()
36 return gdb_get_rega(mem_buf, env->gregs[n]); in sparc_cpu_gdb_read_register()
38 if (n < 32) { in sparc_cpu_gdb_read_register()
40 return gdb_get_rega(mem_buf, env->regwptr[n - 8]); in sparc_cpu_gdb_read_register()
43 if (n < 64) { in sparc_cpu_gdb_read_register()
45 if (n & 1) { in sparc_cpu_gdb_read_register()
46 return gdb_get_reg32(mem_buf, env->fpr[(n - 32) / 2].l.lower); in sparc_cpu_gdb_read_register()
48 return gdb_get_reg32(mem_buf, env->fpr[(n - 32) / 2].l.upper); in sparc_cpu_gdb_read_register()
[all …]
/qemu/
H A Dqemu-keymap.c10 * See the COPYING file in the top-level directory.
33 /* ------------------------------------------------------------------------ */
57 fprintf(outfile, "%s 0x%02x%s\n", name, qcode_to_number(qcode), mod); in print_sym()
67 fprintf(outfile, "\n"); in walk_map()
70 * map xkb keycode -> QKeyCode in walk_map()
74 evdev = code - 8; in walk_map()
80 fprintf(outfile, "# evdev %d (0x%x): no evdev -> QKeyCode mapping" in walk_map()
81 " (xkb keysym %s)\n", evdev, evdev, name); in walk_map()
84 fprintf(outfile, "# evdev %d (0x%x), QKeyCode \"%s\", number 0x%x\n", in walk_map()
124 "\n" in usage()
[all …]
/qemu/hw/i386/kvm/
H A Dxenstore_impl.c9 * See the COPYING file in the top-level directory.
30 "0123456789-/_"
81 if (tx->base_tx == *new_tx_id) { in nobble_tx()
83 tx->base_tx = XBT_NULL; in nobble_tx()
93 tx_id = ++s->last_tx; in next_tx()
94 } while (tx_id == XBT_NULL || tx_id == s->root_tx || in next_tx()
95 g_hash_table_lookup(s->transactions, GINT_TO_POINTER(tx_id))); in next_tx()
99 * is based on the (previous incarnation of the) newly-allocated TX id. in next_tx()
101 g_hash_table_foreach(s->transactions, nobble_tx, &tx_id); in next_tx()
108 XsNode *n = g_new0(XsNode, 1); in xs_node_new() local
[all …]
/qemu/target/arm/tcg/
H A Darith_helper.c6 * SPDX-License-Identifier: GPL-2.0-or-later
13 #include "exec/helper-proto.h.inc"
23 /* Perform 16-bit signed saturating addition. */
39 /* Perform 8-bit signed saturating addition. */
55 /* Perform 16-bit signed saturating subtraction. */
60 res = a - b; in sub16_sat()
71 /* Perform 8-bit signed saturating subtraction. */
76 res = a - b; in sub8_sat()
87 #define ADD16(a, b, n) RESULT(add16_sat(a, b), n, 16); argument
88 #define SUB16(a, b, n) RESULT(sub16_sat(a, b), n, 16); argument
[all …]
/qemu/tests/lcitool/
H A Drefresh3 # Re-generate container recipes
7 # https://gitlab.com/libvirt/libvirt-ci
13 # the top-level directory.
28 lcitool_path = Path(self_dir, "libvirt-ci", "bin", "lcitool")
30 lcitool_cmd = [lcitool_path, "--data-dir", self_dir]
63 " id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi\n"
70 cmd.extend(["--cross", cross])
74 trailer += "\n".join(add_user_mapping)
76 trailer = "\n".join(add_user_mapping)
82 filename = Path(src_dir, ".gitlab-ci.d", "cirrus", target + ".vars")
[all …]
/qemu/target/ppc/
H A Dgdbstub.c4 * Copyright (c) 2003-2005 Fabrice Bellard
26 static int ppc_gdb_register_len_apple(int n) in ppc_gdb_register_len_apple() argument
28 switch (n) { in ppc_gdb_register_len_apple()
51 static int ppc_gdb_register_len(int n) in ppc_gdb_register_len() argument
53 switch (n) { in ppc_gdb_register_len()
78 * ordering. For user-only mode we get this for free;
82 * mode of the chip to see if we're running in little-endian.
87 if (!FIELD_EX64(env->msr, MSR, LE)) { in ppc_maybe_bswap_register()
102 * Old gdb always expects FP registers. Newer (xml-aware) gdb only
109 int ppc_cpu_gdb_read_register(CPUState *cs, GByteArray *buf, int n) in ppc_cpu_gdb_read_register() argument
[all …]
/qemu/util/
H A Dqdist.c2 * qdist.c - QEMU helpers for handling frequency distributions of data.
7 * See the COPYING file in the top-level directory.
21 dist->entries = g_new(struct qdist_entry, 1); in qdist_init()
22 dist->size = 1; in qdist_init()
23 dist->n = 0; in qdist_init()
28 g_free(dist->entries); in qdist_destroy()
36 return -1; in qdist_cmp_double()
46 return qdist_cmp_double(a->x, b->x); in qdist_cmp()
53 if (dist->n) { in qdist_add()
57 entry = bsearch(&e, dist->entries, dist->n, sizeof(e), qdist_cmp); in qdist_add()
[all …]

12345678910>>...42