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()67 iov = uio->uio_iov; in __sfvwrite()90 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()161 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()205 } while ((uio->uio_resid -= w) != 0); in __sfvwrite()
48 uio.uio_resid += (len); \50 if (++uio.uio_iovcnt >= NIOV) { \51 if (helpers::sprint(fp, &uio)) goto error; \58 if (uio.uio_resid && helpers::sprint(fp, &uio)) goto error; \59 uio.uio_iovcnt = 0; \110 struct __suio uio; /* output information: summary */ in FUNCTION_NAME() local155 uio.uio_iov = iovp = iov; in FUNCTION_NAME()156 uio.uio_resid = 0; in FUNCTION_NAME()157 uio.uio_iovcnt = 0; in FUNCTION_NAME()
699 static int sprint(FILE* fp, struct __suio* uio) { in sprint()700 if (uio->uio_resid == 0) { in sprint()701 uio->uio_iovcnt = 0; in sprint()704 int result = __sfvwrite(fp, uio); in sprint()705 uio->uio_resid = 0; in sprint()706 uio->uio_iovcnt = 0; in sprint()775 struct __suio uio; in xfputwc() local776 uio.uio_iov = &iov; in xfputwc()777 uio.uio_resid = len; in xfputwc()778 uio.uio_iovcnt = 1; in xfputwc()[all …]
113 struct __suio uio; /* output information: summary */ in FUNCTION_NAME() local158 uio.uio_iov = iovp = iov; in FUNCTION_NAME()159 uio.uio_resid = 0; in FUNCTION_NAME()160 uio.uio_iovcnt = 0; in FUNCTION_NAME()
1166 __suio uio = { .uio_iov = &iov, .uio_iovcnt = 1, .uio_resid = n }; in fwrite_unlocked() local1172 return (__sfvwrite(fp, &uio) == 0) ? count : ((n - uio.uio_resid) / size); in fwrite_unlocked()
223 * <sys/uio.h> `process_vm_readv`/`process_vm_writev`.