Home
last modified time | relevance | path

Searched +full:- +full:p (Results 1 – 25 of 1109) sorted by relevance

12345678910>>...45

/qemu/pc-bios/
HDopenbios-ppc ... o *| *T }* *, * ' - o + -P , }* , ,L ...
HDopenbios-sparc32 ... Rstack Forth key ( Empty ) ( %x %p: %s R: ( ) outer-interpreter
/qemu/hw/usb/
H A Dcore.c39 USBDevice *udev = port->dev; in usb_pick_speed()
43 if ((udev->speedmask & (1 << speeds[i])) && in usb_pick_speed()
44 (port->speedmask & (1 << speeds[i]))) { in usb_pick_speed()
45 udev->speed = speeds[i]; in usb_pick_speed()
53 USBDevice *dev = port->dev; in usb_attach()
56 assert(dev->attached); in usb_attach()
57 assert(dev->state == USB_STATE_NOTATTACHED); in usb_attach()
59 port->ops->attach(port); in usb_attach()
60 dev->state = USB_STATE_ATTACHED; in usb_attach()
66 USBDevice *dev = port->dev; in usb_detach()
[all …]
H A Dcombined-packet.c28 static void usb_combined_packet_add(USBCombinedPacket *combined, USBPacket *p) in usb_combined_packet_add() argument
30 qemu_iovec_concat(&combined->iov, &p->iov, 0, p->iov.size); in usb_combined_packet_add()
31 QTAILQ_INSERT_TAIL(&combined->packets, p, combined_entry); in usb_combined_packet_add()
32 p->combined = combined; in usb_combined_packet_add()
37 USBPacket *p) in usb_combined_packet_remove() argument
39 assert(p->combined == combined); in usb_combined_packet_remove()
40 p->combined = NULL; in usb_combined_packet_remove()
41 QTAILQ_REMOVE(&combined->packets, p, combined_entry); in usb_combined_packet_remove()
42 if (QTAILQ_EMPTY(&combined->packets)) { in usb_combined_packet_remove()
43 qemu_iovec_destroy(&combined->iov); in usb_combined_packet_remove()
[all …]
/qemu/tests/qemu-iotests/
H A D07754 echo "open -o driver=$IMGFMT,file.align=4k blkdebug::$TEST_IMG"
57 aio_write -P 10 0x200 0x200
66 aio_write -P 10 $((off + 0x200)) 0x200
68 aio_write -P 11 $((off + 0x400)) 0x200
79 aio_write -P 10 0x5000 0x200
81 aio_write -P 11 0x5200 0x200
82 aio_write -P 12 0x5400 0x200
83 aio_write -P 13 0x5600 0x200
84 aio_write -P 14 0x5800 0x200
85 aio_write -P 15 0x5a00 0x200
[all …]
H A D04663 for ((i=0;i<=$((sectors - 1));i++)); do
67 echo "$op -P $pattern $((cur_sec * 64))k 64k"
74 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 6G
84 aio_write -P 10 0x18000 0x2000
87 aio_write -P 11 0x12000 0x2000
88 aio_write -P 12 0x1c000 0x2000
98 aio_write -P 20 0x28000 0x2000
100 aio_write -P 21 0x2a000 0x10000
108 aio_write -P 40 0x48000 0x2000
110 aio_write -P 41 0x4c000 0x10000
[all …]
H A D021.out4 == testing writev -P -1 ==
5 -1 is not a valid pattern byte
7 == testing read -P -1 ==
8 -1 is not a valid pattern byte
10 == testing write -P -1 ==
11 -1 is not a valid pattern byte
13 == testing readv -P -1 ==
14 -1 is not a valid pattern byte
16 == testing aio_read -P -1 ==
17 -1 is not a valid pattern byte
[all …]
H A D07355 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT
56 $QEMU_IO -c "write -P 0xa5 0 $size" "$TEST_IMG.base" | _filter_qemu_io
59 echo "== normal -> unallocated =="
61 $QEMU_IO -c "write -P 0x11 0 0x10000" "$TEST_IMG" | _filter_qemu_io
62 $QEMU_IO -c "write -P 0x11 0x10000 0x10000" "$TEST_IMG.base" | _filter_qemu_io
64 $QEMU_IO -c "read -P 0x11 0 0x20000" "$TEST_IMG" | _filter_qemu_io
67 echo "== normal -> compressed =="
69 $QEMU_IO -c "write -P 0x22 0x20000 0x10000" "$TEST_IMG" | _filter_qemu_io
70 $QEMU_IO -c "write -c -P 0x22 0x30000 0x10000" "$TEST_IMG" | _filter_qemu_io
72 $QEMU_IO -c "read -P 0x22 0x20000 0x20000" "$TEST_IMG" | _filter_qemu_io
[all …]
/qemu/migration/
H A Dmultifd.c4 * Copyright (c) 2019-2020 Red Hat Inc
10 * See the COPYING file in the top-level directory.
20 #include "qemu/error-report.h"
25 #include "migration-stats.h"
29 #include "qemu-file.h"
35 #include "io/channel-file.h"
36 #include "io/channel-socket.h"
105 multifd_ram_payload_alloc(&new->u.ram); in multifd_send_data_alloc()
106 /* Device state allocates its payload on-demand */ in multifd_send_data_alloc()
117 switch (data->type) { in multifd_send_data_clear()
[all …]
H A Dmultifd-nocomp.c4 * Copyright (c) 2019-2020 Red Hat Inc
10 * See the COPYING file in the top-level directory.
17 #include "migration-stats.h"
23 #include "qemu/error-report.h"
25 #include "qemu-file.h"
31 pages->offset = g_new0(ram_addr_t, multifd_ram_page_count()); in multifd_ram_payload_alloc()
36 g_clear_pointer(&pages->offset, g_free); in multifd_ram_payload_free()
49 static void multifd_set_file_bitmap(MultiFDSendParams *p) in multifd_set_file_bitmap() argument
51 MultiFDPages_t *pages = &p->data->u.ram; in multifd_set_file_bitmap()
53 assert(pages->block); in multifd_set_file_bitmap()
[all …]
H A Dmultifd-zstd.c10 * See the COPYING file in the top-level directory.
40 static int multifd_zstd_send_setup(MultiFDSendParams *p, Error **errp) in multifd_zstd_send_setup() argument
45 z->zcs = ZSTD_createCStream(); in multifd_zstd_send_setup()
46 if (!z->zcs) { in multifd_zstd_send_setup()
48 error_setg(errp, "multifd %u: zstd createCStream failed", p->id); in multifd_zstd_send_setup()
49 return -1; in multifd_zstd_send_setup()
52 res = ZSTD_initCStream(z->zcs, migrate_multifd_zstd_level()); in multifd_zstd_send_setup()
54 ZSTD_freeCStream(z->zcs); in multifd_zstd_send_setup()
57 p->id, ZSTD_getErrorName(res)); in multifd_zstd_send_setup()
58 return -1; in multifd_zstd_send_setup()
[all …]
H A Dmultifd-zlib.c10 * See the COPYING file in the top-level directory.
37 static int multifd_zlib_send_setup(MultiFDSendParams *p, Error **errp) in multifd_zlib_send_setup() argument
40 z_stream *zs = &z->zs; in multifd_zlib_send_setup()
43 zs->zalloc = Z_NULL; in multifd_zlib_send_setup()
44 zs->zfree = Z_NULL; in multifd_zlib_send_setup()
45 zs->opaque = Z_NULL; in multifd_zlib_send_setup()
51 z->zbuff_len = compressBound(MULTIFD_PACKET_SIZE); in multifd_zlib_send_setup()
52 z->zbuff = g_try_malloc(z->zbuff_len); in multifd_zlib_send_setup()
53 if (!z->zbuff) { in multifd_zlib_send_setup()
57 z->buf = g_try_malloc(qemu_target_page_size()); in multifd_zlib_send_setup()
[all …]
H A Dmultifd-uadk.c10 * See the COPYING file in the top-level directory.
20 #include "qemu/error-report.h"
36 if (ret && ret != -WD_EEXIST) { in uadk_hw_init()
67 wd->handle = wd_comp_alloc_sess(&ss); in multifd_uadk_init_sess()
68 if (!wd->handle) { in multifd_uadk_init_sess()
77 wd->buf = g_try_malloc(size); in multifd_uadk_init_sess()
78 if (!wd->buf) { in multifd_uadk_init_sess()
82 wd->buf_hdr = g_new0(uint32_t, count); 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()
[all …]
/qemu/util/
H A Dtrace-events3 # aio-posix.c
4 run_poll_handlers_begin(void *ctx, int64_t max_ns, int64_t timeout) "ctx %p max_ns %"PRId64 " timeo…
5 run_poll_handlers_end(void *ctx, bool progress, int64_t timeout) "ctx %p progress %d new timeout %"…
6 poll_shrink(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64
7 poll_grow(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64
8 poll_add(void *ctx, void *node, int fd, unsigned revents) "ctx %p node %p fd %d revents 0x%x"
9 poll_remove(void *ctx, void *node, int fd) "ctx %p node %p fd %d"
12 aio_co_schedule(void *ctx, void *co) "ctx %p co %p"
13 aio_co_schedule_bh_cb(void *ctx, void *co) "ctx %p co %p"
14 reentrant_aio(void *ctx, const char *name) "ctx %p name %s"
[all …]
/qemu/io/
H A Dtrace-events4 …(void *task, void *source, void *func, void *opaque) "Task new task=%p source=%p func=%p opaque=%p"
5 qio_task_complete(void *task) "Task complete task=%p"
6 …hread_start(void *task, void *worker, void *opaque) "Task thread start task=%p worker=%p opaque=%p"
7 qio_task_thread_run(void *task) "Task thread run task=%p"
8 qio_task_thread_exit(void *task) "Task thread exit task=%p"
9 qio_task_thread_result(void *task) "Task thread result task=%p"
10 …o_task_thread_source_attach(void *task, void *source) "Task thread source attach task=%p source=%p"
11 …o_task_thread_source_cancel(void *task, void *source) "Task thread source cancel task=%p source=%p"
13 # channel-null.c
14 qio_channel_null_new(void *ioc) "Null new ioc=%p"
[all …]
/qemu/block/
H A Dtrace-events4 bdrv_open_common(void *bs, const char *filename, int flags, const char *format_name) "bs %p filenam…
5 bdrv_lock_medium(void *bs, bool locked) "bs %p locked %d"
7 # block-backend.c
8 blk_co_preadv(void *blk, void *bs, int64_t offset, int64_t bytes, int flags) "blk %p bs %p offset %…
9 blk_co_pwritev(void *blk, void *bs, int64_t offset, int64_t bytes, int flags) "blk %p bs %p offset …
10 blk_root_attach(void *child, void *blk, void *bs) "child %p blk %p bs %p"
11 blk_root_detach(void *child, void *blk, void *bs) "child %p blk %p bs %p"
14 bdrv_co_preadv_part(void *bs, int64_t offset, int64_t bytes, unsigned int flags) "bs %p offset %" P…
15 bdrv_co_pwritev_part(void *bs, int64_t offset, int64_t bytes, unsigned int flags) "bs %p offset %" …
16 bdrv_co_pwrite_zeroes(void *bs, int64_t offset, int64_t bytes, int flags) "bs %p offset %" PRId64 "…
[all …]
/qemu/tests/tcg/s390x/
H A Dfma.c2 * Test floating-point multiply-and-add instructions.
4 * SPDX-License-Identifier: GPL-2.0-or-later
24 …/* -inf -Fn -0 +0 +Fn +inf Q…
25 …{/* -inf */ "P(+inf)", "P(+inf)", "Xi: T(dNaN)", "Xi: T(dNaN)", "P(-inf)", "P(-inf)", …
26 …{/* -Fn */ "P(+inf)", "P(a*b)", "P(+0)", "P(-0)", "P(a*b)", "P(-inf)", …
27 …{/* -0 */ "Xi: T(dNaN)", "P(+0)", "P(+0)", "P(-0)", "P(-0)", "Xi: T(dNaN)", …
28 …{/* +0 */ "Xi: T(dNaN)", "P(-0)", "P(-0)", "P(+0)", "P(+0)", "Xi: T(dNaN)", …
29 …{/* +Fn */ "P(-inf)", "P(a*b)", "P(-0)", "P(+0)", "P(a*b)", "P(+inf)", …
30 …{/* +inf */ "P(-inf)", "P(-inf)", "Xi: T(dNaN)", "Xi: T(dNaN)", "P(+inf)", "P(+inf)", …
31 …{/* QNaN */ "P(a)", "P(a)", "P(a)", "P(a)", "P(a)", "P(a)", …
[all …]
/qemu/bsd-user/
H A Dbsd-file.h25 #define LOCK_PATH(p, arg) \ argument
27 (p) = lock_user_string(arg); \
28 if ((p) == NULL) { \
29 return -TARGET_EFAULT; \
33 #define UNLOCK_PATH(p, arg) unlock_user(p, arg, 0) argument
39 return -TARGET_EFAULT; \
44 return -TARGET_EFAULT; \
74 void *p; in do_bsd_read() local
76 p = lock_user(VERIFY_WRITE, arg2, arg3, 0); in do_bsd_read()
77 if (p == NULL) { in do_bsd_read()
[all …]
/qemu/monitor/
H A Dhmp.c4 * Copyright (c) 2003-2004 Fabrice Bellard
27 #include "hw/qdev-core.h"
28 #include "monitor-internal.h"
32 #include "qemu/config-file.h"
38 #include "system/block-backend.h"
46 monitor_suspend(&mon->common); in monitor_command_cb()
48 monitor_resume(&mon->common); in monitor_command_cb()
53 if (!mon->rs) { in monitor_read_command()
57 readline_start(mon->rs, "(qemu) ", 0, monitor_command_cb, NULL); in monitor_read_command()
59 readline_show_prompt(mon->rs); in monitor_read_command()
[all …]
/qemu/ui/
H A Dtrace-events13 displaysurface_create_from(void *display_surface, int w, int h, uint32_t format) "surface=%p, %dx%d…
14 displaysurface_create_pixman(void *display_surface) "surface=%p"
15 displaysurface_free(void *display_surface) "surface=%p"
16 displaychangelistener_register(void *dcl, const char *name) "%p [ %s ]"
17 displaychangelistener_unregister(void *dcl, const char *name) "%p [ %s ]"
18 ppm_save(int fd, void *image) "fd=%d image=%p"
20 # gtk-egl.c
21 # gtk-gl-area.c
29 gd_gl_area_create_context(void *ctx, int major, int minor) "ctx=%p, major=%d, minor=%d"
30 gd_gl_area_destroy_context(void *ctx, void *current_ctx) "ctx=%p, current_ctx=%p"
[all …]
/qemu/hw/ide/
H A Dtrace-events5 …_t val, void *bus, void *s) "IDE PIO rd @ 0x%"PRIx32" (%s); val 0x%02"PRIx32"; bus %p IDEState %p"
6 …2_t val, void *bus, void *s) "IDE PIO wr @ 0x%"PRIx32" (%s); val 0x%02"PRIx32"; bus %p IDEState %p"
7 …) "IDE PIO rd @ 0x%"PRIx32" (Alt Status); val 0x%02"PRIx32"; bus %p; IDEState %p"
8 … "IDE PIO wr @ 0x%"PRIx32" (Device Control); val 0x%02"PRIx32"; bus %p"
10 … "IDE PIO rd @ 0x%"PRIx32" (Data: Word); val 0x%04"PRIx32"; bus %p; IDEState %p"
11 …) "IDE PIO wr @ 0x%"PRIx32" (Data: Word); val 0x%04"PRIx32"; bus %p; IDEState %p"
12 … "IDE PIO rd @ 0x%"PRIx32" (Data: Long); val 0x%08"PRIx32"; bus %p; IDEState %p"
13 …) "IDE PIO wr @ 0x%"PRIx32" (Data: Long); val 0x%08"PRIx32"; bus %p; IDEState %p"
15 ide_bus_exec_cmd(void *bus, void *state, uint32_t cmd) "IDE exec cmd: bus %p; state %p; cmd 0x%02x"
16 ide_cancel_dma_sync_buffered(void *fn, void *req) "invoking cb %p of buffered request %p with -ECAN…
[all …]
/qemu/hw/misc/
H A Dnpcm7xx_pwm.c19 #include "hw/qdev-clock.h"
20 #include "hw/qdev-properties.h"
25 #include "qemu/error-report.h"
71 static uint32_t npcm7xx_pwm_calculate_freq(NPCM7xxPWM *p) in npcm7xx_pwm_calculate_freq() argument
77 if (!p->running) { in npcm7xx_pwm_calculate_freq()
81 csr = NPCM7XX_CSR(p->module->csr, p->index); in npcm7xx_pwm_calculate_freq()
82 ppr = NPCM7XX_PPR(p->module->ppr, p->index); in npcm7xx_pwm_calculate_freq()
83 freq = clock_get_hz(p->module->clock); in npcm7xx_pwm_calculate_freq()
97 return freq / (p->cnr + 1); in npcm7xx_pwm_calculate_freq()
100 static uint32_t npcm7xx_pwm_calculate_duty(NPCM7xxPWM *p) in npcm7xx_pwm_calculate_duty() argument
[all …]
/qemu/tests/tcg/hexagon/
H A Dfloat_madds.ref2 op : f32(-nan:0xffa00000) * f32(-nan:0xffc00000) + f32(-inf:0xff800000)
3 res: f32(-nan:0xffffffff) flags=INVALID (0/0)
4 op : f32(-nan:0xffc00000) * f32(-inf:0xff800000) + f32(-nan:0xffa00000)
5 res: f32(-nan:0xffffffff) flags=INVALID (0/1)
6 op : f32(-inf:0xff800000) * f32(-nan:0xffa00000) + f32(-nan:0xffc00000)
7 res: f32(-nan:0xffffffff) flags=INVALID (0/2)
8 op : f32(-nan:0xffc00000) * f32(-inf:0xff800000) + f32(-0x1.fffffe00000000000000p+127:0xff7fffff)
9 res: f32(-nan:0xffffffff) flags=OK (1/0)
10 op : f32(-inf:0xff800000) * f32(-0x1.fffffe00000000000000p+127:0xff7fffff) + f32(-nan:0xffc00000)
11 res: f32(-nan:0xffffffff) flags=OK (1/1)
[all …]
/qemu/tests/tcg/ppc64le/
H A Dfloat_madds.ref2 op : f32(-nan:0xffa00000) * f32(-nan:0xffc00000) + f32(-inf:0xff800000)
3 res: f32(-nan:0xffe00000) flags=INVALID (0/0)
4 op : f32(-nan:0xffc00000) * f32(-inf:0xff800000) + f32(-nan:0xffa00000)
5 res: f32(-nan:0xffc00000) flags=INVALID (0/1)
6 op : f32(-inf:0xff800000) * f32(-nan:0xffa00000) + f32(-nan:0xffc00000)
7 res: f32(-nan:0xffc00000) flags=INVALID (0/2)
8 op : f32(-nan:0xffc00000) * f32(-inf:0xff800000) + f32(-0x1.fffffe00000000000000p+127:0xff7fffff)
9 res: f32(-nan:0xffc00000) flags=OK (1/0)
10 op : f32(-inf:0xff800000) * f32(-0x1.fffffe00000000000000p+127:0xff7fffff) + f32(-nan:0xffc00000)
11 res: f32(-nan:0xffc00000) flags=OK (1/1)
[all …]
/qemu/tests/tcg/aarch64/
H A Dfloat_madds.ref2 op : f32(-nan:0xffa00000) * f32(-nan:0xffc00000) + f32(-inf:0xff800000)
3 res: f32(-nan:0xffe00000) flags=INVALID (0/0)
4 op : f32(-nan:0xffc00000) * f32(-inf:0xff800000) + f32(-nan:0xffa00000)
5 res: f32(-nan:0xffe00000) flags=INVALID (0/1)
6 op : f32(-inf:0xff800000) * f32(-nan:0xffa00000) + f32(-nan:0xffc00000)
7 res: f32(-nan:0xffe00000) flags=INVALID (0/2)
8 op : f32(-nan:0xffc00000) * f32(-inf:0xff800000) + f32(-0x1.fffffe00000000000000p+127:0xff7fffff)
9 res: f32(-nan:0xffc00000) flags=OK (1/0)
10 op : f32(-inf:0xff800000) * f32(-0x1.fffffe00000000000000p+127:0xff7fffff) + f32(-nan:0xffc00000)
11 res: f32(-nan:0xffc00000) flags=OK (1/1)
[all …]

12345678910>>...45