Searched refs:iocbp (Results 1 – 2 of 2) sorted by relevance
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aiodio_sparse.c | 121 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()
|
D | aiodio_append.c | 87 struct iocb *iocbp; in aiodio_append() local 91 iocbp = (struct iocb *)event.obj; in aiodio_append() 92 io_prep_pwrite(iocbp, fd, iocbp->u.c.buf, ws, offset); in aiodio_append() 94 w = io_submit(myctx, 1, &iocbp); in aiodio_append()
|