Home
last modified time | relevance | path

Searched refs:hdr_uio (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/kern/
H A Dkern_sendfile.c834 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()
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()
[all …]
H A Dkern_descrip.c5231 badfo_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio, in badfo_sendfile() argument
5350 invfo_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio, in invfo_sendfile() argument
/freebsd/sys/sys/
H A Dfile.h114 typedef int fo_sendfile_t(struct file *fp, int sockfd, struct uio *hdr_uio,
417 fo_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio, in fo_sendfile() argument
422 return ((*fp->f_ops->fo_sendfile)(fp, sockfd, hdr_uio, trl_uio, offset, in fo_sendfile()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c2133 struct uio *hdr_uio, *trl_uio; in freebsd32_do_sendfile() local
2144 hdr_uio = trl_uio = NULL; in freebsd32_do_sendfile()
2158 hdtr32.hdr_cnt, &hdr_uio); in freebsd32_do_sendfile()
2168 if (uap->nbytes > hdr_uio->uio_resid) in freebsd32_do_sendfile()
2169 uap->nbytes -= hdr_uio->uio_resid; in freebsd32_do_sendfile()
2190 error = fo_sendfile(fp, uap->s, hdr_uio, trl_uio, offset, in freebsd32_do_sendfile()
2198 if (hdr_uio) in freebsd32_do_sendfile()
2199 freeuio(hdr_uio); in freebsd32_do_sendfile()