/freebsd-current/sys/kern/ |
H A D | sys_getrandom.c | 51 struct uio auio; local 101 auio.uio_iov = &aiov; 102 auio.uio_iovcnt = 1; 103 auio.uio_offset = 0; 104 auio.uio_resid = buflen; 105 auio.uio_segflg = UIO_USERSPACE; 106 auio.uio_rw = UIO_READ; 107 auio.uio_td = td; 109 error = read_random_uio(&auio, (flags & GRND_NONBLOCK) != 0); 111 td->td_retval[0] = buflen - auio [all...] |
H A D | vfs_extattr.c | 177 struct uio auio; local 192 auio.uio_iov = &aiov; 193 auio.uio_iovcnt = 1; 194 auio.uio_offset = 0; 195 auio.uio_resid = nbytes; 196 auio.uio_rw = UIO_WRITE; 197 auio.uio_segflg = UIO_USERSPACE; 198 auio.uio_td = td; 208 error = VOP_SETEXTATTR(vp, attrnamespace, attrname, &auio, 210 cnt -= auio 353 struct uio auio, *auiop; local 735 struct uio auio, *auiop; local 813 struct uio auio, *auiop; local [all...] |
H A D | sys_generic.c | 191 struct uio auio; local 199 auio.uio_iov = &aiov; 200 auio.uio_iovcnt = 1; 201 auio.uio_resid = uap->nbyte; 202 auio.uio_segflg = UIO_USERSPACE; 203 error = kern_readv(td, uap->fd, &auio); 229 struct uio auio; local 237 auio.uio_iov = &aiov; 238 auio.uio_iovcnt = 1; 239 auio 267 struct uio *auio; local 279 kern_readv(struct thread *td, int fd, struct uio *auio) argument 306 struct uio *auio; local 318 kern_preadv(struct thread *td, int fd, struct uio *auio, off_t offset) argument 342 dofileread(struct thread *td, int fd, struct file *fp, struct uio *auio, off_t offset, int flags) argument 392 struct uio auio; local 431 struct uio auio; local 469 struct uio *auio; local 481 kern_writev(struct thread *td, int fd, struct uio *auio) argument 508 struct uio *auio; local 520 kern_pwritev(struct thread *td, int fd, struct uio *auio, off_t offset) argument 544 dofilewrite(struct thread *td, int fd, struct file *fp, struct uio *auio, off_t offset, int flags) argument [all...] |
H A D | vfs_default.c | 815 struct uio auio; local 892 auio.uio_iov = &aiov; 893 auio.uio_iovcnt = 1; 894 auio.uio_offset = offset; 895 auio.uio_resid = cur; 896 auio.uio_segflg = UIO_SYSSPACE; 897 auio.uio_rw = UIO_READ; 898 auio.uio_td = td; 899 error = VOP_READ(vp, &auio, ap->a_ioflag, ap->a_cred); 902 if (auio 946 struct uio auio; local [all...] |
H A D | kern_alq.c | 316 struct uio auio; local 331 bzero(&auio, sizeof(auio)); 360 auio.uio_iov = &aiov[0]; 361 auio.uio_offset = 0; 362 auio.uio_segflg = UIO_SYSSPACE; 363 auio.uio_rw = UIO_WRITE; 364 auio.uio_iovcnt = iov; 365 auio.uio_resid = totlen; 366 auio [all...] |
H A D | uipc_syscalls.c | 718 struct uio auio; local 761 auio.uio_iov = mp->msg_iov; 762 auio.uio_iovcnt = mp->msg_iovlen; 763 auio.uio_segflg = segflg; 764 auio.uio_rw = UIO_WRITE; 765 auio.uio_td = td; 766 auio.uio_offset = 0; /* XXX */ 767 auio.uio_resid = 0; 770 if ((auio.uio_resid += iov->iov_len) < 0) { 778 ktruio = cloneuio(&auio); 882 struct uio auio; local [all...] |
H A D | kern_ktrace.c | 1295 struct uio auio; local 1333 auio.uio_iov = &aiov[0]; 1334 auio.uio_offset = 0; 1335 auio.uio_segflg = UIO_SYSSPACE; 1336 auio.uio_rw = UIO_WRITE; 1339 auio.uio_resid = sizeof(struct ktr_header); 1340 auio.uio_iovcnt = 1; 1341 auio.uio_td = td; 1345 auio.uio_resid += datalen; 1346 auio [all...] |
/freebsd-current/tools/tools/kttcp/sys/ |
H A D | kttcp.c | 154 struct uio auio; local 158 bzero(&auio, sizeof(auio)); 159 auio.uio_iov = &aiov; 160 auio.uio_segflg = UIO_NOCOPY; 176 auio.uio_resid = nbyte; 177 auio.uio_offset = 0; 179 &auio, NULL, NULL, 0, td); 180 len -= auio.uio_offset; 202 struct uio auio; local [all...] |
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_file_os.c | 119 struct uio auio; local 126 auio.uio_iov = &aiov; 127 auio.uio_iovcnt = 1; 128 auio.uio_segflg = UIO_SYSSPACE; 129 auio.uio_resid = count; 130 auio.uio_rw = UIO_WRITE; 131 auio.uio_td = td; 132 auio.uio_offset = *offp; 140 rc = fo_write(fp, &auio, td->td_ucred, FOF_OFFSET, td); 144 *resid = auio 176 struct uio auio; local [all...] |
/freebsd-current/sys/netinet/ |
H A D | sctp_syscalls.c | 216 struct uio auio; local 261 auio.uio_iov = iov; 262 auio.uio_iovcnt = 1; 263 auio.uio_segflg = UIO_USERSPACE; 264 auio.uio_rw = UIO_WRITE; 265 auio.uio_td = td; 266 auio.uio_offset = 0; /* XXX */ 267 auio.uio_resid = 0; 270 ktruio = cloneuio(&auio); 272 len = auio 316 struct uio auio; local 427 struct uio auio; local [all...] |
/freebsd-current/sys/fs/tarfs/ |
H A D | tarfs_io.c | 157 struct uio auio; local 169 auio.uio_iov = &aiov; 170 auio.uio_iovcnt = 1; 171 auio.uio_offset = off; 172 auio.uio_segflg = UIO_SYSSPACE; 173 auio.uio_rw = UIO_READ; 174 auio.uio_resid = len; 175 auio.uio_td = curthread; 176 error = tarfs_io_read(tmp, raw, &auio); 182 res = len - auio 321 struct uio auio; local 569 struct uio auio; local [all...] |
H A D | tarfs_subr.c | 420 struct uio auio; local 441 auio = *uiop; 442 auio.uio_offset = 0; 443 auio.uio_resid = copylen; 445 copylen, &auio); 449 tnp->name, copylen - auio.uio_resid); 450 uiop->uio_offset += copylen - auio.uio_resid; 451 uiop->uio_resid -= copylen - auio.uio_resid; 452 resid -= copylen - auio.uio_resid; 460 auio [all...] |
/freebsd-current/sys/dev/nvdimm/ |
H A D | nvdimm_spa.c | 318 struct uio auio; local 368 auio.uio_iov = &aiovec; 369 auio.uio_iovcnt = 1; 370 auio.uio_resid = bp->bio_length; 371 auio.uio_offset = bp->bio_offset; 372 auio.uio_segflg = UIO_SYSSPACE; 373 auio.uio_rw = bp->bio_cmd == BIO_READ ? 375 auio.uio_td = curthread; 377 bp->bio_ma_offset, bp->bio_length, &auio); 378 bp->bio_resid = auio [all...] |
/freebsd-current/sys/netsmb/ |
H A D | smb_trantcp.c | 292 struct uio auio; local 299 auio.uio_iov = &aio; 300 auio.uio_iovcnt = 1; 301 auio.uio_segflg = UIO_SYSSPACE; 302 auio.uio_rw = UIO_READ; 303 auio.uio_offset = 0; 304 auio.uio_resid = sizeof(len); 305 auio.uio_td = td; 307 error = soreceive(so, (struct sockaddr **)NULL, &auio, 312 if (auio 332 struct uio auio; local [all...] |
H A D | smb_dev.c | 305 struct uio auio; local 314 auio.uio_iov = &iov; 315 auio.uio_iovcnt = 1; 316 auio.uio_offset = rwrq->ioc_offset; 317 auio.uio_resid = rwrq->ioc_cnt; 318 auio.uio_segflg = UIO_USERSPACE; 319 auio.uio_rw = (cmd == SMBIOC_READ) ? UIO_READ : UIO_WRITE; 320 auio.uio_td = td; 322 error = smb_read(ssp, rwrq->ioc_fh, &auio, scred); 324 error = smb_write(ssp, rwrq->ioc_fh, &auio, scre [all...] |
/freebsd-current/sys/dev/beri/virtio/ |
H A D | virtio_block.c | 113 struct uio auio; local 116 bzero(&auio, sizeof(auio)); 122 auio.uio_iov = iov; 123 auio.uio_iovcnt = cnt; 124 auio.uio_offset = offset; 125 auio.uio_segflg = UIO_SYSSPACE; 126 auio.uio_rw = operation; 127 auio.uio_resid = iolen; 128 auio [all...] |
/freebsd-current/sys/compat/linux/ |
H A D | linux_xattr.c | 135 struct uio auio; local 147 auio.uio_iov = &aiov; 148 auio.uio_iovcnt = 1; 149 auio.uio_rw = UIO_READ; 150 auio.uio_segflg = UIO_SYSSPACE; 151 auio.uio_td = td; 158 auio.uio_resid = sz; 159 auio.uio_offset = 0; 163 attrnamespace, &auio, args->follow, UIO_USERSPACE); 166 attrnamespace, &auio); [all...] |
/freebsd-current/sys/dev/filemon/ |
H A D | filemon_wrapper.c | 52 struct uio auio; local 61 auio.uio_iov = &aiov; 62 auio.uio_iovcnt = 1; 63 auio.uio_resid = len; 64 auio.uio_segflg = UIO_SYSSPACE; 65 auio.uio_rw = UIO_WRITE; 66 auio.uio_td = curthread; 67 auio.uio_offset = (off_t) -1; 72 error = fo_write(filemon->fp, &auio, filemon->cred, 0, curthread);
|
/freebsd-current/sys/ufs/ufs/ |
H A D | ufs_extattr.c | 373 struct uio auio; local 383 auio.uio_iov = &aiov; 384 auio.uio_iovcnt = 1; 385 auio.uio_rw = UIO_READ; 386 auio.uio_segflg = UIO_SYSSPACE; 387 auio.uio_td = td; 388 auio.uio_offset = 0; 392 vargs.a_uio = &auio; 399 auio.uio_resid = DIRBLKSIZ; 409 edp = (struct dirent *)&dirbuf[DIRBLKSIZ - auio 597 struct uio auio; local [all...] |
H A D | ufs_quota.c | 1227 struct uio auio; local 1231 auio.uio_iov = &aiov; 1232 auio.uio_iovcnt = 1; 1235 auio.uio_resid = sizeof(dqh); 1236 auio.uio_offset = 0; 1237 auio.uio_segflg = UIO_SYSSPACE; 1238 auio.uio_rw = UIO_READ; 1239 auio.uio_td = (struct thread *)0; 1240 error = VOP_READ(vp, &auio, 0, ump->um_cred[type]); 1244 if (auio 1278 struct uio auio; local 1551 struct uio auio; local [all...] |
/freebsd-current/sys/nfs/ |
H A D | krpc_subr.c | 200 struct uio auio; local 345 bzero(&auio, sizeof(auio)); 346 auio.uio_resid = len = 1<<16; 348 error = soreceive(so, &from, &auio, &m, NULL, &rcvflg); 355 len -= auio.uio_resid;
|
H A D | bootp_subr.c | 486 struct uio auio; local 630 auio.uio_iov = &aio; 631 auio.uio_iovcnt = 1; 632 auio.uio_segflg = UIO_SYSSPACE; 633 auio.uio_rw = UIO_WRITE; 634 auio.uio_offset = 0; 635 auio.uio_resid = sizeof(ifctx->call); 636 auio.uio_td = td; 647 &auio, NULL, NULL, 0, td); 685 auio [all...] |
/freebsd-current/sys/vm/ |
H A D | vnode_pager.c | 762 struct uio auio; local 792 auio.uio_iov = &aiov; 793 auio.uio_iovcnt = 1; 794 auio.uio_offset = IDX_TO_OFF(m->pindex); 795 auio.uio_segflg = UIO_SYSSPACE; 796 auio.uio_rw = UIO_READ; 797 auio.uio_resid = size; 798 auio.uio_td = curthread; 800 error = VOP_READ(vp, &auio, 0, curthread->td_ucred); 802 int count = size - auio 1377 struct uio auio; local [all...] |
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_lookup.c | 856 struct uio auio; local 875 auio.uio_offset = dp->i_offset; 876 auio.uio_resid = dirblksize; 877 aiov.iov_len = auio.uio_resid; 881 auio.uio_offset = dp->i_offset; 882 auio.uio_resid = EXT2_DIR_REC_LEN(entry->e2d_namlen); 883 aiov.iov_len = auio.uio_resid; 887 auio.uio_iov = &aiov; 888 auio.uio_iovcnt = 1; 889 auio [all...] |
/freebsd-current/sys/dev/md/ |
H A D | md.c | 879 struct uio auio; local 908 auio.uio_rw = UIO_READ; 911 auio.uio_rw = UIO_WRITE; 935 auio.uio_offset = (vm_ooffset_t)bp->bio_offset; 936 auio.uio_resid = bp->bio_length; 937 auio.uio_segflg = UIO_SYSSPACE; 938 auio.uio_td = td; 942 auio.uio_iov = piov; 955 auio.uio_iovcnt = piov - auio 1389 struct uio auio; local [all...] |