Lines Matching refs:aio_ret
124 int *aio_ret = opaque; in aio_ret_cb() local
125 *aio_ret = ret; in aio_ret_cb()
222 int aio_ret; in test_drv_cb_common() local
244 aio_ret = -EINPROGRESS; in test_drv_cb_common()
245 acb = blk_aio_preadv(blk, 0, &qiov, 0, aio_ret_cb, &aio_ret); in test_drv_cb_common()
247 g_assert_cmpint(aio_ret, ==, -EINPROGRESS); in test_drv_cb_common()
254 g_assert_cmpint(aio_ret, ==, 0); in test_drv_cb_common()
484 int *aio_ret; member
493 g_assert_cmpint(*data->aio_ret, ==, 0); in test_iothread_drain_co_entry()
502 int *aio_ret = opaque; in test_iothread_aio_cb() local
503 *aio_ret = ret; in test_iothread_aio_cb()
531 int aio_ret; in test_iothread_common() local
557 aio_ret = -EINPROGRESS; in test_iothread_common()
561 acb = blk_aio_preadv(blk, 0, &qiov, 0, test_iothread_aio_cb, &aio_ret); in test_iothread_common()
563 acb = blk_aio_preadv(blk, 0, &qiov, 0, aio_ret_cb, &aio_ret); in test_iothread_common()
566 g_assert_cmpint(aio_ret, ==, -EINPROGRESS); in test_iothread_common()
571 .aio_ret = &aio_ret, in test_iothread_common()
595 g_assert_cmpint(aio_ret, ==, 0); in test_iothread_common()