Home
last modified time | relevance | path

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

/external/strace/
Daio.c120 struct iocb { struct
138 PADDEDptr(struct iocb *obj, __pad2); argument
215 print_common_flags(struct iocb *iocb) in print_common_flags() argument
217 if (iocb->u.c.flags & IOCB_RESFD) in print_common_flags()
218 tprintf(", resfd=%d", iocb->u.c.resfd); in print_common_flags()
219 if (iocb->u.c.flags & ~IOCB_RESFD) in print_common_flags()
220 tprintf(", flags=%x", iocb->u.c.flags); in print_common_flags()
235 struct iocb **iocbs = (void *)tcp->u_arg[2]; in sys_io_submit()
240 struct iocb *iocbp; in sys_io_submit()
241 struct iocb iocb; in sys_io_submit() local
[all …]
/external/compiler-rt/test/msan/Linux/
Dsyscalls.cc87 struct iocb iocb[2]; in main() local
88 struct iocb *iocbp[2] = { &iocb[0], &iocb[1] }; in main()
89 memset(iocb, 0, sizeof(iocb)); in main()
90 iocb[0].aio_lio_opcode = IOCB_CMD_PREAD; in main()
91 iocb[0].aio_buf = (__u64)buf; in main()
92 iocb[0].aio_nbytes = kFortyTwo; in main()
93 iocb[1].aio_lio_opcode = IOCB_CMD_PREAD; in main()
94 iocb[1].aio_buf = (__u64)(&buf[kFortyTwo]); in main()
95 iocb[1].aio_nbytes = kFortyTwo; in main()
/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/fio/engines/
Dlibaio.c19 struct iocb **iocbs;
49 io_prep_pread(&io_u->iocb, f->fd, io_u->xfer_buf, io_u->xfer_buflen, io_u->offset); in fio_libaio_prep()
51 io_prep_pwrite(&io_u->iocb, f->fd, io_u->xfer_buf, io_u->xfer_buflen, io_u->offset); in fio_libaio_prep()
53 io_prep_fsync(&io_u->iocb, f->fd); in fio_libaio_prep()
65 io_u = container_of(ev->obj, struct io_u, iocb); in fio_libaio_event()
178 ld->iocbs[ld->iocbs_nr] = &io_u->iocb; in fio_libaio_queue()
206 struct iocb **iocbs; in fio_libaio_commit()
239 return io_cancel(ld->aio_ctx, &io_u->iocb, ld->aio_events); in fio_libaio_cancel()
281 ld->iocbs = malloc(td->o.iodepth * sizeof(struct iocb *)); in fio_libaio_init()
282 memset(ld->iocbs, 0, sizeof(struct iocb *)); in fio_libaio_init()
/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/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/stressapptest/src/
Dworker.cc2913 struct iocb cb; in AsyncDiskIO()
2922 struct iocb *cbs[] = { &cb }; in AsyncDiskIO()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-linux.c1782 struct iocb **, iocbpp); in PRE()
1832 vki_aio_context_t, ctx_id, struct iocb *, iocb, in PRE()
/external/valgrind/main/memcheck/tests/x86-linux/
Dscalar.stderr.exp3474 Syscall param io_cancel(iocb) contains uninitialised byte(s)
3482 Syscall param io_cancel(iocb) points to unaddressable byte(s)