/qemu/tests/qemu-iotests/ |
H A D | 252.out | 8 wrote 131072/131072 bytes at offset 0 10 wrote 131072/131072 bytes at offset 131072 12 wrote 65536/65536 bytes at offset 0 14 wrote 65536/65536 bytes at offset 131072 16 wrote 65536/65536 bytes at offset 262144 19 read 131072/131072 bytes at offset 0 21 read 131072/131072 bytes at offset 131072 23 read 131072/131072 bytes at offset 262144 29 read 131072/131072 bytes at offset 0 31 read 131072/131072 bytes at offset 131072 [all …]
|
H A D | 263.out | 7 read 1048576/1048576 bytes at offset 0 11 wrote 1024/1024 bytes at offset 65024 15 read 65024/65024 bytes at offset 0 17 read 1024/1024 bytes at offset 65024 19 read 982528/982528 bytes at offset 66048 26 read 1048576/1048576 bytes at offset 0 30 wrote 1024/1024 bytes at offset 65024 34 read 65024/65024 bytes at offset 0 36 read 1024/1024 bytes at offset 65024 38 read 982528/982528 bytes at offset 66048
|
H A D | 214.out | 6 wrote 2097152/2097152 bytes at offset 0 8 wrote 2097152/2097152 bytes at offset 2097152 12 read 4194304/4194304 bytes at offset 0 14 wrote 4194304/4194304 bytes at offset 4194304 16 read 4194304/4194304 bytes at offset 0 31 read 4194304/4194304 bytes at offset 0 33 read 4194304/4194304 bytes at offset 4194304 40 wrote 524288/524288 bytes at offset 0 44 wrote 229376/229376 bytes at offset 0 46 wrote 229376/229376 bytes at offset 278528
|
H A D | 290.out | 8 wrote 131072/131072 bytes at offset 0 10 discard 131072/131072 bytes at offset 0 13 read 131072/131072 bytes at offset 0 20 wrote 131072/131072 bytes at offset 0 22 discard 131072/131072 bytes at offset 0 25 read 131072/131072 bytes at offset 0 34 wrote 131072/131072 bytes at offset 0 39 wrote 131072/131072 bytes at offset 0 44 read 131072/131072 bytes at offset 0 52 wrote 131072/131072 bytes at offset 0 [all …]
|
H A D | 081.out | 9 wrote 10485760/10485760 bytes at offset 0 13 read 10485760/10485760 bytes at offset 0 15 read 10485760/10485760 bytes at offset 0 17 read 10485760/10485760 bytes at offset 0 21 wrote 10485760/10485760 bytes at offset 0 25 read 10485760/10485760 bytes at offset 0 35 read 10485760/10485760 bytes at offset 0 43 read 10485760/10485760 bytes at offset 0 47 read 10485760/10485760 bytes at offset 0 67 read 10485760/10485760 bytes at offset 0 [all …]
|
H A D | 102.out | 6 wrote 65536/65536 bytes at offset 0 9 64 KiB (0x10000) bytes allocated at offset 0 bytes (0x0) 16 wrote 65536/65536 bytes at offset 0 22 64 KiB (0x10000) bytes allocated at offset 0 bytes (0x0)
|
H A D | 076.out | 4 read 65536/65536 bytes at offset 0 17 read 65536/65536 bytes at offset 0 19 wrote 1024/1024 bytes at offset 1048576 21 wrote 1024/1024 bytes at offset 1049600 23 read 1024/1024 bytes at offset 1048576 25 read 1024/1024 bytes at offset 1049600 27 read 63488/63488 bytes at offset 1050624
|
H A D | 010.out | 7 wrote 4096/4096 bytes at offset 2097152 9 wrote 4096/4096 bytes at offset 65536 11 wrote 4096/4096 bytes at offset 9437184 13 wrote 4096/4096 bytes at offset 2093056 15 wrote 4096/4096 bytes at offset 8388608 17 read 8192/8192 bytes at offset 2093056
|
H A D | 130.out | 7 virtual size: 64 MiB (67108864 bytes) 16 virtual size: 64 MiB (67108864 bytes) 23 virtual size: 64 MiB (67108864 bytes) 30 wrote 4096/4096 bytes at offset 0 34 virtual size: 64 MiB (67108864 bytes) 36 wrote 4096/4096 bytes at offset 0 40 virtual size: 64 MiB (67108864 bytes)
|
H A D | 112.out | 33 wrote 512/512 bytes at offset 0 45 wrote 512/512 bytes at offset 0 57 wrote 65536/65536 bytes at offset 0 59 wrote 65536/65536 bytes at offset 65536 67 wrote 512/512 bytes at offset 0 69 wrote 512/512 bytes at offset 0 76 wrote 512/512 bytes at offset 0 89 wrote 33554432/33554432 bytes at offset 16777216 111 wrote 16777216/16777216 bytes at offset 0 123 wrote 65536/65536 bytes at offset 0 [all …]
|
H A D | 108.out | 6 wrote 65536/65536 bytes at offset 0 20 read 65536/65536 bytes at offset 0 26 wrote 111104/111104 bytes at offset 0 29 wrote 512/512 bytes at offset 131072 31 read 512/512 bytes at offset 111104 44 read 512/512 bytes at offset 111104 116 wrote 65536/65536 bytes at offset 0 134 wrote 8388608/8388608 bytes at offset 0 136 discard 512/512 bytes at offset 0 138 discard 1024/1024 bytes at offset 4096 [all …]
|
/qemu/include/qemu/ |
H A D | coroutine.h | 295 size_t bytes, bool do_send); 296 #define qemu_co_recvv(sockfd, iov, iov_cnt, offset, bytes) \ argument 297 qemu_co_sendv_recvv(sockfd, iov, iov_cnt, offset, bytes, false) 298 #define qemu_co_sendv(sockfd, iov, iov_cnt, offset, bytes) \ argument 299 qemu_co_sendv_recvv(sockfd, iov, iov_cnt, offset, bytes, true) 304 ssize_t coroutine_fn qemu_co_send_recv(int sockfd, void *buf, size_t bytes, 306 #define qemu_co_recv(sockfd, buf, bytes) \ argument 307 qemu_co_send_recv(sockfd, buf, bytes, false) 308 #define qemu_co_send(sockfd, buf, bytes) \ argument 309 qemu_co_send_recv(sockfd, buf, bytes, true)
|
/qemu/block/ |
H A D | dirty-bitmap.c | 350 hbitmap_truncate(bitmap->bitmap, bytes); in bdrv_dirty_bitmap_truncate() 351 bitmap->size = bytes; in bdrv_dirty_bitmap_truncate() 547 hbitmap_set(bitmap->bitmap, offset, bytes); in bdrv_set_dirty_bitmap_locked() 551 int64_t offset, int64_t bytes) in bdrv_set_dirty_bitmap() argument 554 bdrv_set_dirty_bitmap_locked(bitmap, offset, bytes); in bdrv_set_dirty_bitmap() 563 hbitmap_reset(bitmap->bitmap, offset, bytes); in bdrv_reset_dirty_bitmap_locked() 570 bdrv_reset_dirty_bitmap_locked(bitmap, offset, bytes); in bdrv_reset_dirty_bitmap() 625 uint64_t bytes) in bdrv_dirty_bitmap_serialize_part() argument 671 hbitmap_set(bitmap->bitmap, offset, bytes); in bdrv_set_dirty() 779 int64_t bytes) in bdrv_dirty_bitmap_next_dirty() argument [all …]
|
H A D | snapshot-access.c | 31 int64_t offset, int64_t bytes, in snapshot_access_co_preadv_part() argument 39 return bdrv_co_preadv_snapshot(bs->file, offset, bytes, qiov, qiov_offset); in snapshot_access_co_preadv_part() 45 int64_t bytes, int64_t *pnum, in snapshot_access_co_block_status() argument 49 bytes, pnum, map, file); in snapshot_access_co_block_status() 53 snapshot_access_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in snapshot_access_co_pdiscard() argument 55 return bdrv_co_pdiscard_snapshot(bs->file->bs, offset, bytes); in snapshot_access_co_pdiscard() 60 int64_t offset, int64_t bytes, in snapshot_access_co_pwrite_zeroes() argument 68 int64_t offset, int64_t bytes, in snapshot_access_co_pwritev_part() argument
|
H A D | raw-format.c | 215 ret = raw_adjust_offset(bs, &offset, bytes, false); in raw_co_preadv() 233 if (bs->probed && offset < BLOCK_PROBE_BUF_SIZE && bytes) { in raw_co_pwritev() 239 assert(offset == 0 && bytes >= BLOCK_PROBE_BUF_SIZE); in raw_co_pwritev() 269 ret = raw_adjust_offset(bs, &offset, bytes, true); in raw_co_pwritev() 287 int64_t bytes, int64_t *pnum, int64_t *map, in raw_co_block_status() argument 291 *pnum = bytes; in raw_co_block_status() 303 ret = raw_adjust_offset(bs, &offset, bytes, true); in raw_co_pwrite_zeroes() 315 ret = raw_adjust_offset(bs, &offset, bytes, true); in raw_co_pdiscard() 319 return bdrv_co_pdiscard(bs->file, offset, bytes); in raw_co_pdiscard() 582 ret = raw_adjust_offset(bs, &src_offset, bytes, false); in raw_co_copy_range_from() [all …]
|
H A D | blkdebug.c | 603 (bytes && inject_offset >= offset && in rule_check() 604 inject_offset < offset + bytes)) && in rule_check() 643 assert(bytes <= bs->bl.max_transfer); in blkdebug_co_preadv() 664 assert(bytes <= bs->bl.max_transfer); in blkdebug_co_pwritev() 698 if (bytes < align) { in blkdebug_co_pwrite_zeroes() 706 assert(QEMU_IS_ALIGNED(bytes, align)); in blkdebug_co_pwrite_zeroes() 728 if (bytes < bs->bl.request_alignment) { in blkdebug_co_pdiscard() 737 if (align && bytes >= align) { in blkdebug_co_pdiscard() 739 assert(QEMU_IS_ALIGNED(bytes, align)); in blkdebug_co_pdiscard() 742 assert(bytes <= bs->bl.max_pdiscard); in blkdebug_co_pdiscard() [all …]
|
H A D | filter-compress.c | 68 compress_co_preadv_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_preadv_part() argument 72 return bdrv_co_preadv_part(bs->file, offset, bytes, qiov, qiov_offset, in compress_co_preadv_part() 78 compress_co_pwritev_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_pwritev_part() argument 82 return bdrv_co_pwritev_part(bs->file, offset, bytes, qiov, qiov_offset, in compress_co_pwritev_part() 88 compress_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_pwrite_zeroes() argument 91 return bdrv_co_pwrite_zeroes(bs->file, offset, bytes, flags); in compress_co_pwrite_zeroes() 96 compress_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in compress_co_pdiscard() argument 98 return bdrv_co_pdiscard(bs->file, offset, bytes); in compress_co_pdiscard()
|
H A D | blkreplay.c | 74 blkreplay_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_preadv() argument 78 int ret = bdrv_co_preadv(bs->file, offset, bytes, qiov, flags); in blkreplay_co_preadv() 86 blkreplay_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_pwritev() argument 90 int ret = bdrv_co_pwritev(bs->file, offset, bytes, qiov, flags); in blkreplay_co_pwritev() 98 blkreplay_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_pwrite_zeroes() argument 102 int ret = bdrv_co_pwrite_zeroes(bs->file, offset, bytes, flags); in blkreplay_co_pwrite_zeroes() 110 blkreplay_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in blkreplay_co_pdiscard() argument 113 int ret = bdrv_co_pdiscard(bs->file, offset, bytes); in blkreplay_co_pdiscard()
|
H A D | block-backend.c | 1264 if (bytes < 0) { in blk_check_byte_request() 1344 bytes, THROTTLE_READ); in blk_co_do_preadv_part() 1359 assert(bytes <= SIZE_MAX); in blk_co_pread() 1418 bytes, THROTTLE_WRITE); in blk_co_do_pwritev_part() 1452 assert(bytes <= SIZE_MAX); in blk_co_pwrite() 1544 int64_t bytes; member 1569 int64_t bytes, in blk_aio_prwv() argument 1586 acb->bytes = bytes; in blk_aio_prwv() 1607 assert(qiov->size == acb->bytes); in blk_aio_read_entry() 1933 acb->bytes = len; in blk_aio_zone_mgmt() [all …]
|
H A D | blklogwrites.c | 338 return bdrv_co_preadv(bs->file, offset, bytes, qiov, flags); in blk_log_writes_co_preadv() 344 uint64_t bytes; member 481 .bytes = bytes, in blk_log_writes_co_log() 491 .nr_sectors = cpu_to_le64(bytes >> s->sectorbits), in blk_log_writes_co_log() 495 .zero_size = is_zero_write ? bytes : 0, in blk_log_writes_co_log() 502 assert(QEMU_IS_ALIGNED(bytes, bs->bl.request_alignment)); in blk_log_writes_co_log() 527 return bdrv_co_pwritev(fr->bs->file, fr->offset, fr->bytes, in blk_log_writes_co_do_file_pwritev() 547 return bdrv_co_pdiscard(fr->bs->file, fr->offset, fr->bytes); in blk_log_writes_co_do_file_pdiscard() 554 return blk_log_writes_co_log(bs, offset, bytes, qiov, flags, in blk_log_writes_co_pwritev() 562 return blk_log_writes_co_log(bs, offset, bytes, NULL, flags, in blk_log_writes_co_pwrite_zeroes() [all …]
|
/qemu/libdecnumber/dpd/ |
H A D | decimal32.c | 175 pu=(uInt *)d32->bytes; /* overlay */ in decimal32FromNumber() 197 pu=(const uInt *)d32->bytes; /* overlay */ in decimal32ToNumber() 272 pu=(const uInt *)d32->bytes; /* overlay */ in decimal32ToString() 450 | ((unsigned)(d)->bytes[1]>>4)) 454 (d)->bytes[0]|=((unsigned)(b)<<7);} 460 (d)->bytes[0]|=(uint8_t)((e)>>4); \ 461 (d)->bytes[1]|=(uint8_t)(((e)&0x0F)<<4);} 474 sprintf(&buf[j], "%02x", d32->bytes[3-i]); in decimal32Show() 477 d32->bytes[3]>>7, (d32->bytes[3]>>2)&0x1f, in decimal32Show() 478 ((d32->bytes[3]&0x3)<<4)| (d32->bytes[2]>>4)); in decimal32Show() [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | qcow2-internal-snapshots.out | 8 wrote 1048576/1048576 bytes at offset 0 12 wrote 524288/524288 bytes at offset 0 25 read 1048576/1048576 bytes at offset 0 32 read 1048576/1048576 bytes at offset 0 35 wrote 2048/2048 bytes at offset 64512 38 read 64512/64512 bytes at offset 0 41 read 2048/2048 bytes at offset 64512 59 read 64512/64512 bytes at offset 0 61 read 2048/2048 bytes at offset 64512 71 read 64512/64512 bytes at offset 0 [all …]
|
/qemu/util/ |
H A D | qemu-coroutine-io.c | 33 size_t offset, size_t bytes, bool do_send) in qemu_co_sendv_recvv() argument 37 while (done < bytes) { in qemu_co_sendv_recvv() 39 offset + done, bytes - done, do_send); in qemu_co_sendv_recvv() 62 qemu_co_send_recv(int sockfd, void *buf, size_t bytes, bool do_send) in qemu_co_send_recv() argument 64 struct iovec iov = { .iov_base = buf, .iov_len = bytes }; in qemu_co_send_recv() 65 return qemu_co_sendv_recvv(sockfd, &iov, 1, 0, bytes, do_send); in qemu_co_send_recv()
|
/qemu/python/qemu/qmp/ |
H A D | message.py | 63 value: Union[bytes, Mapping[str, object]] = b'{}', *, argument 65 self._data: Optional[bytes] = None 68 if isinstance(value, bytes): 111 def __bytes__(self) -> bytes: 133 def _serialize(cls, value: object) -> bytes: 145 def _deserialize(cls, data: bytes) -> Dict[str, object]: argument 180 def __init__(self, error_message: str, raw: bytes): argument 183 self.raw: bytes = raw
|
/qemu/include/block/ |
H A D | reqlist.h | 28 int64_t bytes; member 41 int64_t bytes); 44 int64_t bytes); 54 int64_t bytes, CoMutex *lock); 62 int64_t bytes, CoMutex *lock);
|