Constify args to copyiniov and copyinuio.
This commit is contained in:
parent
670bf6f126
commit
cfb09e00e6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227496
@ -437,7 +437,7 @@ copyinstrfrom(const void * __restrict src, void * __restrict dst, size_t len,
|
||||
}
|
||||
|
||||
int
|
||||
copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error)
|
||||
copyiniov(const struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error)
|
||||
{
|
||||
u_int iovlen;
|
||||
|
||||
@ -455,7 +455,7 @@ copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error)
|
||||
}
|
||||
|
||||
int
|
||||
copyinuio(struct iovec *iovp, u_int iovcnt, struct uio **uiop)
|
||||
copyinuio(const struct iovec *iovp, u_int iovcnt, struct uio **uiop)
|
||||
{
|
||||
struct iovec *iov;
|
||||
struct uio *uio;
|
||||
|
@ -89,11 +89,11 @@ struct vm_page;
|
||||
struct uio *cloneuio(struct uio *uiop);
|
||||
int copyinfrom(const void * __restrict src, void * __restrict dst,
|
||||
size_t len, int seg);
|
||||
int copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov,
|
||||
int copyiniov(const struct iovec *iovp, u_int iovcnt, struct iovec **iov,
|
||||
int error);
|
||||
int copyinstrfrom(const void * __restrict src, void * __restrict dst,
|
||||
size_t len, size_t * __restrict copied, int seg);
|
||||
int copyinuio(struct iovec *iovp, u_int iovcnt, struct uio **uiop);
|
||||
int copyinuio(const struct iovec *iovp, u_int iovcnt, struct uio **uiop);
|
||||
int copyout_map(struct thread *td, vm_offset_t *addr, size_t sz);
|
||||
int copyout_unmap(struct thread *td, vm_offset_t addr, size_t sz);
|
||||
int uiomove(void *cp, int n, struct uio *uio);
|
||||
|
Loading…
Reference in New Issue
Block a user