Searched refs:num_reqs (Results 1 – 4 of 4) sorted by relevance
/external/qemu/ |
D | block.c | 2098 int num_reqs, MultiwriteCB *mcb) in multiwrite_merge() argument 2103 qsort(reqs, num_reqs, sizeof(*reqs), &multiwrite_req_compare); in multiwrite_merge() 2108 for (i = 1; i < num_reqs; i++) { in multiwrite_merge() 2182 int bdrv_aio_multiwrite(BlockDriverState *bs, BlockRequest *reqs, int num_reqs) in bdrv_aio_multiwrite() argument 2188 if (num_reqs == 0) { in bdrv_aio_multiwrite() 2193 mcb = qemu_mallocz(sizeof(*mcb) + num_reqs * sizeof(*mcb->callbacks)); in bdrv_aio_multiwrite() 2195 mcb->num_callbacks = num_reqs; in bdrv_aio_multiwrite() 2197 for (i = 0; i < num_reqs; i++) { in bdrv_aio_multiwrite() 2203 num_reqs = multiwrite_merge(bs, reqs, num_reqs, mcb); in bdrv_aio_multiwrite() 2226 for (i = 0; i < num_reqs; i++) { in bdrv_aio_multiwrite()
|
D | block_int.h | 78 int num_reqs);
|
D | qemu-io.c | 285 static int do_aio_multiwrite(BlockRequest* reqs, int num_reqs, int *total) in do_aio_multiwrite() argument 294 for (i = 0; i < num_reqs; i++) { in do_aio_multiwrite() 300 ret = bdrv_aio_multiwrite(bs, reqs, num_reqs); in do_aio_multiwrite() 305 while (async_ret.num_done < num_reqs) { in do_aio_multiwrite()
|
D | block.h | 136 int num_reqs);
|