Home
last modified time | relevance | path

Searched refs:iocb (Results 1 – 18 of 18) sorted by relevance

/external/compiler-rt/test/msan/Linux/
Dsyscalls.cc88 struct iocb iocb[3]; in main() local
89 struct iocb *iocbp[3] = { &iocb[0], &iocb[1], &iocb[2] }; in main()
90 memset(iocb, 0, sizeof(iocb)); in main()
91 iocb[0].aio_lio_opcode = IOCB_CMD_PREAD; in main()
92 iocb[0].aio_buf = (__u64)buf; in main()
93 iocb[0].aio_nbytes = 10; in main()
94 iocb[1].aio_lio_opcode = IOCB_CMD_PREAD; in main()
95 iocb[1].aio_buf = (__u64)(&buf[20]); in main()
96 iocb[1].aio_nbytes = 15; in main()
98 iocb[2].aio_lio_opcode = IOCB_CMD_PREADV; in main()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_linux.cc95 CHECK_TYPE_SIZE(iocb);
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);
Dsanitizer_common_syscalls.inc1345 PRE_SYSCALL(io_cancel)(long ctx_id, __sanitizer_iocb *iocb,
1349 POST_SYSCALL(io_cancel)(long res, long ctx_id, __sanitizer_iocb *iocb,
1357 if (iocb)
1358 POST_WRITE(iocb, sizeof(*iocb));
/external/autotest/client/tests/aio_dio_bugs/src/
Daio-dio-invalidate-failure.c48 struct iocb iocb; in spin_dio() local
49 struct iocb *iocbs[1] = { &iocb }; in spin_dio()
53 io_prep_pwrite(&iocb, fd, buf, GINORMOUS, 0); in spin_dio()
Daio-dio-subblock-eof-read.c41 struct iocb myiocb; in main()
42 struct iocb *cb = &myiocb; in main()
Daio-dio-extend-stat.c50 struct iocb *iocbs[MAX_AIO_EVENTS];
82 iocbs[i] = calloc(1, sizeof(struct iocb)); in main()
/external/strace/
Daio.c81 print_common_flags(const struct iocb *cb) in print_common_flags()
93 iocb_is_valid(const struct iocb *cb) in iocb_is_valid()
101 print_iocb_header(const struct iocb *cb) in print_iocb_header()
122 print_iocb(struct tcb *tcp, const struct iocb *cb) in print_iocb()
168 struct iocb cb; in SYS_FUNC()
209 struct iocb cb; in SYS_FUNC()
/external/fio/engines/
Dlibaio.c21 struct iocb **iocbs;
73 io_prep_pread(&io_u->iocb, f->fd, io_u->xfer_buf, io_u->xfer_buflen, io_u->offset); in fio_libaio_prep()
75 io_prep_pwrite(&io_u->iocb, f->fd, io_u->xfer_buf, io_u->xfer_buflen, io_u->offset); in fio_libaio_prep()
77 io_prep_fsync(&io_u->iocb, f->fd); in fio_libaio_prep()
89 io_u = container_of(ev->obj, struct io_u, iocb); in fio_libaio_event()
211 ld->iocbs[ld->head] = &io_u->iocb; in fio_libaio_queue()
240 struct iocb **iocbs; in fio_libaio_commit()
311 return io_cancel(ld->aio_ctx, &io_u->iocb, ld->aio_events); in fio_libaio_cancel()
354 ld->iocbs = calloc(ld->entries, sizeof(struct iocb *)); in fio_libaio_init()
/external/autotest/client/tests/aiostress/
Daio-stress.c192 struct iocb iocb; member
231 struct iocb **iocbs;
349 s.st_size > (io->iocb.u.c.offset + io->res)) { in check_finished_io()
352 io->res, strerror(-io->res), io->iocb.aio_lio_opcode, in check_finished_io()
353 io->iocb.u.c.offset, io->buf_size); in check_finished_io()
362 io->io_oper->file_name, io->iocb.u.c.offset); in check_finished_io()
616 io_prep_pwrite(&io->iocb,oper->fd, io->buf, oper->reclen,
621 io_prep_pread(&io->iocb,oper->fd, io->buf, oper->reclen,
628 io_prep_pread(&io->iocb,oper->fd, io->buf, oper->reclen,
634 io_prep_pwrite(&io->iocb,oper->fd, io->buf, oper->reclen,
[all …]
/external/strace/tests/
Daio.c56 const struct iocb cb[] = { in main()
92 const struct iocb cbv[] = { in main()
110 struct iocb cbc = { in main()
/external/blktrace/btreplay/
Dbtreplay.c126 struct iocb iocb; member
702 iocbp->iocb.u.c.buf = NULL; in iocb_init()
715 struct iocb *iop = &iocbp->iocb; in iocb_setup()
842 free(iocbp->iocb.u.c.buf); in tip_release()
1057 if (evp->res != iocbp->iocb.u.c.nbytes) { in reclaim_ios()
1061 (long)iocbp->iocb.u.c.offset / nb_sec, in reclaim_ios()
1062 (long)iocbp->iocb.u.c.nbytes / nb_sec); in reclaim_ios()
1211 static void iocbs_map(struct thr_info *tip, struct iocb **list, in iocbs_map()
1239 list[i] = &iocbp->iocb; in iocbs_map()
1255 struct iocb *list[bunch->hdr.npkts]; in process_bunch()
/external/fio/
Dioengine.h97 struct iocb iocb; member
/external/kernel-headers/original/uapi/linux/
Daio_abi.h79 struct iocb { struct
/external/valgrind/docs/internals/
D3_10_BUGSTATUS.txt83 341537 POST(sys_io_getevents) shouldn't check iocb or iovec
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/sanitizer/
Dlinux_syscall_hooks.h777 #define __sanitizer_syscall_pre_io_cancel(ctx_id, iocb, result) \ argument
778 __sanitizer_syscall_pre_impl_io_cancel((long)(ctx_id), (long)(iocb), \
780 #define __sanitizer_syscall_post_io_cancel(res, ctx_id, iocb, result) \ argument
781 __sanitizer_syscall_post_impl_io_cancel(res, (long)(ctx_id), (long)(iocb), \
2433 void __sanitizer_syscall_pre_impl_io_cancel(long ctx_id, long iocb,
2435 void __sanitizer_syscall_post_impl_io_cancel(long res, long ctx_id, long iocb,
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h777 #define __sanitizer_syscall_pre_io_cancel(ctx_id, iocb, result) \ argument
778 __sanitizer_syscall_pre_impl_io_cancel((long)(ctx_id), (long)(iocb), \
780 #define __sanitizer_syscall_post_io_cancel(res, ctx_id, iocb, result) \ argument
781 __sanitizer_syscall_post_impl_io_cancel(res, (long)(ctx_id), (long)(iocb), \
2433 void __sanitizer_syscall_pre_impl_io_cancel(long ctx_id, long iocb,
2435 void __sanitizer_syscall_post_impl_io_cancel(long res, long ctx_id, long iocb,
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c1823 struct iocb **, iocbpp); in PRE()
1873 vki_aio_context_t, ctx_id, struct iocb *, iocb, in PRE()
/external/valgrind/memcheck/tests/x86-linux/
Dscalar.stderr.exp3478 Syscall param io_cancel(iocb) contains uninitialised byte(s)
3486 Syscall param io_cancel(iocb) points to unaddressable byte(s)