Lines Matching defs:uio
44 #include <sys/uio.h>
1501 * Copy the contents of uio into a properly sized mbuf chain.
1504 m_uiotombuf(struct uio *uio, int how, int len, int align, int flags)
1513 * the total data supplied by the uio.
1516 total = min(uio->uio_resid, len);
1518 total = uio->uio_resid;
1536 /* Fill all mbufs with uio data and update header information. */
1540 error = uiomove(mtod(mb, void *), length, uio);
1557 * Copy an mbuf chain into a uio limited by len if set.
1560 m_mbuftouio(struct uio *uio, struct mbuf *m, int len)
1566 total = min(uio->uio_resid, len);
1568 total = uio->uio_resid;
1570 /* Fill the uio with data from the mbufs. */
1574 error = uiomove(mtod(m, void *), length, uio);