Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/io/aio/aio01/
Daio01.c80 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/
Drbd.c34 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/
Daio-stress.c215 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/
Daio-stress.c213 io_context_t io_ctx; member
492 nr = io_getevents(t->io_ctx, min_nr, t->num_global_events, t->events, in read_some_events()
495 nr = io_getevents(t->io_ctx, t->num_global_events, t->events, NULL); in read_some_events()
555 while (io_getevents(t->io_ctx, 1, 1, &event, NULL) > 0) {
557 while (io_getevents(t->io_ctx, 1, &event, NULL) > 0) {
759 ret = io_submit(t->io_ctx, num_ios, my_iocbs);
932 void aio_setup(io_context_t * io_ctx, int n) argument
934 int res = io_queue_init(n, io_ctx);
1119 aio_setup(&t->io_ctx, 512);
1227 io_queue_release(t->io_ctx);
/external/fio/
Dconfigure1480 rados_ioctx_t io_ctx;
1486 rados_ioctx_create(cluster, pool, &io_ctx);