Home
last modified time | relevance | path

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

/external/fio/engines/
Dlibaio.c19 io_context_t aio_ctx; member
118 static int user_io_getevents(io_context_t aio_ctx, unsigned int max, in user_io_getevents() argument
123 struct aio_ring *ring = (struct aio_ring*) aio_ctx; in user_io_getevents()
160 && ((struct aio_ring *)(ld->aio_ctx))->magic in fio_libaio_getevents()
162 r = user_io_getevents(ld->aio_ctx, max, in fio_libaio_getevents()
165 r = io_getevents(ld->aio_ctx, actual_min, in fio_libaio_getevents()
255 ret = io_submit(ld->aio_ctx, nr, iocbs); in fio_libaio_commit()
311 return io_cancel(ld->aio_ctx, &io_u->iocb, ld->aio_events); in fio_libaio_cancel()
319 io_destroy(ld->aio_ctx); in fio_libaio_cleanup()
341 err = io_queue_init(INT_MAX, &ld->aio_ctx); in fio_libaio_init()
[all …]