Searched refs:uio (Results 1 – 7 of 7) sorted by relevance
46 struct __suio uio; in __fputwc_unlock() local50 uio.uio_iov = &iov; in __fputwc_unlock()51 uio.uio_iovcnt = 1; in __fputwc_unlock()69 uio.uio_resid = iov.iov_len = size; in __fputwc_unlock()70 if (__sfvwrite(fp, &uio)) { in __fputwc_unlock()
49 __sfvwrite(FILE *fp, struct __suio *uio) in __sfvwrite() argument58 if ((len = uio->uio_resid) == 0) in __sfvwrite()69 iov = uio->uio_iov; in __sfvwrite()91 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()153 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()197 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()
90 struct __suio uio; /* output information: summary */ in FUNCTION_NAME() local122 uio.uio_resid += (len); \ in FUNCTION_NAME()124 if (++uio.uio_iovcnt >= NIOV) { \ in FUNCTION_NAME()125 if (helpers::sprint(fp, &uio)) goto error; \ in FUNCTION_NAME()131 if (uio.uio_resid && helpers::sprint(fp, &uio)) goto error; \ in FUNCTION_NAME()132 uio.uio_iovcnt = 0; \ in FUNCTION_NAME()153 uio.uio_iov = iovp = iov; in FUNCTION_NAME()154 uio.uio_resid = 0; in FUNCTION_NAME()155 uio.uio_iovcnt = 0; in FUNCTION_NAME()
674 static int sprint(FILE* fp, struct __suio* uio) { in sprint()675 if (uio->uio_resid == 0) { in sprint()676 uio->uio_iovcnt = 0; in sprint()679 int result = __sfvwrite(fp, uio); in sprint()680 uio->uio_resid = 0; in sprint()681 uio->uio_iovcnt = 0; in sprint()750 struct __suio uio; in xfputwc() local751 uio.uio_iov = &iov; in xfputwc()752 uio.uio_resid = len; in xfputwc()753 uio.uio_iovcnt = 1; in xfputwc()[all …]
90 struct __suio uio; /* output information: summary */ in FUNCTION_NAME() local142 uio.uio_iov = iovp = iov; in FUNCTION_NAME()143 uio.uio_resid = 0; in FUNCTION_NAME()144 uio.uio_iovcnt = 0; in FUNCTION_NAME()
1169 __suio uio = { .uio_iov = &iov, .uio_iovcnt = 1, .uio_resid = n }; in fwrite_unlocked() local1175 return (__sfvwrite(fp, &uio) == 0) ? count : ((n - uio.uio_resid) / size); in fwrite_unlocked()
166 * <sys/uio.h> `process_vm_readv`/`process_vm_writev`.