Home | History | Annotate | Download | only in qemu

Lines Matching refs:total

81 		int count, int total, int cnt, int Cflag)
87 cvtstr((double)total, s1, sizeof(s1));
88 cvtstr(tdiv((double)total, *t), s2, sizeof(s2));
90 op, total, count, (long long)offset);
95 total, cnt, ts,
96 tdiv((double)total, *t),
101 static int do_read(char *buf, int64_t offset, int count, int *total)
108 *total = count;
112 static int do_write(char *buf, int64_t offset, int count, int *total)
119 *total = count;
123 static int do_pread(char *buf, int64_t offset, int count, int *total)
125 *total = bdrv_pread(bs, offset, (uint8_t *)buf, count);
126 if (*total < 0)
127 return *total;
131 static int do_pwrite(char *buf, int64_t offset, int count, int *total)
133 *total = bdrv_pwrite(bs, offset, (uint8_t *)buf, count);
134 if (*total < 0)
135 return *total;
145 static int do_aio_readv(QEMUIOVector *qiov, int64_t offset, int *total)
158 *total = qiov->size;
162 static int do_aio_writev(QEMUIOVector *qiov, int64_t offset, int *total)
175 *total = qiov->size;
215 int total = 0;
303 cnt = do_pread(buf, offset, count, &total);
305 cnt = do_read(buf, offset, count, &total);
332 print_report("read", &t2, offset, count, total, cnt, Cflag);
380 int count = 0, total;
459 cnt = do_aio_readv(&qiov, offset, &total);
486 print_report("read", &t2, offset, qiov.size, total, cnt, Cflag);
534 int total = 0;
590 cnt = do_pwrite(buf, offset, count, &total);
592 cnt = do_write(buf, offset, count, &total);
605 print_report("wrote", &t2, offset, count, total, cnt, Cflag);
651 int count = 0, total;
725 cnt = do_aio_writev(&qiov, offset, &total);
738 print_report("wrote", &t2, offset, qiov.size, total, cnt, Cflag);