HomeSort by relevance Sort by last modified time
    Searched refs:iocbs (Results 1 - 13 of 13) sorted by null

  /external/autotest/client/tests/aio_dio_bugs/src/
aio-dio-extend-stat.c 50 struct iocb *iocbs[MAX_AIO_EVENTS]; variable in typeref:struct:iocb
82 iocbs[i] = calloc(1, sizeof(struct iocb));
83 if (iocbs[i] == NULL)
86 /* iocbs[i]->data = i; */
87 iocbs[i]->aio_fildes = handle;
88 iocbs[i]->aio_lio_opcode = IO_CMD_PWRITE;
89 iocbs[i]->aio_reqprio = 0;
90 iocbs[i]->u.c.buf = buf;
91 iocbs[i]->u.c.nbytes = BUFSIZE;
92 iocbs[i]->u.c.offset = BUFSIZE*i
    [all...]
aio-dio-invalidate-failure.c 49 struct iocb *iocbs[1] = { &iocb }; local
60 ret = io_submit(ctx, 1, iocbs);
  /external/ltp/testcases/kernel/io/aio/aio01/
aio01.c 81 struct iocb **iocbs; /* I/O Control Blocks */ variable in typeref:struct:iocb
129 io_prep_pwrite(iocbs[0], fd, srcbuf, bufsize, pos);
134 TEST(io_submit(io_ctx, 1, iocbs));
160 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos);
165 TEST(io_submit(io_ctx, 1, iocbs));
192 io_prep_pwrite(iocbs[0], fd, srcbuf, bufsize, pos);
196 TEST(io_submit(io_ctx, 1, iocbs));
223 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos);
227 TEST(io_submit(io_ctx, 1, iocbs));
254 io_prep_pwrite(iocbs[0], fd, srcbuf, bufsize, pos)
    [all...]
  /external/ltp/testcases/kernel/syscalls/io_submit/
io_submit01.c 37 static struct iocb *iocbs[] = {&iocb}; variable in typeref:struct:iocb
60 struct iocb **iocbs; member in struct:tcase
65 {&invalid_ctx, 1, iocbs, -EINVAL, "invalid ctx"},
67 {&ctx, -1, iocbs, -EINVAL, "invalid nr"},
121 ret = io_submit(*t->ctx, t->nr, t->iocbs);
  /external/ltp/testcases/kernel/io/ltp-aiodio/
aiodio_append.c 88 struct iocb *iocbs[NUM_AIO]; local
111 iocbs[i] = &iocb_array[i];
118 if ((w = io_submit(myctx, NUM_AIO, iocbs)) < 0) {
aiodio_sparse.c 66 struct iocb **iocbs; local
78 iocbs = malloc(sizeof(struct iocb *) * num_aio);
80 if ((iocbs[i] = malloc(sizeof(struct iocb))) == 0) {
87 * allocate the iocbs array and iocbs with buffers
99 io_prep_pwrite(iocbs[i], fd, bufptr, writesize, offset);
106 if ((w = io_submit(myctx, num_aio, iocbs)) < 0) {
aio-stress.c 233 struct iocb **iocbs; member in struct:thread_info
709 * does setup on num_ios worth of iocbs, but does not actually
738 * runs through the iocbs in the array provided and updates
870 * this function stops after max_io_submit iocbs are sent down the
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) {
980 fprintf(stderr, "unable to allocate iocbs\n");
984 memset(t->iocbs, 0, max_io_submit * sizeof(struct iocb *))
    [all...]
  /system/core/adb/daemon/
usb.h 27 std::vector<struct iocb*> iocbs; member in struct:aio_block
usb.cpp 231 aiob->iocbs.resize(USB_FFS_NUM_BUFS);
235 aiob->iocbs[i] = &aiob->iocb[i];
441 if (TEMP_FAILURE_RETRY(io_submit(aiob->ctx, num_bufs, aiob->iocbs.data())) < num_bufs) {
  /external/fio/engines/
libaio.c 23 struct iocb **iocbs; member in struct:libaio_data
213 ld->iocbs[ld->head] = &io_u->iocb;
242 struct iocb **iocbs; local
255 iocbs = ld->iocbs + ld->tail;
257 ret = io_submit(ld->aio_ctx, nr, iocbs);
330 free(ld->iocbs);
363 ld->iocbs = calloc(ld->entries, sizeof(struct iocb *));
  /frameworks/av/media/mtp/
MtpFfsHandle.h 35 std::vector<struct iocb> iocbs; // Holds memory for all iocbs. Not used directly. member in struct:android::io_buffer
36 std::vector<struct iocb*> iocb; // Pointers to individual iocbs, for syscalls
MtpFfsHandle.cpp 273 mIobuf[i].iocbs.resize(AIO_BUFS_MAX);
277 mIobuf[i].iocb[j] = &mIobuf[i].iocbs[j];
506 short_i = (ioevs[j].obj - reinterpret_cast<uint64_t>(mIobuf[i].iocbs.data()))
  /external/autotest/client/tests/aiostress/
aio-stress.c 231 struct iocb **iocbs; member in struct:thread_info
693 * does setup on num_ios worth of iocbs, but does not actually
722 * runs through the iocbs in the array provided and updates
850 * this function stops after max_io_submit iocbs are sent down the
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) {
960 fprintf(stderr, "unable to allocate iocbs\n");
964 memset(t->iocbs, 0, max_io_submit * sizeof(struct iocb *))
    [all...]

Completed in 606 milliseconds