44#if defined(_SYS_UIO_H_) && defined(_KERNEL)
47 struct iovec *uio_iov;
51 enum uio_seg uio_segflg;
53 struct thread *uio_td;
67#define UIO_MAXIOV 1024
71struct bus_dma_segment;
73struct uio *cloneuio(
struct uio *uiop);
74int copyiniov(
const struct iovec *iovp, u_int iovcnt,
struct iovec **iov,
76int copyinuio(
const struct iovec *iovp, u_int iovcnt,
struct uio **uiop);
77int copyout_map(
struct thread *td, vm_offset_t *addr,
size_t sz);
78int copyout_unmap(
struct thread *td, vm_offset_t addr,
size_t sz);
79int physcopyin(
void *src, vm_paddr_t dst,
size_t len);
80int physcopyout(vm_paddr_t src,
void *dst,
size_t len);
81int physcopyin_vlist(
struct bus_dma_segment *src, off_t offset,
82 vm_paddr_t dst,
size_t len);
83int physcopyout_vlist(vm_paddr_t src,
struct bus_dma_segment *dst,
84 off_t offset,
size_t len);
85int uiomove(
void *
cp,
int n,
struct uio *uio);
86int uiomove_frombuf(
void *buf,
int buflen,
struct uio *uio);
87int uiomove_fromphys(
struct vm_page *ma[], vm_offset_t offset,
int n,
89int uiomove_nofault(
void *
cp,
int n,
struct uio *uio);
90int uiomove_object(
struct vm_object *obj, off_t obj_size,
struct uio *uio);
93#error "must be included via <sys/uio.h> in kernel space"
unsigned cp
Definition: tte.h:14