Home | History | Annotate | Download | only in iscsi

Lines Matching defs:uio

45  *          u        The uio descriptor
52 my_soo_read(connection_t *conn, struct uio *u, int flags)
109 struct uio uio;
113 uio.uio_rw = UIO_READ;
114 UIO_SETUP_SYSSPACE(&uio);
118 uio.uio_iov = &io_vec;
119 uio.uio_iovcnt = 1;
120 uio.uio_resid = io_vec.iov_len = sizeof(buffer);
122 rc = my_soo_read(conn, &uio, MSG_DONTWAIT);
124 rc, uio.uio_resid));
125 } while (!rc && !uio.uio_resid);
176 * Initialize the uio structure for receiving everything after the
194 struct uio *uio;
229 uio = &pdu->pdu_uio;
231 uio->uio_iov = pdu->pdu_io_vec;
232 uio->uio_iovcnt = 1;
233 uio->uio_rw = UIO_READ;
234 uio->uio_resid = len;
235 UIO_SETUP_SYSSPACE(uio);
238 uio->uio_iovcnt++;
239 uio->uio_iov[1].iov_base = pad_bytes;
240 uio->uio_iov[1].iov_len = pad;
241 uio->uio_resid += pad;
245 i = uio->uio_iovcnt++;
248 uio->uio_resid += 4;