Searched defs:uio (Results 1 - 10 of 10) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/
H A Dfputs.c62 struct __suio uio; local
77 uio.uio_resid = (int)(iov.iov_len = strlen(s));
78 uio.uio_iov = &iov;
79 uio.uio_iovcnt = 1;
82 r = __sfvwrite(fp, &uio);
H A Dputs.c63 struct __suio uio; local
78 uio.uio_resid = (int)(c + 1);
79 uio.uio_iov = &iov[0];
80 uio.uio_iovcnt = 2;
82 r = __sfvwrite(stdout, &uio);
H A Dfwrite.c63 struct __suio uio; local
80 uio.uio_resid = (int)(iov.iov_len = n);
81 uio.uio_iov = &iov;
82 uio.uio_iovcnt = 1;
90 if (__sfvwrite(fp, &uio) != 0)
91 count = ((n - uio.uio_resid) / size);
H A Dfputwc.c58 struct __suio uio; local
69 uio.uio_iov = &iov;
70 uio.uio_iovcnt = 1;
90 uio.uio_resid = (int)(iov.iov_len = size);
91 if (__sfvwrite(fp, &uio)) {
H A Dfvwrite.c63 __sfvwrite(FILE *fp, struct __suio *uio) argument
73 _DIAGASSERT(uio != NULL);
79 if ((len = uio->uio_resid) == 0)
90 iov = uio->uio_iov;
113 } while ((uio->uio_resid -= w) != 0);
177 } while ((uio->uio_resid -= w) != 0);
221 } while ((uio->uio_resid -= w) != 0);
H A Dvfwprintf.c205 struct __suio uio; local
217 uio.uio_iov = &iov;
218 uio.uio_resid = (int)len;
219 uio.uio_iovcnt = 1;
222 return (__sfvwrite(fp, &uio) != EOF ? (wint_t)wc : END_OF_FILE);
226 * Flush out all the vectors defined by the given uio,
230 __sprint(FILE *fp, struct __suio *uio) argument
235 _DIAGASSERT(uio != NULL);
241 if (uio->uio_resid == 0) {
242 uio
674 struct __suio uio; /* output information: summary */ local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/
H A Duio.h1 /* $NetBSD: uio.h,v 1.34 2006/03/01 12:38:32 yamt Exp $ */
31 * @(#)uio.h 8.5 (Berkeley) 2/22/94
80 struct uio { struct
83 off_t uio_offset; /* offset into file this uio corresponds to */
88 #define UIO_SETUP_SYSSPACE(uio) uio_setup_sysspace(uio)
106 void uio_setup_sysspace(struct uio *);
121 int ureadc(int, struct uio *);
/vbox/src/VBox/Devices/Network/slirp/bsd/kern/
H A Dsubr_sbuf.c40 #include <sys/uio.h>
207 * Create an sbuf with uio data
210 sbuf_uionew(struct sbuf *s, struct uio *uio, int *error) argument
212 KASSERT(uio != NULL,
213 ("%s called with NULL uio pointer", __func__));
217 s = sbuf_new(s, NULL, uio->uio_resid + 1, 0);
222 *error = uiomove(s->s_buf, uio->uio_resid, uio);
H A Duipc_mbuf.c50 #include <sys/uio.h>
1970 * Copy the contents of uio into a properly sized mbuf chain.
1974 m_uiotombuf(struct uio *uio, int how, int len, int align, int flags) argument
1982 * the total data supplied by the uio.
1985 total = min(uio->uio_resid, len);
1987 total = uio->uio_resid;
2005 /* Fill all mbufs with uio data and update header information. */
2009 error = uiomove(mtod(mb, void *), length, uio);
/vbox/src/VBox/Additions/solaris/SharedFolders/
H A Dvboxfs_vnode.c983 struct uio *uio,
999 if (uio->uio_loffset >= MAXOFFSET_T)
1011 if (uio->uio_loffset < 0)
1013 total = uio->uio_resid;
1026 offset = uio->uio_offset;
1027 done = bytes = MIN(PAGESIZE, uio->uio_resid);
1030 error = uiomove(sffs_buffer, done, UIO_READ, uio);
1031 } while (error == 0 && uio->uio_resid > 0 && done > 0);
1038 if (total != uio
981 sffs_read( vnode_t *vp, struct uio *uio, int ioflag, cred_t *cred, caller_context_t *ct) argument
[all...]

Completed in 978 milliseconds