Lines Matching defs:uio
47 #include <sys/uio.h>
59 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio)
69 KASSERT(uio->uio_rw == UIO_READ || uio->uio_rw == UIO_WRITE,
71 KASSERT(uio->uio_segflg != UIO_USERSPACE || uio->uio_td == curthread,
75 while (n > 0 && uio->uio_resid) {
76 iov = uio->uio_iov;
79 uio->uio_iov++;
80 uio->uio_iovcnt--;
89 switch (uio->uio_segflg) {
92 if (uio->uio_rw == UIO_READ)
100 if (uio->uio_rw == UIO_READ)
110 uio->uio_resid -= cnt;
111 uio->uio_offset += cnt;