Home
last modified time | relevance | path

Searched refs:iocbp (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiodio_sparse.c121 struct iocb *iocbp; in aiodio_sparse() local
144 iocbp = (struct iocb *)event.obj; in aiodio_sparse()
145 if (event.res2 != 0 || event.res != iocbp->u.c.nbytes) { in aiodio_sparse()
148 iocbp->u.c.offset, iocbp->u.c.nbytes, in aiodio_sparse()
159 io_prep_pwrite(iocbp, fd, iocbp->u.c.buf, writesize, offset); in aiodio_sparse()
161 if ((w = io_submit(myctx, 1, &iocbp)) < 0) { in aiodio_sparse()
178 struct iocb *iocbp; in aiodio_sparse() local
188 iocbp = (struct iocb *)event.obj; in aiodio_sparse()
189 if (event.res2 != 0 || event.res != iocbp->u.c.nbytes) { in aiodio_sparse()
192 iocbp->u.c.offset, iocbp->u.c.nbytes, in aiodio_sparse()
Daiodio_append.c127 struct iocb *iocbp; in aiodio_append() local
131 iocbp = (struct iocb *)event.obj; in aiodio_append()
134 io_prep_pwrite(iocbp, fd, iocbp->u.c.buf, in aiodio_append()
137 if ((w = io_submit(myctx, 1, &iocbp)) < 0) { in aiodio_append()
/external/blktrace/btreplay/
Dbtreplay.c716 static void iocb_init(struct thr_info *tip, struct iocb_pkt *iocbp) in iocb_init() argument
718 iocbp->tip = tip; in iocb_init()
719 iocbp->nbytes = 0; in iocb_init()
720 iocbp->iocb.u.c.buf = NULL; in iocb_init()
730 static void iocb_setup(struct iocb_pkt *iocbp, int rw, int n, long long off) in iocb_setup() argument
733 struct iocb *iop = &iocbp->iocb; in iocb_setup()
739 if (iocbp->nbytes) { in iocb_setup()
740 if (iocbp->nbytes >= n) { in iocb_setup()
750 iocbp->nbytes = n; in iocb_setup()
754 io_prep_pread(iop, iocbp->tip->ofd, buf, n, off); in iocb_setup()
[all …]
/external/compiler-rt/test/msan/Linux/
Dsyscalls.cc89 struct iocb *iocbp[3] = { &iocb[0], &iocb[1], &iocb[2] }; in main() local
101 __sanitizer_syscall_pre_io_submit(0, 3, &iocbp); in main()
/external/strace/
Daio.c188 kernel_ulong_t iocbp; in SYS_FUNC() local
196 print_array(tcp, addr, nr, &iocbp, current_wordsize, in SYS_FUNC()