Searched refs:auio (Results 26 - 45 of 45) sorted by relevance

12

/freebsd-10.0-release/sys/fs/cd9660/
H A Dcd9660_vnops.c210 struct uio auio; local
216 auio.uio_iov = &aiov;
217 auio.uio_iovcnt = 1;
218 auio.uio_offset = 0;
219 auio.uio_rw = UIO_READ;
220 auio.uio_segflg = UIO_SYSSPACE;
221 auio.uio_td = curthread;
222 auio.uio_resid = MAXPATHLEN;
223 rdlnk.a_uio = &auio;
227 vap->va_size = MAXPATHLEN - auio
[all...]
/freebsd-10.0-release/sys/kern/
H A Dvfs_lookup.c141 struct uio auio; local
340 auio.uio_iov = &aiov;
341 auio.uio_iovcnt = 1;
342 auio.uio_offset = 0;
343 auio.uio_rw = UIO_READ;
344 auio.uio_segflg = UIO_SYSSPACE;
345 auio.uio_td = td;
346 auio.uio_resid = MAXPATHLEN;
347 error = VOP_READLINK(ndp->ni_vp, &auio, cnp->cn_cred);
353 linklen = MAXPATHLEN - auio
[all...]
H A Dvfs_syscalls.c2523 struct uio auio; local
2549 auio.uio_iov = &aiov;
2550 auio.uio_iovcnt = 1;
2551 auio.uio_offset = 0;
2552 auio.uio_rw = UIO_READ;
2553 auio.uio_segflg = bufseg;
2554 auio.uio_td = td;
2555 auio.uio_resid = count;
2556 error = VOP_READLINK(vp, &auio, td->td_ucred);
2559 td->td_retval[0] = count - auio
3839 struct uio auio, kuio; local
4004 struct uio auio; local
[all...]
H A Dvfs_aio.c878 struct uio auio; local
898 auio.uio_iov = &aiov;
899 auio.uio_iovcnt = 1;
900 auio.uio_offset = cb->aio_offset;
901 auio.uio_resid = cb->aio_nbytes;
903 auio.uio_segflg = UIO_USERSPACE;
904 auio.uio_td = td;
913 auio.uio_rw = UIO_READ;
914 if (auio.uio_resid == 0)
917 error = fo_read(fp, &auio, f
[all...]
H A Dkern_jail.c508 struct uio *auio; local
515 error = copyinuio(uap->iovp, uap->iovcnt, &auio);
518 error = kern_jail_set(td, auio, uap->flags);
519 free(auio, M_IOV);
1896 struct uio *auio; local
1903 error = copyinuio(uap->iovp, uap->iovcnt, &auio);
1906 error = kern_jail_get(td, auio, uap->flags);
1908 error = copyout(auio->uio_iov, uap->iovp,
1910 free(auio, M_IOV);
/freebsd-10.0-release/sys/nfsserver/
H A Dnfs_srvsubs.c592 struct uio auio; local
791 auio.uio_iov = &aiov;
792 auio.uio_iovcnt = 1;
793 auio.uio_offset = 0;
794 auio.uio_rw = UIO_READ;
795 auio.uio_segflg = UIO_SYSSPACE;
796 auio.uio_td = NULL;
797 auio.uio_resid = MAXPATHLEN;
798 error = VOP_READLINK(ndp->ni_vp, &auio, cnp->cn_cred);
808 linklen = MAXPATHLEN - auio
[all...]
/freebsd-10.0-release/sys/dev/hwpmc/
H A Dhwpmc_logging.c249 struct uio auio; local
320 auio.uio_iov = &aiov;
321 auio.uio_iovcnt = 1;
322 auio.uio_offset = -1;
323 auio.uio_resid = nbytes;
324 auio.uio_rw = UIO_WRITE;
325 auio.uio_segflg = UIO_SYSSPACE;
326 auio.uio_td = td;
330 error = fo_write(po->po_file, &auio, ownercred, 0, td);
/freebsd-10.0-release/sys/fs/ext2fs/
H A Dext2_lookup.c867 struct uio auio; local
919 auio.uio_offset = dp->i_offset;
921 auio.uio_resid = newentrysize;
924 auio.uio_iov = &aiov;
925 auio.uio_iovcnt = 1;
926 auio.uio_rw = UIO_WRITE;
927 auio.uio_segflg = UIO_SYSSPACE;
928 auio.uio_td = (struct thread *)0;
929 error = VOP_WRITE(dvp, &auio, IO_SYNC, cnp->cn_cred);
H A Dext2_htree.c394 struct uio auio; local
402 auio.uio_offset = cursize;
403 auio.uio_resid = blksize;
406 auio.uio_iov = &aiov;
407 auio.uio_iovcnt = 1;
408 auio.uio_rw = UIO_WRITE;
409 auio.uio_segflg = UIO_SYSSPACE;
410 error = VOP_WRITE(vp, &auio, IO_SYNC, cnp->cn_cred);
/freebsd-10.0-release/sys/ufs/ffs/
H A Dffs_snapshot.c222 struct uio auio; local
756 auio.uio_iov = &aiov;
757 auio.uio_iovcnt = 1;
760 auio.uio_resid = aiov.iov_len;
761 auio.uio_offset = ip->i_size;
762 auio.uio_segflg = UIO_SYSSPACE;
763 auio.uio_rw = UIO_WRITE;
764 auio.uio_td = td;
765 if ((error = VOP_WRITE(vp, &auio, IO_UNIT, td->td_ucred)) != 0) {
1961 struct uio auio; local
[all...]
/freebsd-10.0-release/sys/amd64/linux32/
H A Dlinux32_machdep.c240 struct uio *auio; local
243 error = linux32_copyinuio(uap->iovp, uap->iovcnt, &auio);
246 error = kern_readv(td, uap->fd, auio);
247 free(auio, M_IOV);
254 struct uio *auio; local
257 error = linux32_copyinuio(uap->iovp, uap->iovcnt, &auio);
260 error = kern_writev(td, uap->fd, auio);
261 free(auio, M_IOV);
/freebsd-10.0-release/sys/compat/freebsd32/
H A Dfreebsd32_misc.c868 struct uio *auio; local
871 error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio);
874 error = kern_readv(td, uap->fd, auio);
875 free(auio, M_IOV);
882 struct uio *auio; local
885 error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio);
888 error = kern_writev(td, uap->fd, auio);
889 free(auio, M_IOV);
896 struct uio *auio; local
899 error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio);
910 struct uio *auio; local
1968 struct uio *auio; local
1987 struct uio *auio; local
2613 struct uio *auio; local
[all...]
/freebsd-10.0-release/sys/sys/
H A Dsyscallsubr.h172 int kern_preadv(struct thread *td, int fd, struct uio *auio, off_t offset);
177 int kern_pwritev(struct thread *td, int fd, struct uio *auio, off_t offset);
182 int kern_readv(struct thread *td, int fd, struct uio *auio);
257 int kern_writev(struct thread *td, int fd, struct uio *auio);
H A Dmount.h830 int vfs_buildopts(struct uio *auio, struct vfsoptlist **options);
/freebsd-10.0-release/sys/compat/linux/
H A Dlinux_file.c334 struct uio auio; local
380 auio.uio_iov = &aiov;
381 auio.uio_iovcnt = 1;
382 auio.uio_rw = UIO_READ;
383 auio.uio_segflg = UIO_SYSSPACE;
384 auio.uio_td = td;
385 auio.uio_resid = buflen;
386 auio.uio_offset = off;
395 if ((error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &ncookies,
402 if ((len = buflen - auio
[all...]
/freebsd-10.0-release/sys/netgraph/
H A Dng_ksocket.c1046 struct uio auio; local
1097 auio.uio_td = NULL;
1098 auio.uio_resid = 1000000000;
1106 NULL : &sa, &auio, &m, NULL, &flags)) != 0)
/freebsd-10.0-release/sys/fs/nfsclient/
H A Dnfs_clvnops.c466 struct uio auio; local
472 auio.uio_iov = &aiov;
473 auio.uio_iovcnt = 1;
474 auio.uio_offset = 0;
475 auio.uio_resid = 1;
476 auio.uio_segflg = UIO_SYSSPACE;
477 auio.uio_rw = UIO_READ;
478 auio.uio_td = ap->a_td;
481 error = ncl_readrpc(vp, &auio, ap->a_cred);
486 aiov.iov_len = auio
[all...]
/freebsd-10.0-release/sys/nfsclient/
H A Dnfs_vnops.c459 struct uio auio; local
465 auio.uio_iov = &aiov;
466 auio.uio_iovcnt = 1;
467 auio.uio_offset = 0;
468 auio.uio_resid = 1;
469 auio.uio_segflg = UIO_SYSSPACE;
470 auio.uio_rw = UIO_READ;
471 auio.uio_td = ap->a_td;
474 error = nfs_readrpc(vp, &auio, ap->a_cred);
479 aiov.iov_len = auio
[all...]
/freebsd-10.0-release/sys/fs/nfsserver/
H A Dnfs_nfsdport.c334 struct uio auio; local
449 auio.uio_iov = &aiov;
450 auio.uio_iovcnt = 1;
451 auio.uio_offset = 0;
452 auio.uio_rw = UIO_READ;
453 auio.uio_segflg = UIO_SYSSPACE;
454 auio.uio_td = NULL;
455 auio.uio_resid = MAXPATHLEN;
456 error = VOP_READLINK(ndp->ni_vp, &auio, cnp->cn_cred);
466 linklen = MAXPATHLEN - auio
[all...]
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vnops.c6719 struct uio auio, *uio = ap->a_uio; local
6764 auio.uio_iov = &aiov;
6765 auio.uio_iovcnt = 1;
6766 auio.uio_segflg = UIO_SYSSPACE;
6767 auio.uio_td = td;
6768 auio.uio_rw = UIO_READ;
6769 auio.uio_offset = 0;
6776 auio.uio_resid = sizeof(dirbuf);
6777 error = VOP_READDIR(vp, &auio, ap->a_cred, &eof, NULL, NULL);
6778 done = sizeof(dirbuf) - auio
[all...]

Completed in 705 milliseconds

12