Searched refs:uio (Results 1 - 25 of 710) sorted by last modified time

1234567891011>>

/freebsd-current/sys/x86/iommu/
H A Dintel_idpgtbl.c48 #include <sys/uio.h>
H A Dintel_ctx.c48 #include <sys/uio.h>
/freebsd-current/sys/sys/
H A Dsyscallsubr.h67 struct uio;
154 struct uio *auiop);
156 int attrnamespace, struct uio *auiop, int follow,
200 int kern_jail_get(struct thread *td, struct uio *options, int flags);
201 int kern_jail_set(struct thread *td, struct uio *options, int flags);
288 int kern_preadv(struct thread *td, int fd, struct uio *auio, off_t offset);
295 int kern_pwritev(struct thread *td, int fd, struct uio *auio, off_t offset);
298 int kern_readv(struct thread *td, int fd, struct uio *auio);
394 int kern_writev(struct thread *td, int fd, struct uio *auio);
H A Dvnode.h42 #include <sys/uio.h>
634 struct uio;
796 int vn_read_from_obj(struct vnode *vp, struct uio *uio);
797 int vn_rlimit_fsize(const struct vnode *vp, const struct uio *uio,
799 int vn_rlimit_fsizex(const struct vnode *vp, struct uio *uio,
801 void vn_rlimit_fsizex_res(struct uio *uio, ssize_
[all...]
H A Dbuf.h51 struct uio;
/freebsd-current/sys/kern/
H A Duipc_mqueue.c1329 struct uio *a_uio;
1343 struct uio *uio = ap->a_uio; local
1359 error = uiomove_frombuf(buf, len, uio);
1367 struct uio *a_uio;
1386 struct uio *uio; local
1395 uio = ap->a_uio;
1400 if (uio->uio_offset < 0)
1449 if (entry.d_reclen > uio
[all...]
H A Dkern_cons.c65 #include <sys/uio.h>
H A Dsys_capability.c78 #include <sys/uio.h>
H A Duipc_shm.c64 #include <sys/uio.h>
196 uiomove_object_page(vm_object_t obj, size_t len, struct uio *uio) argument
203 idx = OFF_TO_IDX(uio->uio_offset);
204 offset = uio->uio_offset & PAGE_MASK;
219 if (uio->uio_rw == UIO_READ && m == NULL &&
222 return (uiomove(__DECONST(void *, zero_region), tlen, uio));
245 error = uiomove_fromphys(&m, offset, tlen, uio);
246 if (uio->uio_rw == UIO_WRITE && error == 0)
255 uiomove_object(vm_object_t obj, off_t obj_size, struct uio *ui argument
455 shm_read(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument
478 shm_write(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument
[all...]
H A Dkern_devctl.c51 #include <sys/uio.h>
254 devread(struct cdev *dev, struct uio *uio, int ioflag) argument
278 rv = uiomove(n1->dei_data, strlen(n1->dei_data), uio);
/freebsd-current/sys/dev/nvme/
H A Dnvme_ctrlr.c39 #include <sys/uio.h>
/freebsd-current/sys/compat/linux/
H A Dlinux_misc.c2450 struct uio uio; local
2462 uio.uio_iov = &iov;
2463 uio.uio_iovcnt = 1;
2464 uio.uio_resid = iov.iov_len;
2465 uio.uio_segflg = UIO_USERSPACE;
2466 uio.uio_rw = UIO_READ;
2467 uio.uio_td = td;
2469 error = read_random_uio(&uio, args->flags & LINUX_GRND_NONBLOCK);
2471 td->td_retval[0] = args->count - uio
[all...]
H A Dlinux_file.c1021 struct uio *auio;
1048 struct uio *auio;
1864 struct uio *auio;
/freebsd-current/sys/compat/linprocfs/
H A Dlinprocfs.c80 #include <sys/uio.h>
1328 if (uio->uio_rw != UIO_READ)
1446 resid = uio->uio_resid;
1449 if (uio->uio_rw == UIO_READ && resid != uio->uio_resid)
2024 if (uio->uio_resid == 0)
2026 if (uio->uio_offset < 0 || uio->uio_resid < 0)
2036 resid = sbuf_len(asb) - uio->uio_offset;
2037 if (resid > uio
[all...]
/freebsd-current/sys/cam/ctl/
H A Dctl_ha.c47 #include <sys/uio.h>
211 struct uio uio; local
237 uio.uio_iov = &iov;
238 uio.uio_iovcnt = 1;
239 uio.uio_rw = UIO_READ;
240 uio.uio_segflg = UIO_SYSSPACE;
241 uio.uio_td = curthread;
242 uio.uio_resid = sizeof(wire_hdr);
244 error = soreceive(softc->ha_so, NULL, &uio, NUL
632 struct uio uio; local
[all...]
/freebsd-current/sys/vm/
H A Dvnode_pager.c762 struct uio auio;
1377 struct uio auio;
/freebsd-current/sys/fs/fuse/
H A Dfuse_vnops.c70 #include <sys/uio.h>
592 struct uio io;
857 struct uio io;
952 * No need to call vn_rlimit_fsizex_res before return, since the uio is
1809 "struct uio*", "struct ucred*");
1813 struct uio *a_uio;
1822 struct uio *uio = ap->a_uio; local
1850 SDT_PROBE3(fusefs, , vnops, filehandles_closed, vp, uio, cred);
1869 err = fuse_read_directbackend(vp, uio, cre
1895 struct uio *uio = ap->a_uio; local
1979 struct uio *uio = ap->a_uio; local
2436 struct uio *uio = ap->a_uio; local
2587 struct uio *uio = ap->a_uio; local
2674 struct uio *uio = ap->a_uio; local
2836 struct uio *uio = ap->a_uio; local
[all...]
H A Dfuse_vfsops.c72 #include <sys/uio.h>
H A Dfuse_node.c71 #include <sys/uio.h>
/freebsd-current/sys/dev/sound/pcm/
H A Dsndstat.c214 sndstat_read(struct cdev *i_dev, struct uio *buf, int flag)
252 sndstat_write(struct cdev *i_dev, struct uio *buf, int flag)
H A Ddsp.c500 dsp_io_ops(struct dsp_cdevpriv *priv, struct uio *buf)
504 int (*chn_io)(struct pcm_channel *, struct uio *);
530 panic("invalid/corrupted uio direction: %d", buf->uio_rw);
574 dsp_read(struct cdev *i_dev, struct uio *buf, int flag)
585 dsp_write(struct cdev *i_dev, struct uio *buf, int flag)
H A Dchannel.c457 chn_write(struct pcm_channel *c, struct uio *buf)
587 chn_read(struct pcm_channel *c, struct uio *buf)
/freebsd-current/sys/geom/eli/
H A Dg_eli.c47 #include <sys/uio.h>
/freebsd-current/sys/fs/nfsclient/
H A Dnfs_clbio.c72 static int nfs_directio_write(struct vnode *vp, struct uio *uiop,
117 struct uio uio; local
191 uio.uio_iov = &iov;
192 uio.uio_iovcnt = 1;
193 uio.uio_offset = IDX_TO_OFF(pages[0]->pindex);
194 uio.uio_resid = count;
195 uio.uio_segflg = UIO_SYSSPACE;
196 uio.uio_rw = UIO_READ;
197 uio
265 struct uio uio; local
433 ncl_bioread(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred) argument
738 struct uio uio; local
802 struct uio *uio = ap->a_uio; local
1528 struct uio uio; local
[all...]
/freebsd-current/sys/dev/cxgbe/tom/
H A Dt4_ddp.c47 #include <sys/uio.h>
2510 struct uio uio; local
2519 uio.uio_iov = iov;
2520 uio.uio_iovcnt = 1;
2521 uio.uio_offset = 0;
2522 uio.uio_resid = iov[0].iov_len;
2523 uio.uio_segflg = UIO_SYSSPACE;
2524 uio.uio_rw = UIO_WRITE;
2527 uio
[all...]

Completed in 222 milliseconds

1234567891011>>