/illumos-gate/usr/src/uts/sun/io/ |
H A D | fd.c | 68 * cons'ing up a uio structure and that fdstart will be able 78 #include <sys/uio.h> 164 static int fd_read(dev_t, struct uio *, cred_t *); 165 static int fd_write(dev_t, struct uio *, cred_t *); 1829 fd_read(dev_t dev, struct uio *uio, cred_t *cred_p) argument 1832 return (physio(fd_strategy, NULL, dev, B_READ, minphys, uio)); 1837 fd_write(dev_t dev, struct uio *uio, cred_t *cred_p) argument 1840 return (physio(fd_strategy, NULL, dev, B_WRITE, minphys, uio)); 2456 struct uio *uio = &auio; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | streamio.c | 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 */ 3197 struct uio uio; local [all...] |
H A D | sunddi.c | 32 #include <sys/uio.h> 535 * data to and from uio structures via peek and poke. Note that we 540 ddi_peekpokeio(dev_info_t *devi, struct uio *uio, enum uio_rw rw, argument 555 if ((o = uwritec(uio)) == -1) 564 if (ureadc(w8, uio)) 600 if (uiomove(&ibuffer, sz, rw, uio))
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vnops.c | 57 #include <sys/uio.h> 110 static int ufs_read(struct vnode *, struct uio *, int, struct cred *, 112 static int ufs_write(struct vnode *, struct uio *, int, struct cred *, 138 static int ufs_readdir(struct vnode *, struct uio *, struct cred *, int *, 142 static int ufs_readlink(struct vnode *, struct uio *, struct cred *, 303 ufs_read(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *cr, 405 ufs_check_rewrite(struct inode *ip, struct uio *uiop, int ioflag) 420 * updated after the write. The uio structure has not yet been 433 ufs_write(struct vnode *vp, struct uio *uiop, int ioflag, cred_t *cr, 734 wrip(struct inode *ip, struct uio *ui argument 1341 rdip(struct inode *ip, struct uio *uio, int ioflag, cred_t *cr) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_vnops.c | 45 #include <sys/uio.h> 455 mappedread(vnode_t *vp, int nbytes, uio_t *uio) argument 462 start = uio->uio_loffset; 472 error = uiomove(va + off, bytes, UIO_READ, uio); 477 uio, bytes); 493 * uio - structure supplying read location, range info, 499 * OUT: uio - updated offset and range, buffer filled. 508 zfs_read(vnode_t *vp, uio_t *uio, int ioflag, cred_t *cr, caller_context_t *ct) argument 528 if (uio->uio_loffset < (offset_t)0) { 536 if (uio 652 zfs_write(vnode_t *vp, uio_t *uio, int ioflag, cred_t *cr, caller_context_t *ct) argument 748 uio_prefaultpages(MIN(n, max_blksz), uio); local 992 uio_prefaultpages(MIN(n, max_blksz), uio); local 2186 zfs_readdir(vnode_t *vp, uio_t *uio, cred_t *cr, int *eofp, caller_context_t *ct, int flags) argument 3961 zfs_readlink(vnode_t *vp, uio_t *uio, cred_t *cr, caller_context_t *ct) argument 5060 uio_t *uio = &xuio->xu_uio; local [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_subr.c | 35 #include <sys/uio.h> 2948 md_chk_uio(struct uio *uio) argument 2956 if ((uio->uio_loffset < 0) || 2957 ((uio->uio_loffset & (DEV_BSIZE - 1)) != 0)) { 2960 iov = uio->uio_iov; 2961 i = uio->uio_iovcnt;
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vdc.c | 113 static int vdc_read(dev_t dev, struct uio *uio, cred_t *cred); 114 static int vdc_write(dev_t dev, struct uio *uio, cred_t *cred); 1569 vdc_read(dev_t dev, struct uio *uio, cred_t *cred) argument 1574 return (physio(vdc_strategy, NULL, dev, B_READ, vdc_min, uio)); 1578 vdc_write(dev_t dev, struct uio *uio, cred_t *cred) argument 1583 return (physio(vdc_strategy, NULL, dev, B_WRITE, vdc_min, uio)); [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_state.c | 484 struct uio uio; local 551 uio.uio_iov = iov; 552 uio.uio_iovcnt = 3; 553 uio.uio_segflg = UIO_SYSSPACE; 554 uio.uio_loffset = 0; 555 uio.uio_resid = sizeof (int) + NFS4_VERIFIER_SIZE + sizeof (uint_t); 557 if (err = VOP_READ(vp, &uio, FREAD, CRED(), NULL)) { 592 uio.uio_iov = iov; 593 uio 630 struct uio uio; local 974 struct uio uio; local [all...] |
H A D | nfs4_srv.c | 41 #include <sys/uio.h> 3090 do_io(int direction, vnode_t *vp, struct uio *uio, int ioflag, cred_t *cred, argument 3103 uio->uio_fmode = FNONBLOCK; 3110 error = VOP_READ(vp, uio, ioflag, cred, ct); 3114 error = VOP_WRITE(vp, uio, ioflag, cred, ct); 3143 struct uio uio; local 3153 struct uio *uiop; 3300 uio 3741 struct uio uio; local 5552 struct uio uio; local [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 2791 vfs_mntdummyread(vnode_t *vp, uio_t *uio, int ioflag, cred_t *cred, argument 2799 vfs_mntdummywrite(vnode_t *vp, uio_t *uio, int ioflag, cred_t *cred, argument 2874 struct uio uio; local 2881 bzero(&uio, sizeof (uio)); 2885 uio.uio_iov = &iov; 2886 uio.uio_iovcnt = 1; 2887 uio.uio_loffset = 0; 2888 uio [all...] |
H A D | vnode.c | 47 #include <sys/uio.h> 754 struct uio uio; local 769 uio.uio_iov = &iov; 770 uio.uio_iovcnt = 1; 771 uio.uio_loffset = offset; 772 uio.uio_segflg = (short)seg; 773 uio.uio_resid = len; 774 uio.uio_llimit = ulimit; 789 uio [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_compat.h | 115 * This is a workaround for <sys/uio.h> troubles on FreeBSD and OpenBSD. 126 # include <sys/uio.h> 325 typedef struct uio uio_t; 521 typedef struct uio uio_t; 537 typedef struct uio uio_t; 796 typedef struct uio uio_t; 963 typedef struct uio uio_t; 1017 typedef struct uio uio_t; 1082 typedef struct uio uio_t; 1223 typedef struct uio { struct [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | st.c | 429 static int st_read(dev_t dev, struct uio *uio_p, cred_t *cred_p); 430 static int st_write(dev_t dev, struct uio *uio_p, cred_t *cred_p); 507 static int st_rw(dev_t dev, struct uio *uio, int flag); 680 scsi_pkt buf uio scsi_cdb uscsi_cmd)) 3831 st_read(dev_t dev, struct uio *uiop, cred_t *cred_p) 3842 st_write(dev_t dev, struct uio *uiop, cred_t *cred_p) 3918 st_rw(dev_t dev, struct uio *uio, int flag) argument 3932 len = uio 4016 struct uio *uio = aio->aio_uio; local 7826 struct uio *uio = &auio; local [all...] |
H A D | sd.c | 1312 static int sdread(dev_t dev, struct uio *uio, cred_t *cred_p); 1313 static int sdwrite(dev_t dev, struct uio *uio, cred_t *cred_p); 10897 * uio - structure pointer describing where data is to be stored 10910 sdread(dev_t dev, struct uio *uio, cred_t *cred_p) argument 10964 if (uio->uio_loffset & ((offset_t)(secmask))) { 10969 } else if (uio->uio_iov->iov_len & (secmask)) { 10975 err = physio(sdstrategy, NULL, dev, B_READ, sdmin, uio); 11001 sdwrite(dev_t dev, struct uio *uio, cred_t *cred_p) argument 11093 struct uio *uio = aio->aio_uio; local 11183 struct uio *uio = aio->aio_uio; local [all...] |