Home
last modified time | relevance | path

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

/external/blktrace/btreplay/
Dbtreplay.c698 static void iocb_init(struct thr_info *tip, struct iocb_pkt *iocbp) in iocb_init() argument
700 iocbp->tip = tip; in iocb_init()
701 iocbp->nbytes = 0; in iocb_init()
702 iocbp->iocb.u.c.buf = NULL; in iocb_init()
712 static void iocb_setup(struct iocb_pkt *iocbp, int rw, int n, long long off) in iocb_setup() argument
715 struct iocb *iop = &iocbp->iocb; in iocb_setup()
721 if (iocbp->nbytes) { in iocb_setup()
722 if (iocbp->nbytes >= n) { in iocb_setup()
732 iocbp->nbytes = n; in iocb_setup()
736 io_prep_pread(iop, iocbp->tip->ofd, buf, n, off); in iocb_setup()
[all …]
/external/strace/
Ddesc.c755 struct iocb *iocbp, **iocbs = (void *)tcp->u_arg[2]; local
764 if (umove(tcp, (unsigned long)iocbs, &iocbp) ||
765 umove(tcp, (unsigned long)iocbp, &iocb)) {