/freebsd-10.0-release/sys/ofed/include/linux/ |
H A D | socket.h | 37 struct uio uio; local 40 uio.uio_iov = v; 41 uio.uio_iovcnt = -1; 42 uio.uio_offset = 0; 43 uio.uio_resid = len; 44 uio.uio_segflag = UIO_USERSPACE; 45 uio.uio_rw = UIO_READ; 46 error = -uiomove(kdata, len, &uio); 53 struct uio ui local [all...] |
/freebsd-10.0-release/lib/libc/stdio/ |
H A D | putw.c | 49 struct __suio uio; local 53 iov.iov_len = uio.uio_resid = sizeof(w); 54 uio.uio_iov = &iov; 55 uio.uio_iovcnt = 1; 57 retval = __sfvwrite(fp, &uio);
|
H A D | fputs.c | 54 struct __suio uio; local 58 iov.iov_len = uio.uio_resid = strlen(s); 59 uio.uio_iov = &iov; 60 uio.uio_iovcnt = 1; 63 retval = __sfvwrite(fp, &uio);
|
H A D | puts.c | 55 struct __suio uio; local 62 uio.uio_resid = c + 1; 63 uio.uio_iov = &iov[0]; 64 uio.uio_iovcnt = 2; 67 retval = __sfvwrite(stdout, &uio) ? EOF : '\n';
|
H A D | fwrite.c | 56 struct __suio uio; local 81 uio.uio_resid = iov.iov_len = n; 82 uio.uio_iov = &iov; 83 uio.uio_iovcnt = 1; 92 if (__sfvwrite(fp, &uio) != 0) 93 count = (n - uio.uio_resid) / size;
|
/freebsd-10.0-release/sys/kern/ |
H A D | subr_uio.c | 63 static int uiomove_faultflag(void *cp, int n, struct uio *uio, int nofault); 94 struct uio uio; local 99 uio.uio_iov = iov; 100 uio.uio_iovcnt = 1; 101 uio.uio_offset = 0; 102 uio.uio_resid = len; 103 uio.uio_segflg = UIO_SYSSPACE; 104 uio 115 struct uio uio; local 134 uiomove(void *cp, int n, struct uio *uio) argument 141 uiomove_nofault(void *cp, int n, struct uio *uio) argument 148 uiomove_faultflag(void *cp, int n, struct uio *uio, int nofault) argument 228 uiomove_frombuf(void *buf, int buflen, struct uio *uio) argument 246 ureadc(int c, struct uio *uio) argument 345 struct uio *uio; local 380 struct uio *uio; local [all...] |
H A D | kern_physio.c | 29 #include <sys/uio.h> 35 physio(struct cdev *dev, struct uio *uio, int ioflag) argument 62 (uio->uio_resid > dev->si_iosize_max || uio->uio_resid > MAXPHYS || 63 uio->uio_iovcnt > 1)) { 67 if (uio->uio_resid > dev->si_iosize_max) 70 uio->uio_resid, dev->si_iosize_max); 71 if (uio->uio_resid > MAXPHYS) 74 uio [all...] |
/freebsd-10.0-release/contrib/sendmail/libsm/ |
H A D | fput.c | 43 struct sm_uio uio; local 48 iov.iov_len = uio.uio_resid = strlen(s); 49 uio.uio_iov = &iov; 50 uio.uio_iovcnt = 1; 51 return sm_fvwrite(fp, timeout, &uio);
|
H A D | fwrite.c | 45 struct sm_uio uio; local 57 uio.uio_resid = iov.iov_len = size; 58 uio.uio_iov = &iov; 59 uio.uio_iovcnt = 1; 62 if (sm_fvwrite(fp, timeout, &uio) == 0) 66 return size - uio.uio_resid;
|
/freebsd-10.0-release/sys/sys/ |
H A D | uio.h | 29 * @(#)uio.h 8.5 (Berkeley) 2/22/94 63 struct uio { struct 89 struct uio *cloneuio(struct uio *uiop); 96 int copyinuio(const struct iovec *iovp, u_int iovcnt, struct uio **uiop); 101 int uiomove(void *cp, int n, struct uio *uio); 102 int uiomove_frombuf(void *buf, int buflen, struct uio *uio); 104 struct uio *ui [all...] |
/freebsd-10.0-release/sys/mips/mips/ |
H A D | mem.c | 59 #include <sys/uio.h> 75 memrw(struct cdev *dev, struct uio *uio, int flags) argument 91 while (uio->uio_resid > 0 && !error) { 92 iov = uio->uio_iov; 94 uio->uio_iov++; 95 uio->uio_iovcnt--; 96 if (uio->uio_iovcnt < 0) 101 v = uio->uio_offset; 103 off = uio [all...] |
H A D | uio_machdep.c | 48 #include <sys/uio.h> 62 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) argument 75 KASSERT(uio->uio_rw == UIO_READ || uio->uio_rw == UIO_WRITE, 77 KASSERT(uio->uio_segflg != UIO_USERSPACE || uio->uio_td == curthread, 81 while (n > 0 && uio->uio_resid) { 82 iov = uio->uio_iov; 85 uio [all...] |
/freebsd-10.0-release/sys/cddl/compat/opensolaris/sys/ |
H A D | uio.h | 32 #include_next <sys/uio.h> 36 #define FOF_OFFSET 1 /* Use the offset in uio argument */ 38 struct uio { struct 51 typedef struct uio uio_t; 62 /* Extended uio fields */ 63 enum xuio_type xu_type; /* What kind of uio structure? */ 77 zfs_uiomove(void *cp, size_t n, enum uio_rw dir, uio_t *uio) argument 80 ASSERT(uio->uio_rw == dir); 81 return (uiomove(cp, (int)n, uio)); 83 #define uiomove(cp, n, dir, uio) zfs_uiomov [all...] |
/freebsd-10.0-release/sys/amd64/amd64/ |
H A D | uio_machdep.c | 47 #include <sys/uio.h> 59 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) argument 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 [all...] |
/freebsd-10.0-release/sys/arm/arm/ |
H A D | uio_machdep.c | 51 #include <sys/uio.h> 64 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) argument 75 KASSERT(uio->uio_rw == UIO_READ || uio->uio_rw == UIO_WRITE, 77 KASSERT(uio->uio_segflg != UIO_USERSPACE || uio->uio_td == curthread, 81 while (n > 0 && uio->uio_resid) { 82 iov = uio->uio_iov; 85 uio [all...] |
/freebsd-10.0-release/sys/i386/i386/ |
H A D | uio_machdep.c | 49 #include <sys/uio.h> 59 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) argument 70 KASSERT(uio->uio_rw == UIO_READ || uio->uio_rw == UIO_WRITE, 72 KASSERT(uio->uio_segflg != UIO_USERSPACE || uio->uio_td == curthread, 76 while (n > 0 && uio->uio_resid) { 77 iov = uio->uio_iov; 80 uio [all...] |
/freebsd-10.0-release/sys/ia64/ia64/ |
H A D | mem.c | 59 #include <sys/uio.h> 80 memrw(struct cdev *dev, struct uio *uio, int flags) argument 87 while (uio->uio_resid > 0 && !error) { 88 iov = uio->uio_iov; 90 uio->uio_iov++; 91 uio->uio_iovcnt--; 92 if (uio->uio_iovcnt < 0) 98 v = uio->uio_offset; 101 rw = (uio [all...] |
H A D | uio_machdep.c | 47 #include <sys/uio.h> 59 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) argument 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 [all...] |
/freebsd-10.0-release/sys/powerpc/powerpc/ |
H A D | uio_machdep.c | 47 #include <sys/uio.h> 62 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) argument 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 [all...] |
/freebsd-10.0-release/sys/sparc64/sparc64/ |
H A D | uio_machdep.c | 48 #include <sys/uio.h> 63 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) argument 76 KASSERT(uio->uio_rw == UIO_READ || uio->uio_rw == UIO_WRITE, 78 KASSERT(uio->uio_segflg != UIO_USERSPACE || uio->uio_td == curthread, 82 while (n > 0 && uio->uio_resid) { 83 iov = uio->uio_iov; 86 uio [all...] |
/freebsd-10.0-release/sys/dev/terasic/mtl/ |
H A D | terasic_mtl_pixel.c | 42 #include <sys/uio.h> 66 terasic_mtl_pixel_read(struct cdev *dev, struct uio *uio, int flag) argument 73 if (uio->uio_offset < 0 || uio->uio_offset % 4 != 0 || 74 uio->uio_resid % 4 != 0) 79 if ((uio->uio_offset + uio->uio_resid < 0) || 80 (uio->uio_offset + uio 95 terasic_mtl_pixel_write(struct cdev *dev, struct uio *uio, int flag) argument [all...] |
H A D | terasic_mtl_text.c | 44 #include <sys/uio.h> 68 terasic_mtl_text_read(struct cdev *dev, struct uio *uio, int flag) argument 75 if (uio->uio_offset < 0 || uio->uio_offset % 2 != 0 || 76 uio->uio_resid % 2 != 0) 81 if ((uio->uio_offset + uio->uio_resid < 0) || 82 (uio->uio_offset + uio 97 terasic_mtl_text_write(struct cdev *dev, struct uio *uio, int flag) argument [all...] |
/freebsd-10.0-release/sys/dev/lindev/ |
H A D | full.c | 36 #include <sys/uio.h> 56 full_read(struct cdev *dev __unused, struct uio *uio, int flags __unused) argument 60 while (uio->uio_resid > 0 && error == 0) 61 error = uiomove(zbuf, MIN(uio->uio_resid, PAGE_SIZE), uio); 68 full_write(struct cdev *dev __unused, struct uio *uio __unused,
|
/freebsd-10.0-release/sys/fs/fuse/ |
H A D | fuse_io.h | 61 int fuse_io_dispatch(struct vnode *vp, struct uio *uio, int ioflag,
|
/freebsd-10.0-release/sys/opencrypto/ |
H A D | criov.c | 40 #include <sys/uio.h> 62 cuio_copydata(struct uio* uio, int off, int len, caddr_t cp) argument 64 struct iovec *iov = uio->uio_iov; 65 int iol = uio->uio_iovcnt; 82 cuio_copyback(struct uio* uio, int off, int len, caddr_t cp) argument 84 struct iovec *iov = uio->uio_iov; 85 int iol = uio->uio_iovcnt; 105 cuio_getptr(struct uio *ui argument 138 cuio_apply(struct uio *uio, int off, int len, int (*f)(void *, void *, u_int), void *arg) argument [all...] |