/freebsd-9.3-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-9.3-release/sys/gnu/fs/xfs/FreeBSD/support/ |
H A D | move.h | 36 #include <sys/uio.h> 39 typedef struct uio uio_t; 42 uio_read(void *buf, int howmuch, struct uio *uiop)
|
/freebsd-9.3-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-9.3-release/lib/libc/stdio/ |
H A D | fputs.c | 56 struct __suio uio; local 60 iov.iov_len = uio.uio_resid = strlen(s); 61 uio.uio_iov = &iov; 62 uio.uio_iovcnt = 1; 65 retval = __sfvwrite(fp, &uio);
|
H A D | puts.c | 56 struct __suio uio; local 63 uio.uio_resid = c + 1; 64 uio.uio_iov = &iov[0]; 65 uio.uio_iovcnt = 2; 68 retval = __sfvwrite(stdout, &uio) ? EOF : '\n';
|
H A D | putw.c | 51 struct __suio uio; local 55 iov.iov_len = uio.uio_resid = sizeof(w); 56 uio.uio_iov = &iov; 57 uio.uio_iovcnt = 1; 59 retval = __sfvwrite(fp, &uio);
|
H A D | fwrite.c | 59 struct __suio uio; local 84 uio.uio_resid = iov.iov_len = n; 85 uio.uio_iov = &iov; 86 uio.uio_iovcnt = 1; 95 if (__sfvwrite(fp, &uio) != 0) 96 count = (n - uio.uio_resid) / size;
|
/freebsd-9.3-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(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-9.3-release/sys/kern/ |
H A D | subr_uio.c | 67 static int uiomove_faultflag(void *cp, int n, struct uio *uio, int nofault); 162 struct uio uio; local 167 uio.uio_iov = iov; 168 uio.uio_iovcnt = 1; 169 uio.uio_offset = 0; 170 uio.uio_resid = len; 171 uio.uio_segflg = UIO_SYSSPACE; 172 uio 183 struct uio uio; local 202 uiomove(void *cp, int n, struct uio *uio) argument 209 uiomove_nofault(void *cp, int n, struct uio *uio) argument 216 uiomove_faultflag(void *cp, int n, struct uio *uio, int nofault) argument 296 uiomove_frombuf(void *buf, int buflen, struct uio *uio) argument 315 userspaceco(void *cp, u_int cnt, struct uio *uio, int disposable) argument 356 uiomoveco(void *cp, int n, struct uio *uio, int disposable) argument 411 ureadc(int c, struct uio *uio) argument 511 struct uio *uio; local 546 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 57 for (i = 0; i < uio->uio_iovcnt; i++) { 58 while (uio->uio_iov[i].iov_len) { 60 if (uio->uio_rw == UIO_READ) { 68 bp->b_data = uio->uio_iov[i].iov_base; 69 bp->b_bcount = uio->uio_iov[i].iov_len; 70 bp->b_offset = uio->uio_offset; 71 bp->b_iooffset = uio [all...] |
/freebsd-9.3-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 90 while (uio->uio_resid > 0 && !error) { 91 iov = uio->uio_iov; 93 uio->uio_iov++; 94 uio->uio_iovcnt--; 95 if (uio->uio_iovcnt < 0) 100 v = uio->uio_offset; 102 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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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...] |
/freebsd-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_dir_sf.h | 111 struct uio; 124 #define XFS_DIR_KTRACE_G_DU 1 /* dp, uio */ 125 #define XFS_DIR_KTRACE_G_DUB 2 /* dp, uio, bno */ 126 #define XFS_DIR_KTRACE_G_DUN 3 /* dp, uio, node */ 127 #define XFS_DIR_KTRACE_G_DUL 4 /* dp, uio, leaf */ 128 #define XFS_DIR_KTRACE_G_DUE 5 /* dp, uio, leaf entry */ 129 #define XFS_DIR_KTRACE_G_DUC 6 /* dp, uio, cookie */ 131 void xfs_dir_trace_g_du(char *where, struct xfs_inode *dp, struct uio *uio); 132 void xfs_dir_trace_g_dub(char *where, struct xfs_inode *dp, struct uio *ui [all...] |
/freebsd-9.3-release/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_uio.c | 44 #include <sys/uio.h> 47 * same as uiomove() but doesn't modify uio structure. 51 uiocopy(void *p, size_t n, enum uio_rw rw, struct uio *uio, size_t *cbytes) argument 57 iovcnt = uio->uio_iovcnt; 60 for (iov = uio->uio_iov; n > 0 && iovcnt > 0; iov++, iovcnt--) { 65 switch (uio->uio_segflg) { 75 if (uio->uio_rw == UIO_READ)
|