/third_party/ltp/testcases/kernel/io/aio/ |
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 …]
|
/third_party/ltp/testcases/kernel/syscalls/io_submit/ |
D | io_submit03.c | 35 static struct iocb *iocbs[] = {&iocb}; variable 53 struct iocb **iocbs; member 58 {&invalid_ctx, 1, iocbs, EINVAL, "invalid ctx"}, 60 {&ctx, -1, iocbs, EINVAL, "invalid nr"}, 106 TST_EXP_FAIL2(tst_syscall(__NR_io_submit, *tc[i].ctx, tc[i].nr, tc[i].iocbs), in run()
|
D | io_submit01.c | 35 static struct iocb *iocbs[] = {&iocb}; variable 58 struct iocb **iocbs; member 63 {&invalid_ctx, 1, iocbs, -EINVAL, "invalid ctx"}, 65 {&ctx, -1, iocbs, -EINVAL, "invalid nr"}, 119 ret = io_submit(*t->ctx, t->nr, t->iocbs); in verify_io_submit()
|
D | io_submit02.c | 32 static struct iocb *iocbs[] = {&iocb}; variable 37 struct iocb **iocbs; member 40 {&ctx, 1, iocbs, "returns the number of iocbs submitted"}, 73 TEST(tst_syscall(__NR_io_submit, *tc[i].ctx, tc[i].nr, tc[i].iocbs)); in run()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aiodio_sparse.c | 66 struct iocb **iocbs; in aiodio_sparse() local 78 iocbs = malloc(sizeof(struct iocb *) * num_aio); in aiodio_sparse() 80 if ((iocbs[i] = malloc(sizeof(struct iocb))) == 0) { in aiodio_sparse() 99 io_prep_pwrite(iocbs[i], fd, bufptr, writesize, offset); in aiodio_sparse() 106 if ((w = io_submit(myctx, num_aio, iocbs)) < 0) { in aiodio_sparse()
|
D | aiodio_append.c | 50 struct iocb *iocbs[naio]; in aiodio_append() local 69 iocbs[i] = &iocb_array[i]; in aiodio_append() 76 w = io_submit(myctx, naio, iocbs); in aiodio_append()
|
D | aio-stress.c | 233 struct iocb **iocbs; member 880 struct iocb **my_iocbs = t->iocbs; 905 ret = run_built(t, num_built, t->iocbs); 978 t->iocbs = malloc(sizeof(struct iocb *) * max_io_submit); 979 if (!t->iocbs) { 984 memset(t->iocbs, 0, max_io_submit * sizeof(struct iocb *)); 999 free(t->iocbs);
|
/third_party/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
|