Lines Matching refs:qiov
145 static int do_aio_readv(QEMUIOVector *qiov, int64_t offset, int *total) in do_aio_readv() argument
150 acb = bdrv_aio_readv(bs, offset >> 9, qiov, qiov->size >> 9, in do_aio_readv()
158 *total = qiov->size; in do_aio_readv()
162 static int do_aio_writev(QEMUIOVector *qiov, int64_t offset, int *total) in do_aio_writev() argument
167 acb = bdrv_aio_writev(bs, offset >> 9, qiov, qiov->size >> 9, in do_aio_writev()
175 *total = qiov->size; in do_aio_writev()
382 QEMUIOVector qiov; in readv_f() local
441 qemu_iovec_init(&qiov, nr_iov); in readv_f()
453 qemu_iovec_add(&qiov, p, len); in readv_f()
459 cnt = do_aio_readv(&qiov, offset, &total); in readv_f()
482 dump_buffer(buf, offset, qiov.size); in readv_f()
486 print_report("read", &t2, offset, qiov.size, total, cnt, Cflag); in readv_f()
654 QEMUIOVector qiov; in writev_f() local
707 qemu_iovec_init(&qiov, nr_iov); in writev_f()
719 qemu_iovec_add(&qiov, p, len); in writev_f()
725 cnt = do_aio_writev(&qiov, offset, &total); in writev_f()
738 print_report("wrote", &t2, offset, qiov.size, total, cnt, Cflag); in writev_f()