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 64 struct bus_dma_segment;
66 struct uio *cloneuio(
struct uio *uiop);
67 int copyinfrom(
const void * __restrict src,
void * __restrict dst,
69 int copyiniov(
const struct iovec *iovp, u_int iovcnt,
struct iovec **iov,
71 int copyinstrfrom(
const void * __restrict src,
void * __restrict dst,
72 size_t len,
size_t * __restrict copied,
int seg);
73 int copyinuio(
const struct iovec *iovp, u_int iovcnt,
struct uio **uiop);
74 int copyout_map(
struct thread *td, vm_offset_t *addr,
size_t sz);
75 int copyout_unmap(
struct thread *td, vm_offset_t addr,
size_t sz);
76 int physcopyin(
void *src, vm_paddr_t dst,
size_t len);
77 int physcopyout(vm_paddr_t src,
void *dst,
size_t len);
78 int physcopyin_vlist(
struct bus_dma_segment *src, off_t offset,
79 vm_paddr_t dst,
size_t len);
80 int physcopyout_vlist(vm_paddr_t src,
struct bus_dma_segment *dst,
81 off_t offset,
size_t len);
82 int uiomove(
void *
cp,
int n,
struct uio *
uio);
83 int uiomove_frombuf(
void *buf,
int buflen,
struct uio *
uio);
84 int uiomove_fromphys(
struct vm_page *ma[], vm_offset_t offset,
int n,
86 int uiomove_nofault(
void *
cp,
int n,
struct uio *
uio);
87 int uiomove_object(
struct vm_object *obj, off_t obj_size,
struct uio *
uio);
Definition: _kernel_uio.h:39
unsigned cp
Definition: tte.h:87