Lines Matching refs:aio_ret
124 int *aio_ret = opaque; in aio_ret_cb() local
125 *aio_ret = ret; in aio_ret_cb()
234 int aio_ret; in test_drv_cb_common() local
256 aio_ret = -EINPROGRESS; in test_drv_cb_common()
257 acb = blk_aio_preadv(blk, 0, &qiov, 0, aio_ret_cb, &aio_ret); in test_drv_cb_common()
259 g_assert_cmpint(aio_ret, ==, -EINPROGRESS); in test_drv_cb_common()
266 g_assert_cmpint(aio_ret, ==, 0); in test_drv_cb_common()
496 int *aio_ret; member
505 g_assert_cmpint(*data->aio_ret, ==, 0); in test_iothread_drain_co_entry()
514 int *aio_ret = opaque; in test_iothread_aio_cb() local
515 *aio_ret = ret; in test_iothread_aio_cb()
547 int aio_ret; in test_iothread_common() local
574 aio_ret = -EINPROGRESS; in test_iothread_common()
578 acb = blk_aio_preadv(blk, 0, &qiov, 0, test_iothread_aio_cb, &aio_ret); in test_iothread_common()
580 acb = blk_aio_preadv(blk, 0, &qiov, 0, aio_ret_cb, &aio_ret); in test_iothread_common()
583 g_assert_cmpint(aio_ret, ==, -EINPROGRESS); in test_iothread_common()
590 .aio_ret = &aio_ret, in test_iothread_common()
624 g_assert_cmpint(aio_ret, ==, 0); in test_iothread_common()