HomeSort by relevance Sort by last modified time
    Searched refs:iocb (Results 1 - 25 of 150) sorted by null

1 2 3 4 5 6

  /external/compiler-rt/lib/sanitizer_common/
sanitizer_platform_limits_linux.cc 95 CHECK_TYPE_SIZE(iocb); variable
96 CHECK_SIZE_AND_OFFSET(iocb, aio_data);
98 CHECK_SIZE_AND_OFFSET(iocb, aio_lio_opcode);
99 CHECK_SIZE_AND_OFFSET(iocb, aio_reqprio);
100 CHECK_SIZE_AND_OFFSET(iocb, aio_fildes);
101 CHECK_SIZE_AND_OFFSET(iocb, aio_buf);
102 CHECK_SIZE_AND_OFFSET(iocb, aio_nbytes);
103 CHECK_SIZE_AND_OFFSET(iocb, aio_offset);
  /external/compiler-rt/test/msan/Linux/
syscalls.cc 88 struct iocb iocb[3]; local
89 struct iocb *iocbp[3] = { &iocb[0], &iocb[1], &iocb[2] };
90 memset(iocb, 0, sizeof(iocb));
91 iocb[0].aio_lio_opcode = IOCB_CMD_PREAD;
92 iocb[0].aio_buf = (__u64)buf
    [all...]
  /external/ltp/testcases/kernel/syscalls/io_submit/
io_submit01.c 93 struct iocb iocb; local
94 struct iocb *iocbs[1];
117 /* 1.3 - EINVAL: uninitialized iocb */
118 iocbs[0] = &iocb;
121 * iocb, but with "random" data it's not 100%. Make sure we
123 iocb.aio_lio_opcode = -1;
141 /* 2 - EFAULT: iocb points to invalid data */
142 TEST(io_submit(ctx, 1, (struct iocb **)-1));
152 TEST(io_submit(ctx, -1, (struct iocb **)-1))
    [all...]
  /external/ltp/testcases/kernel/io/ltp-aiodio/
aiocp.c 65 struct iocb **iocb_free; /* array of pointers to iocb */
135 if ((iocb_free = malloc(n * sizeof(struct iocb *))) == 0) {
141 (iocb_free[i] = malloc(sizeof(struct iocb))))
161 static struct iocb *alloc_iocb(void)
168 void free_iocb(struct iocb *io)
192 struct iocb *iocb = ep->obj; local
195 fprintf(stderr, "ev:%p iocb:%p res:%ld res2:%ld\n",
196 ep, iocb, ep->res, ep->res2)
    [all...]
aiodio_append.c 83 struct iocb iocb_array[NUM_AIO];
84 struct iocb *iocbs[NUM_AIO];
123 struct iocb *iocbp;
127 iocbp = (struct iocb *)event.obj;
aiodio_sparse.c 63 struct iocb **iocbs;
75 iocbs = malloc(sizeof(struct iocb *) * num_aio);
77 if ((iocbs[i] = malloc(sizeof(struct iocb))) == 0) {
118 struct iocb *iocbp;
141 iocbp = (struct iocb *)event.obj;
175 struct iocb *iocbp;
185 iocbp = (struct iocb *)event.obj;
  /external/ltp/testcases/kernel/io/aio/aio02/
aio_tio.c 51 static void work_done(io_context_t ctx, struct iocb *iocb, long res, long res2)
58 if (res != iocb->u.c.nbytes) {
60 iocb->u.c.nbytes, res2);
85 struct iocb *iocb = ep->obj; local
86 cb(ctx, iocb, ep->res, ep->res2);
99 struct iocb iocb_array[AIO_MAXIO];
100 struct iocb *iocbps[AIO_MAXIO];
  /external/autotest/client/tests/aio_dio_bugs/src/
aio-dio-invalidate-failure.c 18 * an iocb twice. This typically references freed memory from an interrupt
48 struct iocb iocb; local
49 struct iocb *iocbs[1] = { &iocb };
53 io_prep_pwrite(&iocb, fd, buf, GINORMOUS, 0);
aio-dio-subblock-eof-read.c 41 struct iocb myiocb;
42 struct iocb *cb = &myiocb;
  /external/fio/engines/
libaio.c 23 struct iocb **iocbs;
75 io_prep_pread(&io_u->iocb, f->fd, io_u->xfer_buf, io_u->xfer_buflen, io_u->offset);
77 io_prep_pwrite(&io_u->iocb, f->fd, io_u->xfer_buf, io_u->xfer_buflen, io_u->offset);
79 io_prep_fsync(&io_u->iocb, f->fd);
91 io_u = container_of(ev->obj, struct io_u, iocb);
213 ld->iocbs[ld->head] = &io_u->iocb;
242 struct iocb **iocbs;
313 return io_cancel(ld->aio_ctx, &io_u->iocb, ld->aio_events);
363 ld->iocbs = calloc(ld->entries, sizeof(struct iocb *));
  /bionic/libc/kernel/uapi/linux/
aio_abi.h 47 struct iocb { struct
  /development/ndk/platforms/android-21/include/linux/
aio_abi.h 54 struct iocb { struct
  /development/ndk/platforms/android-9/include/linux/
aio_abi.h 43 struct iocb { struct
  /external/kernel-headers/original/uapi/linux/
aio_abi.h 50 * Valid flags for the "aio_flags" member of the "struct iocb".
52 * IOCB_FLAG_RESFD - Set if the "aio_resfd" member of the "struct iocb"
59 __u64 data; /* the data field from the iocb */
60 __u64 obj; /* what iocb this event came from */
79 struct iocb { struct
97 /* flags for the "struct iocb" */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
aio_abi.h 50 * Valid flags for the "aio_flags" member of the "struct iocb".
52 * IOCB_FLAG_RESFD - Set if the "aio_resfd" member of the "struct iocb"
59 __u64 data; /* the data field from the iocb */
60 __u64 obj; /* what iocb this event came from */
79 struct iocb { struct
97 /* flags for the "struct iocb" */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
aio_abi.h 50 * Valid flags for the "aio_flags" member of the "struct iocb".
52 * IOCB_FLAG_RESFD - Set if the "aio_resfd" member of the "struct iocb"
59 __u64 data; /* the data field from the iocb */
60 __u64 obj; /* what iocb this event came from */
79 struct iocb { struct
97 /* flags for the "struct iocb" */
  /prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/linux/
aio_abi.h 43 struct iocb { struct
  /prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/linux/
aio_abi.h 43 struct iocb { struct
  /prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/linux/
aio_abi.h 43 struct iocb { struct
  /prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/linux/
aio_abi.h 43 struct iocb { struct
  /prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/linux/
aio_abi.h 43 struct iocb { struct
  /prebuilts/ndk/r10/platforms/android-13/arch-x86/usr/include/linux/
aio_abi.h 43 struct iocb { struct
  /prebuilts/ndk/r10/platforms/android-14/arch-arm/usr/include/linux/
aio_abi.h 43 struct iocb { struct
  /prebuilts/ndk/r10/platforms/android-14/arch-mips/usr/include/linux/
aio_abi.h 43 struct iocb { struct
  /prebuilts/ndk/r10/platforms/android-14/arch-x86/usr/include/linux/
aio_abi.h 43 struct iocb { struct

Completed in 904 milliseconds

1 2 3 4 5 6