Searched refs:io_ctx (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/io/aio/aio01/ |
D | aio01.c | 80 io_context_t io_ctx; /* I/O Context */ variable 134 TEST(io_submit(io_ctx, 1, iocbs)); in main() 142 while (io_getevents(io_ctx, 1, 1, &event, &ts) != 1) ; in main() 165 TEST(io_submit(io_ctx, 1, iocbs)); in main() 173 while (io_getevents(io_ctx, 1, 1, &event, &ts) != 1) ; in main() 196 TEST(io_submit(io_ctx, 1, iocbs)); in main() 204 while (io_getevents(io_ctx, 1, 1, &event, &ts) != 1) ; in main() 227 TEST(io_submit(io_ctx, 1, iocbs)); in main() 235 while (io_getevents(io_ctx, 1, 1, &event, &ts) != 1) ; in main() 258 TEST(io_submit(io_ctx, 1, iocbs)); in main() [all …]
|
/external/fio/engines/ |
D | rbd.c | 34 rados_ioctx_t io_ctx; member 222 r = rados_ioctx_create(rbd->cluster, o->pool_name, &rbd->io_ctx); in _fio_rbd_connect() 228 r = rbd_open(rbd->io_ctx, o->rbd_name, &rbd->image, NULL /*snap */ ); in _fio_rbd_connect() 243 rados_ioctx_destroy(rbd->io_ctx); in _fio_rbd_connect() 244 rbd->io_ctx = NULL; in _fio_rbd_connect() 269 if (rbd->io_ctx) { in _fio_rbd_disconnect() 270 rados_ioctx_destroy(rbd->io_ctx); in _fio_rbd_disconnect() 271 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/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aio-stress.c | 217 io_context_t io_ctx; member 496 nr = io_getevents(t->io_ctx, min_nr, t->num_global_events, t->events, in read_some_events() 499 nr = io_getevents(t->io_ctx, t->num_global_events, t->events, NULL); in read_some_events() 559 while (io_getevents(t->io_ctx, 1, 1, &event, NULL) > 0) { 561 while (io_getevents(t->io_ctx, 1, &event, NULL) > 0) { 763 ret = io_submit(t->io_ctx, num_ios, my_iocbs); 936 void aio_setup(io_context_t * io_ctx, int n) argument 938 int res = io_queue_init(n, io_ctx); 1123 aio_setup(&t->io_ctx, 512); 1231 io_queue_release(t->io_ctx);
|
/external/fio/ |
D | configure | 1480 rados_ioctx_t io_ctx; 1486 rados_ioctx_create(cluster, pool, &io_ctx);
|