Lines Matching full:opaque
52 static void dma_bdrv_cb(void *opaque, int ret);
54 static void reschedule_dma(void *opaque)
56 DMAAIOCB *dbs = (DMAAIOCB *)opaque;
60 dma_bdrv_cb(opaque, 0);
63 static void continue_after_map_failure(void *opaque)
65 DMAAIOCB *dbs = (DMAAIOCB *)opaque;
82 static void dma_bdrv_cb(void *opaque, int ret)
84 DMAAIOCB *dbs = (DMAAIOCB *)opaque;
94 dbs->common.cb(dbs->common.opaque, ret);
149 BlockDriverCompletionFunc *cb, void *opaque,
152 DMAAIOCB *dbs = qemu_aio_get(&dma_aio_pool, bs, cb, opaque);
174 void (*cb)(void *opaque, int ret), void *opaque)
176 return dma_bdrv_io(bs, sg, sector, cb, opaque, 0);
181 void (*cb)(void *opaque, int ret), void *opaque)
183 return dma_bdrv_io(bs, sg, sector, cb, opaque, 1);