/qemu/system/ |
H A D | bootdevice.c | 251 size_t total = 0; in get_boot_devices_list() local 262 if (total) { in get_boot_devices_list() 263 list[total-1] = '\n'; in get_boot_devices_list() 268 total += len; in get_boot_devices_list() 272 *size = total; in get_boot_devices_list() 276 list[total-1] = '\n'; in get_boot_devices_list() 279 *size = total + 5; in get_boot_devices_list() 407 size_t total = 0; in get_boot_devices_lchs_list() local 419 if (total) { in get_boot_devices_lchs_list() 425 total += len; in get_boot_devices_lchs_list() [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 184.out | 127 "bps-total": 0, 128 "iops-total-max-length": 1, 129 "iops-total": 1000, 132 "bps-total-max": 0, 138 "bps-total-max-length": 1, 142 "iops-total-max": 0 154 "bps-total": 0, 156 "iops-total": 0, 159 "bps-total-max": 0, 165 "bps-total-max-length": 1, [all …]
|
H A D | 219.out | 6 {"return": [{"current-progress": "FILTERED", "id": "job0", "status": "running", "total-progress": "… 14 {"return": [{"current-progress": 65536, "id": "job0", "status": "paused", "total-progress": 4194304… 17 {"return": [{"current-progress": 131072, "id": "job0", "status": "running", "total-progress": 41943… 21 {"return": [{"current-progress": 131072, "id": "job0", "status": "paused", "total-progress": 419430… 24 {"return": [{"current-progress": 196608, "id": "job0", "status": "running", "total-progress": 41943… 28 {"return": [{"current-progress": 196608, "id": "job0", "status": "paused", "total-progress": 419430… 31 {"return": [{"current-progress": 262144, "id": "job0", "status": "running", "total-progress": 41943… 35 {"return": [{"current-progress": 262144, "id": "job0", "status": "paused", "total-progress": 419430… 38 {"return": [{"current-progress": 327680, "id": "job0", "status": "running", "total-progress": 41943… 49 {"return": [{"current-progress": 4194304, "id": "job0", "status": "ready", "total-progress": 419430… [all …]
|
H A D | 051 | 286 run_qemu -drive file="$TEST_IMG",iops=1234,throttling.iops-total=5678 290 run_qemu -drive file="$TEST_IMG",bps=1234,throttling.bps-total=5678 294 run_qemu -drive file="$TEST_IMG",iops_max=1234,throttling.iops-total-max=5678 298 run_qemu -drive file="$TEST_IMG",bps_max=1234,throttling.bps-total-max=5678 313 run_qemu -drive file="$TEST_IMG",throttling.iops-total=-4 314 run_qemu -drive file="$TEST_IMG",throttling.bps-total=-5
|
H A D | 051.out | 275 Testing: -drive file=TEST_DIR/t.qcow2,iops=1234,throttling.iops-total=5678 276 …OG: -drive file=TEST_DIR/t.qcow2,iops=1234,throttling.iops-total=5678: 'throttling.iops-total' and… 284 Testing: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678 285 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678: 'throttling.bps-total' … 293 Testing: -drive file=TEST_DIR/t.qcow2,iops_max=1234,throttling.iops-total-max=5678 294 …rive file=TEST_DIR/t.qcow2,iops_max=1234,throttling.iops-total-max=5678: 'throttling.iops-total-ma… 302 Testing: -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678 303 … -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678: 'throttling.bps-total-ma… 332 Testing: -drive file=TEST_DIR/t.qcow2,throttling.iops-total=-4 335 Testing: -drive file=TEST_DIR/t.qcow2,throttling.bps-total=-5 [all …]
|
/qemu/util/ |
H A D | qemu-co-shared-resource.c | 31 uint64_t total; /* Set in shres_create() and not changed anymore */ member 40 SharedResource *shres_create(uint64_t total) in shres_create() argument 44 s->total = s->available = total; in shres_create() 53 assert(s->available == s->total); in shres_destroy() 77 assert(n <= s->total); in co_get_from_shres() 87 assert(s->total - s->available >= n); in co_put_to_shres()
|
H A D | mmap-alloc.c | 254 size_t offset, total; in qemu_ram_mmap() local 261 total = size + align; in qemu_ram_mmap() 263 guardptr = mmap_reserve(total, fd); in qemu_ram_mmap() 277 munmap(guardptr, total); in qemu_ram_mmap() 289 total -= offset; in qemu_ram_mmap() 290 if (total > size + guard_pagesize) { in qemu_ram_mmap() 291 munmap(ptr + size + guard_pagesize, total - size - guard_pagesize); in qemu_ram_mmap()
|
H A D | iov.c | 148 ssize_t total = 0; in iov_send_recv() local 223 total += ret; in iov_send_recv() 228 return total; in iov_send_recv() 621 size_t total = 0; in iov_discard_front_undoable() local 637 total += bytes; in iov_discard_front_undoable() 647 return total; in iov_discard_front_undoable() 661 size_t total = 0; in iov_discard_back_undoable() local 682 total += bytes; in iov_discard_back_undoable() 692 return total; in iov_discard_back_undoable() 703 size_t total; in qemu_iovec_discard_back() local [all …]
|
H A D | osdep.c | 443 ssize_t total = 0; in qemu_write_full() local 455 total += ret; in qemu_write_full() 458 return total; in qemu_write_full() 506 ssize_t total = 0; in qemu_send_full() local 519 total += ret; in qemu_send_full() 522 return total; in qemu_send_full()
|
/qemu/docs/ |
H A D | throttle.txt | 34 | throttling.iops-total | iops | 37 | throttling.bps-total | bps | 53 -drive file=hd0.qcow2,throttling.iops-total=100 92 throttling.iops-total=100, 93 throttling.iops-total-max=2000, 94 throttling.iops-total-max-length=60 231 iops-total=100 232 iops-total-max=2000 233 iops-total-max-length=60 240 - If 'iops-total-max' is unset then 'iops-total-max-length' must be [all …]
|
H A D | multi-thread-compression.txt | 23 bandwidth is limited, and the total migration time can also be reduced 30 the total migration time. If the process of the compression is quick 31 enough, then the total migration time can be reduced, and multiple 78 total time(msec): | 3333 | 1833 86 total ram(kB): | 4211524 | 4211524 98 total time(msec): | 37369 | 15989 106 total ram(kB): | 4211524 | 4211524
|
/qemu/block/ |
H A D | progress_meter.c | 42 uint64_t *total) in progress_get_snapshot() argument 47 *total = pm->total; in progress_get_snapshot() 59 pm->total = pm->current + remaining; in progress_set_remaining() 65 pm->total += delta; in progress_increase_remaining()
|
/qemu/tests/unit/ |
H A D | test-bitmap.c | 18 unsigned long *bmap1, *bmap2, *bmap3, total; in check_bitmap_copy_with_offset() local 28 total = BITS_PER_LONG * 4; in check_bitmap_copy_with_offset() 31 bitmap_copy_with_dst_offset(bmap2, bmap1, 115, total); in check_bitmap_copy_with_offset() 33 bitmap_copy_with_dst_offset(bmap3, bmap2, 85, total + 115); in check_bitmap_copy_with_offset() 35 bitmap_copy_with_src_offset(bmap2, bmap3, 200, total); in check_bitmap_copy_with_offset() 37 g_assert_cmpmem(bmap1, total / BITS_PER_LONG, in check_bitmap_copy_with_offset() 38 bmap2, total / BITS_PER_LONG); in check_bitmap_copy_with_offset()
|
/qemu/tests/bench/ |
H A D | bufferiszero-bench.c | 23 double total = 0.0; in test() local 28 total += len; in test() 31 total /= MiB; in test() 34 total / g_test_timer_last()); in test()
|
H A D | benchmark-crypto-hmac.c | 26 double total = 0.0; in test_hmac_speed() local 54 total += chunk_size; in test_hmac_speed() 57 total /= MiB; in test_hmac_speed() 60 chunk_size, total / g_test_timer_last()); in test_hmac_speed()
|
H A D | benchmark-crypto-cipher.c | 28 const size_t total = 2 * GiB; in test_cipher_speed() local 62 remain = total; in test_cipher_speed() 76 chunk_size, (double)total / MiB / g_test_timer_last()); in test_cipher_speed() 79 remain = total; in test_cipher_speed() 93 chunk_size, (double)total / MiB / g_test_timer_last()); in test_cipher_speed()
|
H A D | benchmark-crypto-hash.c | 28 const size_t total = 2 * GiB; in test_hash_speed() local 40 remain = total; in test_hash_speed() 53 opts->chunk_size, total / g_test_timer_last()); in test_hash_speed()
|
/qemu/target/hexagon/ |
H A D | gdbstub.c | 64 int total = 0; in gdb_get_vreg() local 67 total += gdb_get_regl(mem_buf, env->VRegs[n].uw[i]); in gdb_get_vreg() 69 return total; in gdb_get_vreg() 74 int total = 0; in gdb_get_qreg() local 77 total += gdb_get_regl(mem_buf, env->QRegs[n].uw[i]); in gdb_get_qreg() 79 return total; in gdb_get_qreg()
|
/qemu/ |
H A D | qemu-io-cmds.c | 558 *total = bytes; in do_pread() 575 *total = bytes; in do_pwrite() 589 *total = bytes; in do_pwrite_zeroes() 606 *total = bytes; in do_write_compressed() 618 if (*total < 0) { in do_load_vmstate() 619 return *total; in do_load_vmstate() 632 if (*total < 0) { in do_save_vmstate() 633 return *total; in do_save_vmstate() 913 int total = 0; in readv_f() local 1270 int total = 0; in writev_f() local [all …]
|
/qemu/include/qemu/ |
H A D | progress_meter.h | 41 uint64_t total; member 51 uint64_t *total);
|
/qemu/hw/usb/ |
H A D | hcd-musb.c | 840 int total, valid = 0; in musb_tx_rdy() local 847 total = ep->maxp[0] & 0x3ff; in musb_tx_rdy() 850 total = ep->ext_size[0]; in musb_tx_rdy() 856 if (epnum && (ep->fifostart[0]) < total) in musb_tx_rdy() 860 total = ep->fifostart[0]; in musb_tx_rdy() 865 if (total != 8) { in musb_tx_rdy() 878 int total; in musb_rx_req() local 922 total = MIN(ep->maxp[1] & 0x3ff, sizeof(s->buf)); in musb_rx_req() 928 total = MIN(s->setup_len, 8); in musb_rx_req() 930 total = MIN(s->setup_len, 64); in musb_rx_req() [all …]
|
/qemu/dump/ |
H A D | dump-hmp-cmds.c | 95 assert(result->total != 0); in hmp_info_dump() 96 percent = 100.0 * result->completed / result->total; in hmp_info_dump()
|
/qemu/tests/tcg/multiarch/gdbstub/ |
H A D | registers.py | 44 total = len(regs) 45 total_regs += total
|
/qemu/tests/ |
H A D | vhost-user-bridge.c | 299 ssize_t ret, total = 0; in vubr_backend_recv_cb() local 322 total += hdrlen; in vubr_backend_recv_cb() 349 total += ret; in vubr_backend_recv_cb() 350 iov_truncate(elem->in_sg, elem->in_num, total); in vubr_backend_recv_cb() 351 vu_queue_fill(dev, vq, elem, total, i++); in vubr_backend_recv_cb()
|
/qemu/plugins/ |
H A D | api.c | 508 uint64_t total = 0; in qemu_plugin_u64_sum() local 510 total += qemu_plugin_u64_get(entry, i); in qemu_plugin_u64_sum() 512 return total; in qemu_plugin_u64_sum()
|