Lines Matching defs:iocb
99 print_common_flags(struct iocb *iocb)
102 if (iocb->u.c.flags & IOCB_RESFD)
103 tprintf(", resfd=%d", iocb->u.c.resfd);
104 if (iocb->u.c.flags & ~IOCB_RESFD)
105 tprintf(", flags=%x", iocb->u.c.flags);
122 struct iocb **iocbs = (void *)tcp->u_arg[2];
127 struct iocb *iocbp;
128 struct iocb iocb;
138 if (umove(tcp, (unsigned long)iocbp, &iocb)) {
143 if (iocb.data)
144 tprintf("data:%p, ", iocb.data);
145 if (iocb.key)
146 tprintf("key:%u, ", iocb.key);
147 sub = tprint_lio_opcode(iocb.aio_lio_opcode);
148 if (iocb.aio_reqprio)
149 tprintf(", reqprio:%d", iocb.aio_reqprio);
150 tprintf(", filedes:%d", iocb.aio_fildes);
154 if (iocb.aio_lio_opcode == IO_CMD_PWRITE) {
156 printstr(tcp, (unsigned long)iocb.u.c.buf,
157 iocb.u.c.nbytes);
160 tprintf(", buf:%p", iocb.u.c.buf);
162 iocb.u.c.nbytes,
163 iocb.u.c.offset);
164 print_common_flags(&iocb);
167 tprintf(", %lld", iocb.u.v.offset);
168 print_common_flags(&iocb);
170 tprint_iov(tcp, iocb.u.v.nr,
171 (unsigned long)iocb.u.v.vec,
173 iocb.aio_lio_opcode == IO_CMD_PWRITEV
180 tprintf(", %x", iocb.u.poll.events);
201 struct iocb iocb;
205 if (umove(tcp, tcp->u_arg[1], &iocb) == 0) {
207 iocb.data, iocb.key,
208 (unsigned)iocb.aio_lio_opcode,
209 (unsigned)iocb.aio_reqprio, iocb.aio_fildes);