/external/ltp/testcases/kernel/io/aio/aio01/ |
aio01.c | 80 io_context_t io_ctx; /* I/O Context */ variable 134 TEST(io_submit(io_ctx, 1, iocbs)); 142 while (io_getevents(io_ctx, 1, 1, &event, &ts) != 1) ; 165 TEST(io_submit(io_ctx, 1, iocbs)); 173 while (io_getevents(io_ctx, 1, 1, &event, &ts) != 1) ; 196 TEST(io_submit(io_ctx, 1, iocbs)); 204 while (io_getevents(io_ctx, 1, 1, &event, &ts) != 1) ; 227 TEST(io_submit(io_ctx, 1, iocbs)); 235 while (io_getevents(io_ctx, 1, 1, &event, &ts) != 1) ; 258 TEST(io_submit(io_ctx, 1, iocbs)) [all...] |
/external/fio/engines/ |
rbd.c | 34 rados_ioctx_t io_ctx; member in struct:rbd_data 222 r = rados_ioctx_create(rbd->cluster, o->pool_name, &rbd->io_ctx); 228 r = rbd_open(rbd->io_ctx, o->rbd_name, &rbd->image, NULL /*snap */ ); 243 rados_ioctx_destroy(rbd->io_ctx); 244 rbd->io_ctx = NULL; 269 if (rbd->io_ctx) { 270 rados_ioctx_destroy(rbd->io_ctx); 271 rbd->io_ctx = NULL;
|
/external/autotest/client/tests/aiostress/ |
aio-stress.c | 215 io_context_t io_ctx; member in struct:thread_info 482 nr = io_getevents(t->io_ctx, min_nr, t->num_global_events, t->events,NULL); 484 nr = io_getevents(t->io_ctx, t->num_global_events, t->events, NULL); 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) 918 int res = io_queue_init(n, io_ctx); 1103 aio_setup(&t->io_ctx, 512); 1207 io_queue_release(t->io_ctx); [all...] |
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
aio-stress.c | 213 io_context_t io_ctx; member in struct:thread_info 492 nr = io_getevents(t->io_ctx, min_nr, t->num_global_events, t->events, 495 nr = io_getevents(t->io_ctx, t->num_global_events, t->events, NULL); 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) 934 int res = io_queue_init(n, io_ctx); 1119 aio_setup(&t->io_ctx, 512); 1227 io_queue_release(t->io_ctx); [all...] |
/external/fio/ |
configure | [all...] |