Home
last modified time | relevance | path

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

/external/qemu/
Dblock.c2102 int i, outidx; in multiwrite_merge() local
2109 outidx = 0; in multiwrite_merge()
2112 int64_t oldreq_last = reqs[outidx].sector + reqs[outidx].nb_sectors; in multiwrite_merge()
2125 merge = bs->drv->bdrv_merge_requests(bs, &reqs[outidx], &reqs[i]); in multiwrite_merge()
2128 if (reqs[outidx].qiov->niov + reqs[i].qiov->niov + 1 > IOV_MAX) { in multiwrite_merge()
2136 reqs[outidx].qiov->niov + reqs[i].qiov->niov + 1); in multiwrite_merge()
2140 size = (reqs[i].sector - reqs[outidx].sector) << 9; in multiwrite_merge()
2141 qemu_iovec_concat(qiov, reqs[outidx].qiov, 0, size); in multiwrite_merge()
2155 reqs[outidx].nb_sectors = qiov->size >> 9; in multiwrite_merge()
2156 reqs[outidx].qiov = qiov; in multiwrite_merge()
[all …]