Searched refs:num_reqs (Results 1 – 3 of 3) sorted by relevance
2100 int num_reqs, MultiwriteCB *mcb) in multiwrite_merge() argument2105 qsort(reqs, num_reqs, sizeof(*reqs), &multiwrite_req_compare); in multiwrite_merge()2110 for (i = 1; i < num_reqs; i++) { in multiwrite_merge()2184 int bdrv_aio_multiwrite(BlockDriverState *bs, BlockRequest *reqs, int num_reqs) in bdrv_aio_multiwrite() argument2190 if (num_reqs == 0) { in bdrv_aio_multiwrite()2195 mcb = g_malloc0(sizeof(*mcb) + num_reqs * sizeof(*mcb->callbacks)); in bdrv_aio_multiwrite()2197 mcb->num_callbacks = num_reqs; in bdrv_aio_multiwrite()2199 for (i = 0; i < num_reqs; i++) { in bdrv_aio_multiwrite()2205 num_reqs = multiwrite_merge(bs, reqs, num_reqs, mcb); in bdrv_aio_multiwrite()2228 for (i = 0; i < num_reqs; i++) { in bdrv_aio_multiwrite()
78 int num_reqs);
136 int num_reqs);