mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Rename iov_to_uio to uiofromiov to be more consistent with other
uio* functions. Suggested by: bde
This commit is contained in:
parent
8d719eb22e
commit
ff5e43a3fd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125423
@ -485,7 +485,7 @@ copyinstrfrom(const void * __restrict src, void * __restrict dst, size_t len,
|
||||
}
|
||||
|
||||
int
|
||||
iov_to_uio(struct iovec *iovp, u_int iovcnt, struct uio *uio)
|
||||
uiofromiov(struct iovec *iovp, u_int iovcnt, struct uio *uio)
|
||||
{
|
||||
struct iovec *iov;
|
||||
u_int iovlen;
|
||||
|
@ -1738,7 +1738,7 @@ do_sendfile(struct thread *td, struct sendfile_args *uap, int compat)
|
||||
if (hdtr.headers != NULL) {
|
||||
hdr_uio.uio_td = td;
|
||||
hdr_uio.uio_rw = UIO_WRITE;
|
||||
error = iov_to_uio(hdtr.headers, hdtr.hdr_cnt,
|
||||
error = uiofromiov(hdtr.headers, hdtr.hdr_cnt,
|
||||
&hdr_uio);
|
||||
if (error)
|
||||
goto done;
|
||||
|
@ -90,13 +90,13 @@ int copyinfrom(const void * __restrict src, void * __restrict dst,
|
||||
int copyinstrfrom(const void * __restrict src, void * __restrict dst,
|
||||
size_t len, size_t * __restrict copied, int seg);
|
||||
void uio_yield(void);
|
||||
int uiofromiov(struct iovec *iovp, u_int iovcnt, struct uio *auio);
|
||||
int uiomove(void *cp, int n, struct uio *uio);
|
||||
int uiomove_frombuf(void *buf, int buflen, struct uio *uio);
|
||||
int uiomoveco(void *cp, int n, struct uio *uio, struct vm_object *obj,
|
||||
int disposable);
|
||||
struct mbuf *
|
||||
m_uiotombuf(struct uio *uio, int how, int len);
|
||||
int iov_to_uio(struct iovec *iovp, u_int iovcnt, struct uio *auio);
|
||||
|
||||
#else /* !_KERNEL */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user