Searched refs:io_ctx (Results 1 – 3 of 3) sorted by relevance
/external/fio/engines/ |
D | rbd.c | 21 rados_ioctx_t io_ctx; member 132 r = rados_ioctx_create(rbd->cluster, o->pool_name, &rbd->io_ctx); in _fio_rbd_connect() 138 r = rbd_open(rbd->io_ctx, o->rbd_name, &rbd->image, NULL /*snap */ ); in _fio_rbd_connect() 146 rados_ioctx_destroy(rbd->io_ctx); in _fio_rbd_connect() 147 rbd->io_ctx = NULL; in _fio_rbd_connect() 166 if (rbd->io_ctx) { in _fio_rbd_disconnect() 167 rados_ioctx_destroy(rbd->io_ctx); in _fio_rbd_disconnect() 168 rbd->io_ctx = NULL; in _fio_rbd_disconnect()
|
/external/autotest/client/tests/aiostress/ |
D | aio-stress.c | 215 io_context_t io_ctx; member 482 nr = io_getevents(t->io_ctx, min_nr, t->num_global_events, t->events,NULL); in read_some_events() 484 nr = io_getevents(t->io_ctx, t->num_global_events, t->events, NULL); in read_some_events() 543 while(io_getevents(t->io_ctx, 1, 1, &event, NULL) > 0) { 545 while(io_getevents(t->io_ctx, 1, &event, NULL) > 0) { 747 ret = io_submit(t->io_ctx, num_ios, my_iocbs); 916 void aio_setup(io_context_t *io_ctx, int n) argument 918 int res = io_queue_init(n, io_ctx); 1103 aio_setup(&t->io_ctx, 512); 1207 io_queue_release(t->io_ctx);
|
/external/fio/ |
D | configure | 1207 rados_ioctx_t io_ctx; 1213 rados_ioctx_create(cluster, pool, &io_ctx);
|