Lines Matching defs:uio
47 #include <sys/uio.h>
62 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio)
74 KASSERT(uio->uio_rw == UIO_READ || uio->uio_rw == UIO_WRITE,
76 KASSERT(uio->uio_segflg != UIO_USERSPACE || uio->uio_td == curthread,
81 while (n > 0 && uio->uio_resid) {
82 iov = uio->uio_iov;
85 uio->uio_iov++;
86 uio->uio_iovcnt--;
98 switch (uio->uio_segflg) {
101 if (uio->uio_rw == UIO_READ)
111 if (uio->uio_rw == UIO_READ)
122 uio->uio_resid -= cnt;
123 uio->uio_offset += cnt;