Lines Matching defs:uio

50 #include <sys/uio.h>
968 strget(struct stdata *stp, queue_t *q, struct uio *uiop, int first,
1062 * If we have a valid uio, try and use this as a guide for how
1080 * Copy out the message pointed to by `bp' into the uio pointed to by `uiop'.
1081 * If the message does not fit in the uio the remainder of it is returned;
1087 struiocopyout(mblk_t *bp, struct uio *uiop, int *errorp)
1148 strread(struct vnode *vp, struct uio *uiop, cred_t *crp)
2543 strput(struct stdata *stp, mblk_t *mctl, struct uio *uiop, ssize_t *iosize,
2664 /* Have to check canput before consuming data from the uio */
2677 /* Copyin data from the uio */
2720 strwrite(struct vnode *vp, struct uio *uiop, cred_t *crp)
2727 strwrite_common(struct vnode *vp, struct uio *uiop, cred_t *crp, int wflag)
3197 struct uio uio;
4977 uio.uio_fmode = 0;
4978 uio.uio_extflg = UIO_COPY_CACHED;
4979 uio.uio_segflg = (copyflag == U_TO_K) ? UIO_USERSPACE :
4981 uio.uio_limit = 0;
4996 uio.uio_iov = &iov;
4997 uio.uio_resid = iov.iov_len;
4998 uio.uio_loffset = 0;
4999 uio.uio_iovcnt = 1;
5001 uio.uio_resid >= 0) {
5006 if ((n = MIN(uio.uio_resid,
5009 UIO_READ, &uio)) != 0) {
5022 uio.uio_resid);
5039 uio.uio_iov = &iov;
5040 uio.uio_resid = iov.iov_len;
5041 uio.uio_loffset = 0;
5042 uio.uio_iovcnt = 1;
5043 while (mp && uio.uio_resid) {
5045 if ((n = MIN(uio.uio_resid,
5048 n, UIO_READ, &uio)) != 0) {
5064 uio.uio_resid);
5071 * uio setup is done by the codes that process DATA
5079 infod.d_uiop = &uio;
5086 databuf.maxlen) - uio.uio_resid);
5249 uio.uio_iov = &iov;
5250 uio.uio_iovcnt = 1;
5251 uio.uio_loffset = 0;
5252 uio.uio_segflg = (copyflag == U_TO_K) ? UIO_USERSPACE :
5254 uio.uio_fmode = 0;
5255 uio.uio_extflg = UIO_COPY_CACHED;
5256 uio.uio_resid = iov.iov_len;
5258 &msgsize, &uio, stp,
6524 struct uio uios;
6525 struct uio *uiop = &uios;
6566 * Setup uio and iov for data part
7069 struct uio *uiop,
7737 struct uio uios;
7738 struct uio *uiop = &uios;
7823 * Setup uio and iov for data part
7915 * The fmode flag (NDELAY, NONBLOCK) is the or of the flags in the uio
7929 struct uio *uiop,
8014 /* Use uio flags as well as the fmode parameter flags */