Searched refs:io_ctx (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/io/aio/ |
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/syzkaller/sys/linux/ |
D | aio.txt | 6 resource io_ctx[intptr] 8 io_setup(n int32, ctx ptr[out, io_ctx]) 9 io_destroy(ctx io_ctx) 10 io_getevents(ctx io_ctx, min_nr intptr, nr len[events], events ptr[out, array[io_event]], timeout p… 11 io_pgetevents(ctx io_ctx, min_nr intptr, nr len[events], events ptr[out, array[io_event]], timeout … 14 io_submit(ctx io_ctx, nr len[iocbpp], iocbpp ptr[in, array[ptr[in, iocb]]]) 15 io_cancel(ctx io_ctx, iocb ptr[in, iocb], res ptr[out, io_event])
|
/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);
|