Home
last modified time | relevance | path

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

/openbsd/sys/kern/
H A Dsubr_log.c657 struct uio auio; in dosendsyslog() local
700 auio.uio_iov = &aiov; in dosendsyslog()
701 auio.uio_iovcnt = 1; in dosendsyslog()
702 auio.uio_segflg = sflg; in dosendsyslog()
704 auio.uio_procp = p; in dosendsyslog()
705 auio.uio_offset = 0; in dosendsyslog()
714 len = auio.uio_resid; in dosendsyslog()
729 auio.uio_iovcnt = 1; in dosendsyslog()
732 auio.uio_procp = p; in dosendsyslog()
733 auio.uio_offset = 0; in dosendsyslog()
[all …]
H A Duipc_syscalls.c704 struct uio auio; in sendit() local
728 auio.uio_iov = mp->msg_iov; in sendit()
731 auio.uio_rw = UIO_WRITE; in sendit()
732 auio.uio_procp = p; in sendit()
734 auio.uio_resid = 0; in sendit()
785 len = auio.uio_resid; in sendit()
1036 struct uio auio; in recvit() local
1053 auio.uio_rw = UIO_READ; in recvit()
1054 auio.uio_procp = p; in recvit()
1056 auio.uio_resid = 0; in recvit()
[all …]
H A Dvfs_vnops.c305 struct uio auio; in vn_rdwr() local
309 auio.uio_iov = &aiov; in vn_rdwr()
310 auio.uio_iovcnt = 1; in vn_rdwr()
313 auio.uio_resid = len; in vn_rdwr()
314 auio.uio_offset = offset; in vn_rdwr()
315 auio.uio_segflg = segflg; in vn_rdwr()
316 auio.uio_rw = rw; in vn_rdwr()
317 auio.uio_procp = p; in vn_rdwr()
322 error = VOP_READ(vp, &auio, ioflg, cred); in vn_rdwr()
330 *aresid = auio.uio_resid; in vn_rdwr()
[all …]
H A Dsys_generic.c161 struct uio auio; in sys_read() local
168 auio.uio_iov = &iov; in sys_read()
169 auio.uio_iovcnt = 1; in sys_read()
188 struct uio auio; in sys_readv() local
195 auio.uio_iov = iov; in sys_readv()
197 auio.uio_resid = resid; in sys_readv()
289 struct uio auio; in sys_write() local
296 auio.uio_iov = &iov; in sys_write()
297 auio.uio_iovcnt = 1; in sys_write()
316 struct uio auio; in sys_writev() local
[all …]
H A Dkern_ktrace.c653 struct uio auio; in ktrwriteraw() local
662 auio.uio_iov = &aiov[0]; in ktrwriteraw()
663 auio.uio_offset = 0; in ktrwriteraw()
664 auio.uio_segflg = UIO_SYSSPACE; in ktrwriteraw()
665 auio.uio_rw = UIO_WRITE; in ktrwriteraw()
668 auio.uio_resid = sizeof(struct ktr_header); in ktrwriteraw()
669 auio.uio_iovcnt = 1; in ktrwriteraw()
670 auio.uio_procp = curp; in ktrwriteraw()
674 auio.uio_iovcnt++; in ktrwriteraw()
676 auio.uio_iovcnt++; in ktrwriteraw()
[all …]
H A Dvfs_lookup.c124 struct uio auio; in namei() local
288 auio.uio_iov = &aiov; in namei()
289 auio.uio_iovcnt = 1; in namei()
290 auio.uio_offset = 0; in namei()
291 auio.uio_rw = UIO_READ; in namei()
292 auio.uio_segflg = UIO_SYSSPACE; in namei()
293 auio.uio_procp = cnp->cn_proc; in namei()
294 auio.uio_resid = MAXPATHLEN; in namei()
295 error = VOP_READLINK(ndp->ni_vp, &auio, cnp->cn_cred); in namei()
302 linklen = MAXPATHLEN - auio.uio_resid; in namei()
H A Dvfs_syscalls.c2187 struct uio auio; in doreadlinkat() local
2207 auio.uio_procp = p; in doreadlinkat()
3131 struct uio auio; in sys_getdents() local
3163 auio.uio_iovcnt = 1; in sys_getdents()
3166 auio.uio_procp = p; in sys_getdents()
3281 struct uio auio; in sys_pread() local
3310 struct uio auio; in sys_preadv() local
3317 auio.uio_iov = iov; in sys_preadv()
3341 struct uio auio; in sys_pwrite() local
3370 struct uio auio; in sys_pwritev() local
[all …]
/openbsd/sys/nfs/
H A Dnfs_socket.c529 struct uio auio; in nfs_receive() local
599 auio.uio_iov = &aio; in nfs_receive()
600 auio.uio_iovcnt = 1; in nfs_receive()
603 auio.uio_offset = 0; in nfs_receive()
605 auio.uio_procp = p; in nfs_receive()
650 auio.uio_resid = len; in nfs_receive()
674 auio.uio_procp = p; in nfs_receive()
716 auio.uio_procp = p; in nfs_receive()
725 len -= auio.uio_resid; in nfs_receive()
1596 struct uio auio; in nfsrv_rcv() local
[all …]
H A Dkrpc_subr.c209 struct uio auio; in krpc_call() local
373 auio.uio_resid = len = 1<<16; in krpc_call()
374 auio.uio_procp = NULL; in krpc_call()
376 error = soreceive(so, &from, &auio, &m, NULL, &rcvflg, in krpc_call()
384 len -= auio.uio_resid; in krpc_call()
/openbsd/sys/ufs/ufs/
H A Dufs_quota.c840 struct uio auio; in dqget() local
905 auio.uio_iov = &aiov; in dqget()
906 auio.uio_iovcnt = 1; in dqget()
911 auio.uio_segflg = UIO_SYSSPACE; in dqget()
912 auio.uio_rw = UIO_READ; in dqget()
913 auio.uio_procp = NULL; in dqget()
977 struct uio auio; in dqsync() local
999 auio.uio_iov = &aiov; in dqsync()
1000 auio.uio_iovcnt = 1; in dqsync()
1006 auio.uio_rw = UIO_WRITE; in dqsync()
[all …]
H A Dufs_vnops.c1326 struct uio auio, *uio = ap->a_uio; in ufs_readdir() local
1357 auio = *uio; in ufs_readdir()
1358 auio.uio_iov = &aiov; in ufs_readdir()
1359 auio.uio_iovcnt = 1; in ufs_readdir()
1360 auio.uio_resid = readcnt; in ufs_readdir()
1361 auio.uio_segflg = UIO_SYSSPACE; in ufs_readdir()
1366 error = VOP_READ(ap->a_vp, &auio, 0, ap->a_cred); in ufs_readdir()
1367 readcnt -= auio.uio_resid; in ufs_readdir()
/openbsd/sys/ufs/ext2fs/
H A Dext2fs_lookup.c139 struct uio auio; in ext2fs_readdir() local
156 auio = *uio; in ext2fs_readdir()
157 auio.uio_iov = &aiov; in ext2fs_readdir()
158 auio.uio_iovcnt = 1; in ext2fs_readdir()
159 auio.uio_segflg = UIO_SYSSPACE; in ext2fs_readdir()
161 auio.uio_resid = e2fs_count; in ext2fs_readdir()
760 struct uio auio; in ext2fs_direnter() local
796 auio.uio_iov = &aiov; in ext2fs_direnter()
797 auio.uio_iovcnt = 1; in ext2fs_direnter()
798 auio.uio_rw = UIO_WRITE; in ext2fs_direnter()
[all …]
/openbsd/sys/isofs/cd9660/
H A Dcd9660_vnops.c184 struct uio auio; in cd9660_getattr() local
190 auio.uio_iov = &aiov; in cd9660_getattr()
191 auio.uio_iovcnt = 1; in cd9660_getattr()
192 auio.uio_offset = 0; in cd9660_getattr()
193 auio.uio_rw = UIO_READ; in cd9660_getattr()
194 auio.uio_segflg = UIO_SYSSPACE; in cd9660_getattr()
195 auio.uio_procp = ap->a_p; in cd9660_getattr()
196 auio.uio_resid = MAXPATHLEN; in cd9660_getattr()
197 rdlnk.a_uio = &auio; in cd9660_getattr()
201 vap->va_size = MAXPATHLEN - auio.uio_resid; in cd9660_getattr()
/openbsd/regress/usr.bin/diff/
H A Dt9.21714 struct uio auio;
1733 auio.uio_procp = p;
2497 struct uio auio;
2519 auio.uio_iovcnt = 1;
2522 auio.uio_procp = p;
2899 struct uio auio;
2910 auio.uio_iovcnt = 1;
2911 auio.uio_offset = 0;
2919 auio.uio_procp = p;
3006 struct uio auio;
[all …]
H A Dt9.11300 struct uio auio;
1314 auio.uio_iov = &aiov;
1315 auio.uio_iovcnt = 1;
1316 auio.uio_offset = 0;
1317 auio.uio_rw = UIO_READ;
1319 auio.uio_procp = p;
1880 struct uio auio;
1895 auio.uio_iov = &aiov;
1896 auio.uio_iovcnt = 1;
1897 auio.uio_rw = UIO_READ;
[all …]