Home
last modified time | relevance | path

Searched refs:qiov_offset (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/block/
H A Dfilter-compress.c69 QEMUIOVector *qiov, size_t qiov_offset, in compress_co_preadv_part() argument
72 return bdrv_co_preadv_part(bs->file, offset, bytes, qiov, qiov_offset, in compress_co_preadv_part()
79 QEMUIOVector *qiov, size_t qiov_offset, in compress_co_pwritev_part() argument
82 return bdrv_co_pwritev_part(bs->file, offset, bytes, qiov, qiov_offset, in compress_co_pwritev_part()
H A Dcopy-on-read.c136 QEMUIOVector *qiov, size_t qiov_offset, in cor_co_preadv_part() argument
145 return bdrv_co_preadv_part(bs->file, offset, bytes, qiov, qiov_offset, in cor_co_preadv_part()
170 ret = bdrv_co_preadv_part(bs->file, offset, n, qiov, qiov_offset, in cor_co_preadv_part()
178 qiov_offset += n; in cor_co_preadv_part()
188 QEMUIOVector *qiov, size_t qiov_offset, in cor_co_pwritev_part() argument
191 return bdrv_co_pwritev_part(bs->file, offset, bytes, qiov, qiov_offset, in cor_co_pwritev_part()
H A Dio.c812 QEMUIOVector *qiov, size_t qiov_offset, in bdrv_make_request_serialising()
853 * Check qiov and qiov_offset in bdrv_check_qiov_request()
856 if (qiov_offset > qiov->size) { in bdrv_check_qiov_request()
857 error_setg(errp, "qiov_offset(%zu) overflow io vector size(%zu)", in bdrv_check_qiov_request()
858 qiov_offset, qiov->size); in bdrv_check_qiov_request()
862 if (bytes > qiov->size - qiov_offset) { in bdrv_check_qiov_request()
863 error_setg(errp, "bytes(%" PRIi64 ") + qiov_offset(%zu) overflow io " in bdrv_check_qiov_request()
864 "vector size(%zu)", bytes, qiov_offset, qiov->size); in bdrv_check_qiov_request()
877 QEMUIOVector *qiov, size_t qiov_offset) in bdrv_check_request()
879 int ret = bdrv_check_qiov_request(offset, bytes, qiov, qiov_offset, NUL
815 bdrv_check_qiov_request(int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset,Error ** errp) bdrv_check_qiov_request() argument
880 bdrv_check_request32(int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset) bdrv_check_request32() argument
978 bdrv_driver_preadv(BlockDriverState * bs,int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset,int flags) bdrv_driver_preadv() argument
1047 bdrv_driver_pwritev(BlockDriverState * bs,int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset,BdrvRequestFlags flags) bdrv_driver_pwritev() argument
1134 bdrv_driver_pwritev_compressed(BlockDriverState * bs,int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset) bdrv_driver_pwritev_compressed() argument
1169 bdrv_co_do_copy_on_readv(BdrvChild * child,int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset,int flags) bdrv_co_do_copy_on_readv() argument
1334 bdrv_aligned_preadv(BdrvChild * child,BdrvTrackedRequest * req,int64_t offset,int64_t bytes,int64_t align,QEMUIOVector * qiov,size_t qiov_offset,int flags) bdrv_aligned_preadv() argument
1712 bdrv_pad_request(BlockDriverState * bs,QEMUIOVector ** qiov,size_t * qiov_offset,int64_t * offset,int64_t * bytes,bool write,BdrvRequestPadding * pad,bool * padded,BdrvRequestFlags * flags) bdrv_pad_request() argument
1780 bdrv_co_preadv_part(BdrvChild * child,int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset,BdrvRequestFlags flags) bdrv_co_preadv_part() argument
2068 bdrv_aligned_pwritev(BdrvChild * child,BdrvTrackedRequest * req,int64_t offset,int64_t bytes,int64_t align,QEMUIOVector * qiov,size_t qiov_offset,BdrvRequestFlags flags) bdrv_aligned_pwritev() argument
2232 bdrv_co_pwritev_part(BdrvChild * child,int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset,BdrvRequestFlags flags) bdrv_co_pwritev_part() argument
3742 bdrv_co_preadv_snapshot(BdrvChild * child,int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset) bdrv_co_preadv_snapshot() argument
[all...]
H A Dsnapshot-access.c32 QEMUIOVector *qiov, size_t qiov_offset, 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()
69 QEMUIOVector *qiov, size_t qiov_offset, in snapshot_access_co_pwritev_part() argument
H A Dqcow2.c83 size_t qiov_offset);
2320 uint64_t qiov_offset) in qcow2_add_task()
2353 qemu_iovec_from_buf(qiov, qiov_offset, buf, bytes); in qcow2_co_preadv_task()
2370 uint64_t qiov_offset; in qcow2_co_preadv_task()
2383 size_t qiov_offset, in qcow2_co_preadv_task_entry()
2397 .qiov_offset = qiov_offset, in qcow2_co_preadv_part()
2404 qiov, qiov_offset); in qcow2_co_preadv_part()
2418 QEMUIOVector *qiov, size_t qiov_offset) in qcow2_co_preadv_part()
2434 qiov, qiov_offset, in qcow2_co_preadv_part()
2236 qcow2_co_preadv_encrypted(BlockDriverState * bs,uint64_t host_offset,uint64_t offset,uint64_t bytes,QEMUIOVector * qiov,uint64_t qiov_offset) qcow2_co_preadv_encrypted() argument
2286 uint64_t qiov_offset; global() member
2299 qcow2_add_task(BlockDriverState * bs,AioTaskPool * pool,AioTaskFunc func,QCow2SubclusterType subcluster_type,uint64_t host_offset,uint64_t offset,uint64_t bytes,QEMUIOVector * qiov,size_t qiov_offset,QCowL2Meta * l2meta) qcow2_add_task() argument
2334 qcow2_co_preadv_task(BlockDriverState * bs,QCow2SubclusterType subc_type,uint64_t host_offset,uint64_t offset,uint64_t bytes,QEMUIOVector * qiov,size_t qiov_offset) qcow2_co_preadv_task() argument
2390 qcow2_co_preadv_part(BlockDriverState * bs,int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset,BdrvRequestFlags flags) qcow2_co_preadv_part() argument
2454 merge_cow(uint64_t offset,unsigned bytes,QEMUIOVector * qiov,size_t qiov_offset,QCowL2Meta * l2meta) merge_cow() argument
2597 qcow2_co_pwritev_task(BlockDriverState * bs,uint64_t host_offset,uint64_t offset,uint64_t bytes,QEMUIOVector * qiov,uint64_t qiov_offset,QCowL2Meta * l2meta) qcow2_co_pwritev_task() argument
2680 qcow2_co_pwritev_part(BlockDriverState * bs,int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset,BdrvRequestFlags flags) qcow2_co_pwritev_part() argument
4679 qcow2_co_pwritev_compressed_task(BlockDriverState * bs,uint64_t offset,uint64_t bytes,QEMUIOVector * qiov,size_t qiov_offset) qcow2_co_pwritev_compressed_task() argument
4763 qcow2_co_pwritev_compressed_part(BlockDriverState * bs,int64_t offset,int64_t bytes,QEMUIOVector * qiov,size_t qiov_offset) qcow2_co_pwritev_compressed_part() argument
4829 qcow2_co_preadv_compressed(BlockDriverState * bs,uint64_t l2_entry,uint64_t offset,uint64_t bytes,QEMUIOVector * qiov,size_t qiov_offset) qcow2_co_preadv_compressed() argument
[all...]
H A Dpreallocate.c279 QEMUIOVector *qiov, size_t qiov_offset, in preallocate_co_preadv_part() argument
282 return bdrv_co_preadv_part(bs->file, offset, bytes, qiov, qiov_offset, in preallocate_co_preadv_part()
413 QEMUIOVector *qiov, size_t qiov_offset, in preallocate_co_pwritev_part() argument
418 return bdrv_co_pwritev_part(bs->file, offset, bytes, qiov, qiov_offset, in preallocate_co_pwritev_part()
H A Dcopy-before-write.c263 QEMUIOVector *qiov, size_t qiov_offset) in cbw_co_preadv_snapshot() argument
279 qiov, qiov_offset, 0); in cbw_co_preadv_snapshot()
287 qiov_offset += cur_bytes; in cbw_co_preadv_snapshot()
H A Dqed.h139 size_t qiov_offset; /* byte count already processed */ member
H A Dblock-backend.c1331 QEMUIOVector *qiov, size_t qiov_offset, in blk_co_do_preadv_part() argument
1358 ret = bdrv_co_preadv_part(blk->root, offset, bytes, qiov, qiov_offset, in blk_co_do_preadv_part()
1391 size_t qiov_offset, BdrvRequestFlags flags) in blk_co_preadv_part() argument
1397 ret = blk_co_do_preadv_part(blk, offset, bytes, qiov, qiov_offset, flags); in blk_co_preadv_part()
1406 QEMUIOVector *qiov, size_t qiov_offset, in blk_co_do_pwritev_part() argument
1436 ret = bdrv_co_pwritev_part(blk->root, offset, bytes, qiov, qiov_offset, in blk_co_do_pwritev_part()
1444 QEMUIOVector *qiov, size_t qiov_offset, in blk_co_pwritev_part() argument
1451 ret = blk_co_do_pwritev_part(blk, offset, bytes, qiov, qiov_offset, flags); in blk_co_pwritev_part()
H A Dmirror.c1434 size_t qiov_offset = 0; in do_sync_target_write() local
1458 qiov_offset = QEMU_ALIGN_UP(offset, job->granularity) - offset; in do_sync_target_write()
1459 if (bytes <= qiov_offset) { in do_sync_target_write()
1463 offset += qiov_offset; in do_sync_target_write()
1464 bytes -= qiov_offset; in do_sync_target_write()
1503 qiov, qiov_offset, flags); in do_sync_target_write()
H A Dqed.c1193 qemu_iovec_concat(&acb->cur_qiov, acb->qiov, acb->qiov_offset, len); in qed_aio_write_alloc()
1258 qemu_iovec_concat(&acb->cur_qiov, acb->qiov, acb->qiov_offset, len); in qed_aio_write_inplace()
1325 qemu_iovec_concat(&acb->cur_qiov, acb->qiov, acb->qiov_offset, len); in qed_aio_read_data()
1359 acb->qiov_offset += acb->cur_qiov.size; in qed_aio_next_io()
H A Dtrace-events70 qcow2_add_task(void *co, void *bs, void *pool, const char *action, int cluster_type, uint64_t host_offset, uint64_t offset, uint64_t bytes, void *qiov, size_t qiov_offset) "co %p bs %p pool %p: %s: cluster_type %d file_cluster_offset %" PRIu64 " offset %" PRIu64 " bytes %" PRIu64 " qiov %p qiov_offset %zu"
H A Dvmdk.c1834 uint64_t qiov_offset, uint64_t n_bytes, in vmdk_write_extent() argument
1865 qemu_iovec_to_buf(qiov, qiov_offset, compressed_data, n_bytes); in vmdk_write_extent()
1883 qemu_iovec_concat(&local_qiov, qiov, qiov_offset, n_bytes); in vmdk_write_extent()
/openbmc/qemu/include/block/
H A Dblock_int-io.h39 int64_t offset, int64_t bytes, QEMUIOVector *qiov, size_t qiov_offset);
52 QEMUIOVector *qiov, size_t qiov_offset, BdrvRequestFlags flags);
58 QEMUIOVector *qiov, size_t qiov_offset, BdrvRequestFlags flags);
H A Dblock_int-common.h552 QEMUIOVector *qiov, size_t qiov_offset,
578 size_t qiov_offset, BdrvRequestFlags flags);
669 QEMUIOVector *qiov, size_t qiov_offset);
742 QEMUIOVector *qiov, size_t qiov_offset);
1346 QEMUIOVector *qiov, size_t qiov_offset,
/openbmc/qemu/include/system/
H A Dblock-backend-io.h161 size_t qiov_offset,
165 size_t qiov_offset, BdrvRequestFlags flags);
182 size_t qiov_offset,
186 QEMUIOVector *qiov, size_t qiov_offset,