Home
last modified time | relevance | path

Searched refs:auio (Results 1 – 24 of 24) sorted by relevance

/titanic_41/usr/src/uts/common/io/ksocket/
H A Dksocket.c189 struct uio auio; in ksocket_send() local
204 bzero(&auio, sizeof (struct uio)); in ksocket_send()
205 auio.uio_loffset = 0; in ksocket_send()
206 auio.uio_iov = &iov; in ksocket_send()
207 auio.uio_iovcnt = 1; in ksocket_send()
208 auio.uio_resid = msglen; in ksocket_send()
210 auio.uio_segflg = UIO_USERSPACE; in ksocket_send()
212 auio.uio_segflg = UIO_SYSSPACE; in ksocket_send()
213 auio.uio_extflg = UIO_COPY_DEFAULT; in ksocket_send()
214 auio.uio_limit = 0; in ksocket_send()
[all …]
/titanic_41/usr/src/uts/common/syscall/
H A Drw.c77 struct uio auio; in read() local
160 auio.uio_loffset = fileoff; in read()
161 auio.uio_iov = &aiov; in read()
162 auio.uio_iovcnt = 1; in read()
163 auio.uio_resid = bcount = cnt; in read()
164 auio.uio_segflg = UIO_USERSPACE; in read()
165 auio.uio_llimit = MAXOFFSET_T; in read()
166 auio.uio_fmode = fflag; in read()
171 auio.uio_extflg = UIO_COPY_CACHED; in read()
173 auio.uio_extflg = UIO_COPY_DEFAULT; in read()
[all …]
H A Dsendfile.c96 struct uio auio; in sendvec_chunk64() local
144 auio.uio_extflg = UIO_COPY_DEFAULT; in sendvec_chunk64()
148 auio.uio_loffset = *fileoff; in sendvec_chunk64()
149 auio.uio_iovcnt = 1; in sendvec_chunk64()
150 auio.uio_resid = sfv_len; in sendvec_chunk64()
151 auio.uio_iov = &aiov; in sendvec_chunk64()
152 auio.uio_segflg = UIO_USERSPACE; in sendvec_chunk64()
153 auio.uio_llimit = curproc->p_fsz_ctl; in sendvec_chunk64()
154 auio.uio_fmode = fflag; in sendvec_chunk64()
155 ioflag = auio.uio_fmode & (FAPPEND|FSYNC|FDSYNC|FRSYNC); in sendvec_chunk64()
[all …]
H A Dgetdents.c75 struct uio auio; in getdents32() local
113 auio.uio_iov = &aiov; in getdents32()
114 auio.uio_iovcnt = 1; in getdents32()
115 auio.uio_loffset = fp->f_offset; in getdents32()
116 auio.uio_segflg = UIO_SYSSPACE; in getdents32()
117 auio.uio_resid = count; in getdents32()
118 auio.uio_fmode = 0; in getdents32()
119 auio.uio_extflg = UIO_COPY_CACHED; in getdents32()
121 error = VOP_READDIR(vp, &auio, fp->f_cred, &sink, NULL, 0); in getdents32()
125 count = count - auio.uio_resid; in getdents32()
[all …]
H A Dreadlink.c59 struct uio auio; in readlinkat() local
100 auio.uio_iov = &aiov; in readlinkat()
101 auio.uio_iovcnt = 1; in readlinkat()
102 auio.uio_loffset = 0; in readlinkat()
103 auio.uio_segflg = UIO_USERSPACE; in readlinkat()
104 auio.uio_extflg = UIO_COPY_CACHED; in readlinkat()
105 auio.uio_resid = cnt; in readlinkat()
106 error = VOP_READLINK(vp, &auio, CRED(), NULL); in readlinkat()
115 return ((ssize_t)(cnt - auio.uio_resid)); in readlinkat()
/titanic_41/usr/src/uts/common/fs/
H A Dpathname.c201 struct uio auio; in pn_getsymlink() local
206 auio.uio_iov = &aiov; in pn_getsymlink()
207 auio.uio_iovcnt = 1; in pn_getsymlink()
208 auio.uio_loffset = 0; in pn_getsymlink()
209 auio.uio_segflg = UIO_SYSSPACE; in pn_getsymlink()
210 auio.uio_extflg = UIO_COPY_CACHED; in pn_getsymlink()
211 auio.uio_resid = pnp->pn_bufsize; in pn_getsymlink()
212 if ((error = VOP_READLINK(vp, &auio, crp, NULL)) == 0) { in pn_getsymlink()
213 pnp->pn_pathlen = pnp->pn_bufsize - auio.uio_resid; in pn_getsymlink()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c950 struct uio auio; in recv() local
962 auio.uio_loffset = 0; in recv()
963 auio.uio_iov = aiov; in recv()
964 auio.uio_iovcnt = 1; in recv()
965 auio.uio_resid = len; in recv()
966 auio.uio_segflg = UIO_USERSPACE; in recv()
967 auio.uio_limit = 0; in recv()
972 return (recvit(sock, &lmsg, &auio, flags, NULL, NULL, NULL)); in recv()
980 struct uio auio; in recvfrom() local
992 auio.uio_loffset = 0; in recvfrom()
[all …]
H A Dsocksubr.c1881 struct uio auio; in soreadfile() local
1900 auio.uio_loffset = fileoff; in soreadfile()
1901 auio.uio_iov = aiov; in soreadfile()
1902 auio.uio_iovcnt = iovcnt; in soreadfile()
1903 auio.uio_resid = cnt; in soreadfile()
1904 auio.uio_segflg = UIO_SYSSPACE; in soreadfile()
1905 auio.uio_llimit = MAXOFFSET_T; in soreadfile()
1906 auio.uio_fmode = fflag; in soreadfile()
1907 auio.uio_extflg = UIO_COPY_CACHED; in soreadfile()
1909 ioflag = auio.uio_fmode & (FAPPEND|FSYNC|FDSYNC|FRSYNC); in soreadfile()
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dksyms.c342 struct uio auio; in ksyms_segmap() local
357 auio.uio_offset = off; in ksyms_segmap()
358 auio.uio_iov = &aiov; in ksyms_segmap()
359 auio.uio_iovcnt = 1; in ksyms_segmap()
360 auio.uio_resid = len; in ksyms_segmap()
361 auio.uio_segflg = UIO_USERSPACE; in ksyms_segmap()
362 auio.uio_llimit = MAXOFFSET_T; in ksyms_segmap()
363 auio.uio_fmode = FREAD; in ksyms_segmap()
364 auio.uio_extflg = UIO_COPY_CACHED; in ksyms_segmap()
366 error = ksyms_symtbl_copy(kip, &auio, len); in ksyms_segmap()
H A Dfd.c1772 auto struct uio auio; in fd_ioctl() local
1773 struct uio *uio = &auio; in fd_ioctl()
1777 bzero(&auio, sizeof (struct uio)); in fd_ioctl()
/titanic_41/usr/src/uts/common/fs/zut/
H A Dzut.c105 struct uio auio; in zut_readdir() local
161 auio.uio_iov = &aiov; in zut_readdir()
162 auio.uio_iovcnt = 1; in zut_readdir()
163 auio.uio_loffset = zr->zr_loffset; in zut_readdir()
164 auio.uio_segflg = UIO_SYSSPACE; in zut_readdir()
165 auio.uio_resid = zr->zr_buflen; in zut_readdir()
166 auio.uio_fmode = 0; in zut_readdir()
167 auio.uio_extflg = UIO_COPY_CACHED; in zut_readdir()
175 zr->zr_retcode = VOP_READDIR(dvn, &auio, cr, &zr->zr_eof, in zut_readdir()
181 zr->zr_loffset = auio.uio_loffset; in zut_readdir()
/titanic_41/usr/src/uts/i86pc/i86hvm/io/
H A Dpv_cmdk.c407 struct uio auio; in xdfs_dioctl_rwcmd() local
430 bzero((caddr_t)&auio, sizeof (struct uio)); in xdfs_dioctl_rwcmd()
431 auio.uio_iov = &aiov; in xdfs_dioctl_rwcmd()
432 auio.uio_iovcnt = 1; in xdfs_dioctl_rwcmd()
433 auio.uio_loffset = (offset_t)rwcmdp->blkaddr * (offset_t)XB_BSIZE; in xdfs_dioctl_rwcmd()
434 auio.uio_resid = rwcmdp->buflen; in xdfs_dioctl_rwcmd()
435 auio.uio_segflg = (flag & FKIOCTL) ? UIO_SYSSPACE : UIO_USERSPACE; in xdfs_dioctl_rwcmd()
445 status = physio(xdfs_strategy, bp, dev, rw, xdfs_minphys, &auio); in xdfs_dioctl_rwcmd()
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_usr.c363 struct uio auio; in smb_usr_rw() local
407 auio.uio_iov = aiov; in smb_usr_rw()
408 auio.uio_iovcnt = 1; in smb_usr_rw()
409 auio.uio_loffset = ioc->ioc_offset; in smb_usr_rw()
410 auio.uio_segflg = (flags & FKIOCTL) ? in smb_usr_rw()
412 auio.uio_fmode = 0; in smb_usr_rw()
413 auio.uio_resid = (size_t)ioc->ioc_cnt; in smb_usr_rw()
415 err = smb_rwuio(ssp, fh, rw, &auio, &scred, 0); in smb_usr_rw()
421 ioc->ioc_cnt -= auio.uio_resid; in smb_usr_rw()
/titanic_41/usr/src/uts/common/os/
H A Dwatchpoint.c1459 struct uio auio; in watch_physio() local
1485 auio.uio_iovcnt = 1; in watch_physio()
1486 auio.uio_iov = iov; in watch_physio()
1487 auio.uio_resid = len; in watch_physio()
1488 auio.uio_loffset = uio->uio_loffset; in watch_physio()
1489 auio.uio_llimit = uio->uio_llimit; in watch_physio()
1490 auio.uio_fmode = uio->uio_fmode; in watch_physio()
1491 auio.uio_extflg = uio->uio_extflg; in watch_physio()
1492 auio.uio_segflg = uio->uio_segflg; in watch_physio()
1502 &auio); in watch_physio()
[all …]
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_vops.c956 struct uio auio; in smb_vop_readdir() local
977 auio.uio_iov = &aiov; in smb_vop_readdir()
978 auio.uio_iovcnt = 1; in smb_vop_readdir()
979 auio.uio_loffset = (uint64_t)offset; in smb_vop_readdir()
980 auio.uio_segflg = UIO_SYSSPACE; in smb_vop_readdir()
981 auio.uio_extflg = UIO_COPY_DEFAULT; in smb_vop_readdir()
982 auio.uio_resid = *count; in smb_vop_readdir()
983 auio.uio_fmode = 0; in smb_vop_readdir()
986 error = VOP_READDIR(vp, &auio, cr, eof, &smb_ct, flags); in smb_vop_readdir()
990 *count = *count - auio.uio_resid; in smb_vop_readdir()
/titanic_41/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c2345 struct uio auio; in ud_rdwri() local
2350 bzero((caddr_t)&auio, sizeof (uio_t)); in ud_rdwri()
2355 auio.uio_iov = &aiov; in ud_rdwri()
2356 auio.uio_iovcnt = 1; in ud_rdwri()
2357 auio.uio_loffset = offset; in ud_rdwri()
2358 auio.uio_segflg = (int16_t)seg; in ud_rdwri()
2359 auio.uio_resid = len; in ud_rdwri()
2362 auio.uio_fmode = FWRITE; in ud_rdwri()
2363 auio.uio_extflg = UIO_COPY_DEFAULT; in ud_rdwri()
2364 auio.uio_llimit = curproc->p_fsz_ctl; in ud_rdwri()
[all …]
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprcontrol.c2129 struct uio auio; in pr_rdwr() local
2141 auio.uio_loffset = offset; in pr_rdwr()
2142 auio.uio_iov = &aiov; in pr_rdwr()
2143 auio.uio_iovcnt = 1; in pr_rdwr()
2144 auio.uio_resid = cnt; in pr_rdwr()
2145 auio.uio_segflg = UIO_USERSPACE; in pr_rdwr()
2146 auio.uio_llimit = (longlong_t)MAXOFFSET_T; in pr_rdwr()
2147 auio.uio_fmode = FREAD|FWRITE; in pr_rdwr()
2148 auio.uio_extflg = UIO_COPY_DEFAULT; in pr_rdwr()
2151 error = prusrio(p, rw, &auio, 0); in pr_rdwr()
[all …]
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_vnops.c4292 struct uio auio; in ufs_rdwri() local
4298 bzero((caddr_t)&auio, sizeof (uio_t)); in ufs_rdwri()
4303 auio.uio_iov = &aiov; in ufs_rdwri()
4304 auio.uio_iovcnt = 1; in ufs_rdwri()
4305 auio.uio_loffset = offset; in ufs_rdwri()
4306 auio.uio_segflg = (short)seg; in ufs_rdwri()
4307 auio.uio_resid = len; in ufs_rdwri()
4310 auio.uio_fmode = FWRITE; in ufs_rdwri()
4311 auio.uio_extflg = UIO_COPY_DEFAULT; in ufs_rdwri()
4312 auio.uio_llimit = curproc->p_fsz_ctl; in ufs_rdwri()
[all …]
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c2414 struct uio auio; in scsi_uscsi_handle_cmd() local
2415 struct uio *uio = &auio; in scsi_uscsi_handle_cmd()
2417 bzero(&auio, sizeof (struct uio)); in scsi_uscsi_handle_cmd()
/titanic_41/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c1741 struct uio auio; in dadk_dk_buf_setup() local
1742 struct uio *uio = &auio; in dadk_dk_buf_setup()
1750 bzero((caddr_t)&auio, sizeof (struct uio)); in dadk_dk_buf_setup()
/titanic_41/usr/src/uts/sun4v/io/
H A Dvdc.c5711 struct uio auio; in vdc_dioctl_rwcmd() local
5747 bzero((caddr_t)&auio, sizeof (struct uio)); in vdc_dioctl_rwcmd()
5748 auio.uio_iov = &aiov; in vdc_dioctl_rwcmd()
5749 auio.uio_iovcnt = 1; in vdc_dioctl_rwcmd()
5750 auio.uio_loffset = rwcmd.blkaddr * vdc->vdisk_bsize; in vdc_dioctl_rwcmd()
5751 auio.uio_resid = rwcmd.buflen; in vdc_dioctl_rwcmd()
5752 auio.uio_segflg = flag & FKIOCTL ? UIO_SYSSPACE : UIO_USERSPACE; in vdc_dioctl_rwcmd()
5763 rw, vdc_min, &auio); in vdc_dioctl_rwcmd()
/titanic_41/usr/src/uts/sun/io/dada/targets/
H A Ddad.c3692 auto struct uio auio; in dcdioctl_cmd() local
3693 struct uio *uio = &auio; in dcdioctl_cmd()
3695 bzero((caddr_t)&auio, sizeof (struct uio)); in dcdioctl_cmd()
/titanic_41/usr/src/uts/sun/io/
H A Dfd.c2455 auto struct uio auio; in fd_ioctl() local
2456 struct uio *uio = &auio; in fd_ioctl()
2460 bzero(&auio, sizeof (struct uio)); in fd_ioctl()
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dst.c7825 struct uio auio; in st_setup_cmd() local
7826 struct uio *uio = &auio; in st_setup_cmd()
7828 bzero(&auio, sizeof (struct uio)); in st_setup_cmd()