Lines Matching refs:hdr_uio
671 vn_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio, in vn_sendfile() argument
834 if (hdr_uio != NULL && hdr_uio->uio_resid > 0) { in vn_sendfile()
835 hdr_uio->uio_td = td; in vn_sendfile()
836 hdr_uio->uio_rw = UIO_WRITE; in vn_sendfile()
839 mh = m_uiotombuf(hdr_uio, M_WAITOK, space, in vn_sendfile()
843 mh = m_uiotombuf(hdr_uio, M_WAITOK, in vn_sendfile()
856 hdr_uio = NULL; in vn_sendfile()
1271 struct uio *hdr_uio, *trl_uio; in sendfile() local
1284 hdr_uio = trl_uio = NULL; in sendfile()
1292 &hdr_uio); in sendfile()
1302 if (uap->nbytes > hdr_uio->uio_resid) in sendfile()
1303 uap->nbytes -= hdr_uio->uio_resid; in sendfile()
1326 error = fo_sendfile(fp, uap->s, hdr_uio, trl_uio, uap->offset, in sendfile()
1334 freeuio(hdr_uio); in sendfile()