Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 143) sorted by relevance

123456

/qemu/block/
H A Dreqlist.c21 int64_t bytes) in reqlist_init_req()
32 int64_t bytes) in reqlist_find_conflict()
46 int64_t bytes, CoMutex *lock) in reqlist_wait_one()
60 int64_t bytes, CoMutex *lock) in reqlist_wait_all()
H A Dsnapshot-access.c31 int64_t offset, int64_t bytes, in snapshot_access_co_preadv_part()
45 int64_t bytes, int64_t *pnum, in snapshot_access_co_block_status()
53 snapshot_access_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in snapshot_access_co_pdiscard()
60 int64_t offset, int64_t bytes, in snapshot_access_co_pwrite_zeroes()
68 int64_t offset, int64_t bytes, in snapshot_access_co_pwritev_part()
H A Dio.c612 int64_t bytes, in tracked_request_begin()
636 int64_t offset, int64_t bytes) in tracked_request_overlaps()
740 bdrv_round_to_subclusters(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_round_to_subclusters()
814 int bdrv_check_qiov_request(int64_t offset, int64_t bytes, in bdrv_check_qiov_request()
874 int bdrv_check_request(int64_t offset, int64_t bytes, Error **errp) in bdrv_check_request()
879 static int bdrv_check_request32(int64_t offset, int64_t bytes, in bdrv_check_request32()
906 int64_t target_size, bytes, offset = 0; in bdrv_make_zero() local
943 int64_t bytes, const void *buf, in bdrv_co_pwrite_sync()
977 bdrv_driver_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_driver_preadv()
1046 bdrv_driver_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_driver_pwritev()
[all …]
H A Dfilter-compress.c68 compress_co_preadv_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_preadv_part()
78 compress_co_pwritev_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_pwritev_part()
88 compress_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_pwrite_zeroes()
96 compress_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in compress_co_pdiscard()
H A Dcopy-before-write.c84 cbw_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_preadv()
107 uint64_t offset, uint64_t bytes, BdrvRequestFlags flags) in cbw_do_copy_before_write()
155 cbw_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in cbw_co_pdiscard()
166 cbw_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_pwrite_zeroes()
178 int cbw_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_pwritev()
209 cbw_snapshot_read_lock(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_snapshot_read_lock()
262 cbw_co_preadv_snapshot(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_preadv_snapshot()
295 int64_t offset, int64_t bytes, in cbw_co_snapshot_block_status()
327 cbw_co_pdiscard_snapshot(BlockDriverState *bs, int64_t offset, int64_t bytes) in cbw_co_pdiscard_snapshot()
H A Dcopy-on-read.c135 cor_co_preadv_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_preadv_part()
187 cor_co_pwritev_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_pwritev_part()
197 cor_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_pwrite_zeroes()
205 cor_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in cor_co_pdiscard()
212 cor_co_pwritev_compressed(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_pwritev_compressed()
H A Ddirty-bitmap.c341 void bdrv_dirty_bitmap_truncate(BlockDriverState *bs, int64_t bytes) in bdrv_dirty_bitmap_truncate()
544 int64_t offset, int64_t bytes) in bdrv_set_dirty_bitmap_locked()
551 int64_t offset, int64_t bytes) in bdrv_set_dirty_bitmap()
560 int64_t offset, int64_t bytes) in bdrv_reset_dirty_bitmap_locked()
567 int64_t offset, int64_t bytes) in bdrv_reset_dirty_bitmap()
600 uint64_t offset, uint64_t bytes) in bdrv_dirty_bitmap_serialization_size()
625 uint64_t bytes) in bdrv_dirty_bitmap_serialize_part()
632 uint64_t bytes, bool finish) in bdrv_dirty_bitmap_deserialize_part()
638 uint64_t offset, uint64_t bytes, in bdrv_dirty_bitmap_deserialize_zeroes()
645 uint64_t offset, uint64_t bytes, in bdrv_dirty_bitmap_deserialize_ones()
[all …]
H A Dthrottle.c119 throttle_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in throttle_co_preadv()
130 throttle_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in throttle_co_pwritev()
140 throttle_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in throttle_co_pwrite_zeroes()
150 throttle_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in throttle_co_pdiscard()
160 int64_t bytes, QEMUIOVector *qiov) in throttle_co_pwritev_compressed()
H A Dblkreplay.c74 blkreplay_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_preadv()
86 blkreplay_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_pwritev()
98 blkreplay_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_pwrite_zeroes()
110 blkreplay_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in blkreplay_co_pdiscard()
H A Dblock-copy.c53 int64_t bytes; member
190 int64_t offset, int64_t bytes) in block_copy_task_create()
502 block_copy_do_copy(BlockCopyState *s, int64_t offset, int64_t bytes, in block_copy_do_copy()
623 int block_copy_block_status(BlockCopyState *s, int64_t offset, int64_t bytes, in block_copy_block_status()
665 int64_t bytes = s->len - offset; in block_copy_is_cluster_allocated() local
699 void block_copy_reset(BlockCopyState *s, int64_t offset, int64_t bytes) in block_copy_reset()
722 int64_t clusters, bytes; in block_copy_reset_unallocated() local
751 int64_t bytes = call_state->bytes; in block_copy_dirty_clusters() local
939 int coroutine_fn block_copy(BlockCopyState *s, int64_t start, int64_t bytes, in block_copy()
973 int64_t offset, int64_t bytes, in block_copy_async()
H A Dnull.c120 int64_t offset, int64_t bytes, in null_co_preadv()
134 int64_t offset, int64_t bytes, in null_co_pwritev()
193 int64_t offset, int64_t bytes, in null_aio_preadv()
208 int64_t offset, int64_t bytes, in null_aio_pwritev()
231 int64_t offset, int64_t bytes, in null_co_block_status()
H A Draw-format.c190 int64_t bytes, bool is_write) in raw_adjust_offset()
210 raw_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_preadv()
225 raw_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_pwritev()
287 int64_t offset, int64_t bytes, int64_t *pnum, int64_t *map, in raw_co_block_status()
298 raw_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_pwrite_zeroes()
311 raw_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in raw_co_pdiscard()
577 int64_t bytes, BdrvRequestFlags read_flags, in raw_co_copy_range_from()
594 int64_t bytes, BdrvRequestFlags read_flags, in raw_co_copy_range_to()
H A Dpreallocate.c278 preallocate_co_preadv_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in preallocate_co_preadv_part()
287 preallocate_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in preallocate_co_pdiscard()
322 handle_write(BlockDriverState *bs, int64_t offset, int64_t bytes, in handle_write()
400 int64_t bytes, BdrvRequestFlags flags) in preallocate_co_pwrite_zeroes()
412 preallocate_co_pwritev_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in preallocate_co_pwritev_part()
H A Dblkverify.c33 uint64_t bytes; member
199 uint64_t bytes, QEMUIOVector *qiov, QEMUIOVector *raw_qiov, in blkverify_co_prwv()
234 blkverify_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkverify_co_preadv()
263 blkverify_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkverify_co_pwritev()
H A Dmirror.c110 uint64_t bytes; member
151 uint64_t bytes) in mirror_wait_on_conflicts()
279 int64_t bytes) in mirror_clip_bytes()
287 uint64_t *bytes) in mirror_cow_align()
461 unsigned bytes, MirrorMethod mirror_method, in mirror_perform()
939 int bytes = MIN(s->bdev_length - offset, in mirror_dirty_init() local
971 int bytes = MIN(s->bdev_length - offset, in mirror_dirty_init() local
1424 uint64_t offset, uint64_t bytes, in do_sync_target_write()
1559 uint64_t bytes) in active_write_prepare()
1626 bdrv_mirror_top_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_mirror_top_preadv()
[all …]
/qemu/scripts/
H A Du2f-setup-gen.py24 def write_setup_dir(dirpath: str, privkey_pem: bytes, cert_pem: bytes,
25 entropy: bytes, counter: int) -> None:
/qemu/util/
H A Diov.c26 size_t offset, const void *buf, size_t bytes) in iov_from_buf_full()
44 size_t offset, void *buf, size_t bytes) in iov_to_buf_full()
62 size_t offset, int fillc, size_t bytes) in iov_memset()
144 size_t offset, size_t bytes, in iov_send_recv()
154 size_t bytes, bool do_send) in iov_send_recv_with_flags()
259 size_t offset, size_t bytes) in iov_copy()
428 bool qemu_iovec_is_zero(QEMUIOVector *qiov, size_t offset, size_t bytes) in qemu_iovec_is_zero()
491 void *buf, size_t bytes) in qemu_iovec_to_buf()
497 const void *buf, size_t bytes) in qemu_iovec_from_buf()
503 int fillc, size_t bytes) in qemu_iovec_memset()
[all …]
H A Dqemu-coroutine-io.c33 size_t offset, size_t bytes, bool 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()
/qemu/tests/qemu-iotests/
H A Dfat16.py29 def __init__(self, data: bytes):
62 def __init__(self, data: bytes):
141 def __init__(self, data: bytes, sector: int, offset: int):
215 sector_writer: Callable[[int, bytes], None] argument
236 def write_sectors(self, start_sector: int, data: bytes) -> None:
240 self, data: bytes, start_sector: int
364 def write_cluster(self, cluster: int, data: bytes) -> None:
399 def find_free_entry(data: bytes) -> Optional[int]:
614 def write_file(self, entry: FatDirectoryEntry, data: bytes) -> None:
/qemu/include/qemu/
H A Diov.h43 size_t offset, const void *buf, size_t bytes) in iov_from_buf()
56 size_t offset, void *buf, size_t bytes) in iov_to_buf()
126 #define iov_recv(sockfd, iov, iov_cnt, offset, bytes) \ argument
128 #define iov_send(sockfd, iov, iov_cnt, offset, bytes) \ argument
H A Dcoroutine.h297 #define qemu_co_recvv(sockfd, iov, iov_cnt, offset, bytes) \ argument
299 #define qemu_co_sendv(sockfd, iov, iov_cnt, offset, bytes) \ argument
307 #define qemu_co_recv(sockfd, buf, bytes) \ argument
309 #define qemu_co_send(sockfd, buf, bytes) \ argument
/qemu/python/qemu/utils/
H A Dqom_fuse.py132 def read(self, path: str, size: int, offset: int, fh: IO[bytes]) -> bytes:
159 fh: Optional[IO[bytes]] = None) -> Mapping[str, object]:
203 def readdir(self, path: str, fh: IO[bytes]) -> Iterator[str]:
/qemu/python/qemu/qmp/
H A Dmessage.py63 value: Union[bytes, Mapping[str, object]] = b'{}', *,
145 def _deserialize(cls, data: bytes) -> Dict[str, object]:
180 def __init__(self, error_message: str, raw: bytes):
/qemu/include/block/
H A Dblock_int-io.h61 int64_t offset, int64_t bytes, void *buf, BdrvRequestFlags flags) in bdrv_co_pread()
71 int64_t offset, int64_t bytes, const void *buf, BdrvRequestFlags flags) in bdrv_co_pwrite()
/qemu/include/system/
H A Dcryptodev.h285 #define CryptodevSymStatInc(be, op, bytes) do { \ argument
290 #define CryptodevSymStatIncEncrypt(be, bytes) \ argument
293 #define CryptodevSymStatIncDecrypt(be, bytes) \ argument
296 #define CryptodevAsymStatInc(be, op, bytes) do { \ argument
301 #define CryptodevAsymStatIncEncrypt(be, bytes) \ argument
304 #define CryptodevAsymStatIncDecrypt(be, bytes) \ argument
307 #define CryptodevAsymStatIncSign(be, bytes) \ argument
310 #define CryptodevAsymStatIncVerify(be, bytes) \ argument

123456