/external/qemu/block/ |
qcow.c | 506 QCowAIOCB *acb = container_of(blockacb, QCowAIOCB, common); local 507 if (acb->hd_aiocb) 508 bdrv_aio_cancel(acb->hd_aiocb); 509 qemu_aio_release(acb); 521 QCowAIOCB *acb; local 523 acb = qemu_aio_get(&qcow_aio_pool, bs, cb, opaque); 524 if (!acb) 526 acb->hd_aiocb = NULL; 527 acb->sector_num = sector_num; 528 acb->qiov = qiov 544 QCowAIOCB *acb = opaque; local 637 QCowAIOCB *acb; local 649 QCowAIOCB *acb = opaque; local 720 QCowAIOCB *acb; local [all...] |
qcow2.c | 348 QCowAIOCB *acb = container_of(blockacb, QCowAIOCB, common); local 349 if (acb->hd_aiocb) 350 bdrv_aio_cancel(acb->hd_aiocb); 351 qemu_aio_release(acb); 362 QCowAIOCB *acb = opaque; local 363 qemu_bh_delete(acb->bh); 364 acb->bh = NULL; 368 static int qcow_schedule_bh(QEMUBHFunc *cb, QCowAIOCB *acb) 370 if (acb->bh) 373 acb->bh = qemu_bh_new(cb, acb) 384 QCowAIOCB *acb = opaque; local 496 QCowAIOCB *acb; local 523 QCowAIOCB *acb; local 556 QCowAIOCB *acb = opaque; local 649 QCowAIOCB *acb; local [all...] |
/external/qemu/ |
posix-aio-compat.c | 422 struct qemu_paiocb *acb, **pacb; local 430 acb = *pacb; 431 if (!acb) 435 if (acb->async_context_id != async_context_id) { 436 pacb = &acb->next; 440 ret = qemu_paio_error(acb); 443 *pacb = acb->next; 444 qemu_aio_release(acb); 449 ret = qemu_paio_return(acb); 450 if (ret == acb->aio_nbytes 539 struct qemu_paiocb *acb = (struct qemu_paiocb *)blockacb; local 572 struct qemu_paiocb *acb; local 601 struct qemu_paiocb *acb; local [all...] |
dma-helpers.c | 42 BlockDriverAIOCB *acb; member in struct:__anon9855 88 dbs->acb = NULL; 120 dbs->acb = bdrv_aio_writev(dbs->bs, dbs->sector_num, &dbs->iov, 123 dbs->acb = bdrv_aio_readv(dbs->bs, dbs->sector_num, &dbs->iov, 126 if (!dbs->acb) { 133 static void dma_aio_cancel(BlockDriverAIOCB *acb) 135 DMAAIOCB *dbs = container_of(acb, DMAAIOCB, common); 137 if (dbs->acb) { 138 bdrv_aio_cancel(dbs->acb); 154 dbs->acb = NULL [all...] |
block.c | 2184 BlockDriverAIOCB *acb; local 2292 BlockDriverAIOCBSync *acb = local 2306 BlockDriverAIOCBSync *acb = opaque; local 2326 BlockDriverAIOCBSync *acb; local 2365 BlockDriverAIOCBSync *acb; local 2384 BlockDriverAIOCBSync *acb; local 2414 BlockDriverAIOCB *acb; local 2445 BlockDriverAIOCB *acb; local 2484 BlockDriverAIOCB *acb; local 2501 BlockDriverAIOCB *acb = (BlockDriverAIOCB *)p; local [all...] |
qemu-io.c | 238 BlockDriverAIOCB *acb; local 241 acb = bdrv_aio_readv(bs, offset >> 9, qiov, qiov->size >> 9, 243 if (!acb) 255 BlockDriverAIOCB *acb; local 258 acb = bdrv_aio_writev(bs, offset >> 9, qiov, qiov->size >> 9, 260 if (!acb) 1124 BlockDriverAIOCB *acb; local 1175 acb = bdrv_aio_readv(bs, ctx->offset >> 9, &ctx->qiov, 1177 if (!acb) { 1225 BlockDriverAIOCB *acb; local [all...] |
block_int.h | 44 void (*cancel)(BlockDriverAIOCB *acb);
|
block.h | 121 void bdrv_aio_cancel(BlockDriverAIOCB *acb);
|