/external/ltp/testcases/kernel/io/aio/aio01/ |
D | aio01.c | 81 struct iocb **iocbs; /* I/O Control Blocks */ variable 129 io_prep_pwrite(iocbs[0], fd, srcbuf, bufsize, pos); in main() 134 TEST(io_submit(io_ctx, 1, iocbs)); in main() 160 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos); in main() 165 TEST(io_submit(io_ctx, 1, iocbs)); in main() 192 io_prep_pwrite(iocbs[0], fd, srcbuf, bufsize, pos); in main() 196 TEST(io_submit(io_ctx, 1, iocbs)); in main() 223 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos); in main() 227 TEST(io_submit(io_ctx, 1, iocbs)); in main() 254 io_prep_pwrite(iocbs[0], fd, srcbuf, bufsize, pos); in main() [all …]
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
D | aio-dio-extend-stat.c | 50 struct iocb *iocbs[MAX_AIO_EVENTS]; variable 82 iocbs[i] = calloc(1, sizeof(struct iocb)); in main() 83 if (iocbs[i] == NULL) in main() 87 iocbs[i]->aio_fildes = handle; in main() 88 iocbs[i]->aio_lio_opcode = IO_CMD_PWRITE; in main() 89 iocbs[i]->aio_reqprio = 0; in main() 90 iocbs[i]->u.c.buf = buf; in main() 91 iocbs[i]->u.c.nbytes = BUFSIZE; in main() 92 iocbs[i]->u.c.offset = BUFSIZE*i; in main() 149 ret = io_submit(ctxp, 1, &(iocbs[i])); in fun_writeN() [all …]
|
D | aio-dio-invalidate-failure.c | 49 struct iocb *iocbs[1] = { &iocb }; in spin_dio() local 60 ret = io_submit(ctx, 1, iocbs); in spin_dio()
|
/external/ltp/testcases/kernel/syscalls/io_submit/ |
D | io_submit01.c | 94 struct iocb *iocbs[1]; in main() local 118 iocbs[0] = &iocb; in main() 125 TEST(io_submit(ctx, 1, iocbs)); in main() 171 iocbs[0] = &iocb; in main() 172 TEST(io_submit(ctx, 1, iocbs)); in main() 184 iocbs[0] = &iocb; in main() 185 TEST(io_submit(ctx, 1, iocbs)); in main()
|
/external/fio/engines/ |
D | libaio.c | 23 struct iocb **iocbs; member 213 ld->iocbs[ld->head] = &io_u->iocb; in fio_libaio_queue() 242 struct iocb **iocbs; in fio_libaio_commit() local 255 iocbs = ld->iocbs + ld->tail; in fio_libaio_commit() 257 ret = io_submit(ld->aio_ctx, nr, iocbs); in fio_libaio_commit() 330 free(ld->iocbs); in fio_libaio_cleanup() 363 ld->iocbs = calloc(ld->entries, sizeof(struct iocb *)); in fio_libaio_init()
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aiodio_sparse.c | 63 struct iocb **iocbs; in aiodio_sparse() local 75 iocbs = malloc(sizeof(struct iocb *) * num_aio); in aiodio_sparse() 77 if ((iocbs[i] = malloc(sizeof(struct iocb))) == 0) { in aiodio_sparse() 96 io_prep_pwrite(iocbs[i], fd, bufptr, writesize, offset); in aiodio_sparse() 103 if ((w = io_submit(myctx, num_aio, iocbs)) < 0) { in aiodio_sparse()
|
D | aiodio_append.c | 84 struct iocb *iocbs[NUM_AIO]; in aiodio_append() local 107 iocbs[i] = &iocb_array[i]; in aiodio_append() 114 if ((w = io_submit(myctx, NUM_AIO, iocbs)) < 0) { in aiodio_append()
|
D | aio-stress.c | 229 struct iocb **iocbs; member 876 struct iocb **my_iocbs = t->iocbs; 901 ret = run_built(t, num_built, t->iocbs); 974 t->iocbs = malloc(sizeof(struct iocb *) * max_io_submit); 975 if (!t->iocbs) { 980 memset(t->iocbs, 0, max_io_submit * sizeof(struct iocb *)); 995 free(t->iocbs);
|
/external/autotest/client/tests/aiostress/ |
D | aio-stress.c | 231 struct iocb **iocbs; member 861 struct iocb **my_iocbs = t->iocbs; 886 ret = run_built(t, num_built, t->iocbs); 958 t->iocbs = malloc(sizeof(struct iocb *) * max_io_submit); 959 if (!t->iocbs) { 964 memset(t->iocbs, 0, max_io_submit * sizeof(struct iocb *)); 980 if (t->iocbs) 981 free(t->iocbs);
|
/external/ltp/runtest/ |
D | ltp-aio-stress.part2 | 7 # -b max number of iocbs to give io_submit at once
|
D | ltp-aio-stress.part1 | 7 # -b max number of iocbs to give io_submit at once
|