Searched refs:hdr_uio (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/kern/ |
H A D | kern_sendfile.c | 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() [all …]
|
H A D | kern_descrip.c | 5255 badfo_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio, in badfo_sendfile() 5374 invfo_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio, in invfo_sendfile() 5254 badfo_sendfile(struct file * fp,int sockfd,struct uio * hdr_uio,struct uio * trl_uio,off_t offset,size_t nbytes,off_t * sent,int flags,struct thread * td) badfo_sendfile() argument 5373 invfo_sendfile(struct file * fp,int sockfd,struct uio * hdr_uio,struct uio * trl_uio,off_t offset,size_t nbytes,off_t * sent,int flags,struct thread * td) invfo_sendfile() argument
|
/freebsd/sys/sys/ |
H A D | file.h | 117 typedef int fo_sendfile_t(struct file *fp, int sockfd, struct uio *hdr_uio, 420 fo_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio, in fo_sendfile() argument 425 return ((*fp->f_ops->fo_sendfile)(fp, sockfd, hdr_uio, trl_uio, offset, in fo_sendfile()
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 2135 struct uio *hdr_uio, *trl_uio; in freebsd32_do_sendfile() local 2146 hdr_uio = trl_uio = NULL; in freebsd32_do_sendfile() 2160 hdtr32.hdr_cnt, &hdr_uio); in freebsd32_do_sendfile() 2170 if (uap->nbytes > hdr_uio->uio_resid) in freebsd32_do_sendfile() 2171 uap->nbytes -= hdr_uio->uio_resid; in freebsd32_do_sendfile() 2192 error = fo_sendfile(fp, uap->s, hdr_uio, trl_uio, offset, in freebsd32_do_sendfile() 2200 if (hdr_uio) in freebsd32_do_sendfile() 2201 freeuio(hdr_uio); in freebsd32_do_sendfile()
|