35#if !defined(_SYS_UIO_H_) || !defined(_KERNEL)
36#error "must be included via <sys/uio.h> in kernel space"
40 struct iovec *uio_iov;
44 enum uio_seg uio_segflg;
46 struct thread *uio_td;
60#define UIO_MAXIOV 1024
64struct bus_dma_segment;
66struct uio *cloneuio(
struct uio *uiop);
67int copyinfrom(
const void * __restrict src,
void * __restrict dst,
69int copyiniov(
const struct iovec *iovp, u_int iovcnt,
struct iovec **iov,
71int copyinstrfrom(
const void * __restrict src,
void * __restrict dst,
72 size_t len,
size_t * __restrict copied,
int seg);
73int copyinuio(
const struct iovec *iovp, u_int iovcnt,
struct uio **uiop);
74int copyout_map(
struct thread *td, vm_offset_t *addr,
size_t sz);
75int copyout_unmap(
struct thread *td, vm_offset_t addr,
size_t sz);
76int physcopyin(
void *src, vm_paddr_t dst,
size_t len);
77int physcopyout(vm_paddr_t src,
void *dst,
size_t len);
78int physcopyin_vlist(
struct bus_dma_segment *src, off_t offset,
79 vm_paddr_t dst,
size_t len);
80int physcopyout_vlist(vm_paddr_t src,
struct bus_dma_segment *dst,
81 off_t offset,
size_t len);
82int uiomove(
void *
cp,
int n,
struct uio *
uio);
83int uiomove_frombuf(
void *buf,
int buflen,
struct uio *
uio);
84int uiomove_fromphys(
struct vm_page *ma[], vm_offset_t offset,
int n,
86int uiomove_nofault(
void *
cp,
int n,
struct uio *
uio);
87int uiomove_object(
struct vm_object *obj, off_t obj_size,
struct uio *
uio);
Definition: _kernel_uio.h:39
unsigned cp
Definition: tte.h:14