Lines Matching refs:uio

6869 sctp_copy_out_all(struct uio *uio, ssize_t len)  in sctp_copy_out_all()  argument
6887 error = uiomove(mtod(at, caddr_t), (int)willcpy, uio); in sctp_copy_out_all()
6911 sctp_sendall(struct sctp_inpcb *inp, struct uio *uio, struct mbuf *m, in sctp_sendall() argument
6919 if (uio != NULL) { in sctp_sendall()
6920 sndlen = uio->uio_resid; in sctp_sendall()
6960 if (uio != NULL) { in sctp_sendall()
6961 ca->m = sctp_copy_out_all(uio, ca->sndlen); in sctp_sendall()
10322 (struct uio *)NULL, in sctp_output()
12395 sctp_copy_resume(struct uio *uio, in sctp_copy_resume() argument
12404 m = m_uiotombuf(uio, M_WAITOK, max_send_len, 0, in sctp_copy_resume()
12419 struct uio *uio, in sctp_copy_one() argument
12422 sp->data = m_uiotombuf(uio, M_WAITOK, sp->length, resv_upfront, 0); in sctp_copy_one()
12436 struct uio *uio, in sctp_copy_it_in() argument
12469 sp->length = (uint32_t)min(uio->uio_resid, max_send_len); in sctp_copy_it_in()
12470 if ((sp->length == (uint32_t)uio->uio_resid) && in sctp_copy_it_in()
12495 *error = sctp_copy_one(sp, uio, resv_in_first); in sctp_copy_it_in()
12516 struct uio *uio, in sctp_sosend() argument
12557 error = sctp_lower_sosend(so, addr_to_use, uio, top, control, flags, in sctp_sosend()
12565 struct uio *uio, in sctp_lower_sosend() argument
12605 if ((uio == NULL) && (top == NULL)) { in sctp_lower_sosend()
12638 if (uio != NULL) { in sctp_lower_sosend()
12639 if (uio->uio_resid < 0) { in sctp_lower_sosend()
12643 sndlen = uio->uio_resid; in sctp_lower_sosend()
12656 if ((uio == NULL) && (user_marks_eor != 0)) { in sctp_lower_sosend()
12703 error = sctp_sendall(inp, uio, top, sndrcvninfo); in sctp_lower_sosend()
12932 error = uiomove((caddr_t)ph, (int)tot_out, uio); in sctp_lower_sosend()
13194 sp = sctp_copy_it_in(stcb, asoc, sndrcvninfo, uio, net, max_len, user_marks_eor, &error); in sctp_lower_sosend()
13286 while (uio->uio_resid > 0) { in sctp_lower_sosend()
13298 (uio->uio_resid <= max_len)) { in sctp_lower_sosend()
13302 mm = sctp_copy_resume(uio, (int)max_len, user_marks_eor, &error, &sndout, &new_tail); in sctp_lower_sosend()
13348 if ((uio->uio_resid == 0) && in sctp_lower_sosend()
13365 if (uio->uio_resid == 0) { in sctp_lower_sosend()
13483 asoc, uio->uio_resid); in sctp_lower_sosend()
13555 if (uio->uio_resid == 0) { in sctp_lower_sosend()