Searched refs:uio (Results 76 - 100 of 710) sorted by relevance

1234567891011>>

/freebsd-current/sys/opencrypto/
H A Dktls_ocf.c40 #include <sys/uio.h>
279 struct uio *uio; local
294 uio = &state->uio;
337 uio->uio_iov = iov;
338 uio->uio_iovcnt = m->m_epg_npgs + 2;
339 uio->uio_offset = 0;
340 uio->uio_segflg = UIO_SYSSPACE;
341 uio
443 struct uio uio; local
552 struct uio *uio; local
790 struct uio *uio; local
[all...]
/freebsd-current/lib/libc/stdio/
H A Dfvwrite.c48 __sfvwrite(FILE *fp, struct __suio *uio) argument
57 if (uio->uio_resid == 0)
66 iov = uio->uio_iov;
88 } while ((uio->uio_resid -= w) != 0);
150 } while ((uio->uio_resid -= w) != 0);
194 } while ((uio->uio_resid -= w) != 0);
/freebsd-current/sys/fs/smbfs/
H A Dsmbfs_node.h85 struct uio;
96 int smbfs_readvnode(struct vnode *vp, struct uio *uiop, struct ucred *cred);
97 int smbfs_writevnode(struct vnode *vp, struct uio *uiop, struct ucred *cred, int ioflag);
/freebsd-current/sys/sys/
H A Drandom.h36 struct uio;
57 extern int (*_read_random_uio)(struct uio *, bool);
64 int read_random_uio(struct uio *, bool);
H A Daio.h28 #include <sys/uio.h>
153 struct uio uio; /* (*) storage for non-vectored uio */ member in struct:kaiocb
154 struct iovec iov[1]; /* (*) storage for non-vectored uio */
155 struct uio *uiop; /* (*) Possibly malloced uio */
H A Dmsan.h53 struct uio;
73 void kmsan_check_uio(const struct uio *, const char *);
H A Dttyqueue.h42 struct uio;
74 int ttyinq_read_uio(struct ttyinq *ti, struct tty *tp, struct uio *uio,
143 int ttyoutq_read_uio(struct ttyoutq *to, struct tty *tp, struct uio *uio);
/freebsd-current/contrib/wpa/src/utils/
H A Dincludes.h41 #include <sys/uio.h>
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dsunddi.h28 #include <sys/uio.h>
/freebsd-current/crypto/openssh/
H A Dauth2-none.c30 #include <sys/uio.h>
/freebsd-current/sys/fs/cd9660/
H A Dcd9660_vnops.c200 struct uio auio;
273 struct uio *uio = ap->a_uio; local
288 if (uio->uio_resid == 0)
290 if (uio->uio_offset < 0)
294 lbn = lblkno(imp, uio->uio_offset);
295 on = blkoff(imp, uio->uio_offset);
296 n = MIN(imp->logical_block_size - on, uio->uio_resid);
297 diff = (off_t)ip->i_size - uio->uio_offset;
307 lbn, size, NOCRED, uio
340 struct uio *uio; member in struct:isoreaddir
431 struct uio *uio = ap->a_uio; local
626 struct uio *uio; local
[all...]
/freebsd-current/sys/netsmb/
H A Dsmb_smb.c41 #include <sys/uio.h>
622 struct uio *uio, struct smb_cred *scred)
641 mb_put_uint32le(mbp, uio->uio_offset);
647 mb_put_uint32le(mbp, uio->uio_offset >> 32); /* OffsetHigh */
692 error = md_get_uio(mdp, uio, resid);
703 struct uio *uio, struct smb_cred *scred)
721 mb_put_uint32le(mbp, uio->uio_offset);
729 mb_put_uint32le(mbp, uio
621 smb_smb_readx(struct smb_share *ssp, u_int16_t fid, int *len, int *rresid, struct uio *uio, struct smb_cred *scred) argument
702 smb_smb_writex(struct smb_share *ssp, u_int16_t fid, int *len, int *rresid, struct uio *uio, struct smb_cred *scred) argument
759 smb_smb_read(struct smb_share *ssp, u_int16_t fid, int *len, int *rresid, struct uio *uio, struct smb_cred *scred) argument
817 smb_read(struct smb_share *ssp, u_int16_t fid, struct uio *uio, struct smb_cred *scred) argument
838 smb_smb_write(struct smb_share *ssp, u_int16_t fid, int *len, int *rresid, struct uio *uio, struct smb_cred *scred) argument
892 smb_write(struct smb_share *ssp, u_int16_t fid, struct uio *uio, struct smb_cred *scred) argument
[all...]
/freebsd-current/sys/dev/pbio/
H A Dpbio.c47 #include <sys/uio.h>
354 pbioread(struct cdev *dev, struct uio *uio, int ioflag) argument
365 while (uio->uio_resid > 0) {
366 toread = min(uio->uio_resid, PBIO_BUFSIZ);
367 if ((err = uiomove(scp->pd[port].buff, toread, uio)) != 0)
382 pbiowrite(struct cdev *dev, struct uio *uio, int ioflag) argument
393 while (uio->uio_resid > 0) {
394 towrite = min(uio
[all...]
/freebsd-current/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c536 struct uio *uio = ap->a_uio; local
541 orig_resid = uio->uio_resid;
547 * uio->uio_offset >= 0 and uio->uio_resid >= 0.
557 if (uio->uio_offset >= dep->de_FileSize)
559 lbn = de_cluster(pmp, uio->uio_offset);
562 on = uio->uio_offset & pmp->pm_crbomask;
581 NOCRED, on + uio->uio_resid, seqcount, 0, &bp);
594 n = diff > uio
626 struct uio *uio = ap->a_uio; local
1522 struct uio *uio = ap->a_uio; local
[all...]
/freebsd-current/sys/dev/nvdimm/
H A Dnvdimm_spa.c51 #include <sys/uio.h>
190 nvdimm_spa_uio(struct nvdimm_spa_dev *dev, struct uio *uio) argument
203 while (uio->uio_resid > 0) {
204 if (uio->uio_offset >= dev->spa_len)
206 off = dev->spa_phys_base + uio->uio_offset;
209 if (n > uio->uio_resid)
210 n = uio->uio_resid;
211 error = uiomove_fromphys(&ma, off & PAGE_MASK, n, uio);
216 while (uio
234 nvdimm_spa_rw(struct cdev *dev, struct uio *uio, int ioflag) argument
[all...]
/freebsd-current/sys/fs/autofs/
H A Dautofs_vnops.c348 autofs_readdir_one(struct uio *uio, const char *name, int fileno, argument
360 if (uio == NULL)
363 if (uio->uio_resid < reclen)
367 dirent.d_off = uio->uio_offset + reclen;
373 error = uiomove(&dirent, reclen, uio);
394 struct uio *uio; local
402 uio = ap->a_uio;
421 if (uio
[all...]
/freebsd-current/sys/kern/
H A Dsys_getrandom.c36 #include <sys/uio.h>
51 struct uio auio;
H A Dsys_pipe.c114 #include <sys/uio.h>
232 static int pipe_build_write_buffer(struct pipe *wpipe, struct uio *uio);
234 static int pipe_direct_write(struct pipe *wpipe, struct uio *uio);
711 pipe_read(struct file *fp, struct uio *uio, struct ucred *active_cred, argument
731 if (__predict_false(uio->uio_resid == 0))
761 while (uio->uio_resid) {
769 if (size > uio
910 pipe_build_write_buffer(struct pipe *wpipe, struct uio *uio) argument
977 struct uio uio; local
1017 pipe_direct_write(struct pipe *wpipe, struct uio *uio) argument
1100 pipe_write(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument
[all...]
H A Dsys_eventfd.c46 #include <sys/uio.h>
144 eventfd_read(struct file *fp, struct uio *uio, struct ucred *active_cred, argument
151 if (uio->uio_resid < sizeof(eventfd_t))
178 error = uiomove(&count, sizeof(eventfd_t), uio);
186 eventfd_write(struct file *fp, struct uio *uio, struct ucred *active_cred, argument
193 if (uio->uio_resid < sizeof(eventfd_t))
196 error = uiomove(&count, sizeof(eventfd_t), uio);
209 uio
[all...]
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dzfs_vnops.c209 * uio - structure supplying read location, range info,
215 * OUT: uio - updated offset and range, buffer filled.
223 zfs_read(struct znode *zp, zfs_uio_t *uio, int ioflag, cred_t *cr) argument
247 if (zfs_uio_offset(uio) < (offset_t)0) {
255 if (zfs_uio_resid(uio) == 0) {
279 zfs_uio_offset(uio), zfs_uio_resid(uio), RL_READER);
285 if (zfs_uio_offset(uio) >= zp->z_size) {
290 ASSERT(zfs_uio_offset(uio) < zp->z_size);
292 ssize_t start_offset = zfs_uio_offset(uio);
420 zfs_write(znode_t *zp, zfs_uio_t *uio, int ioflag, cred_t *cr) argument
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dfpclone.sh82 #include <sys/uio.h>
139 fpclone_read(struct cdev *dev, struct uio *uio, int ioflag)
149 while (uio->uio_resid > 0) {
151 amnt = MIN(uio->uio_resid, sizeof(rdata) - svpos);
152 rv = uiomove(rdata + svpos, amnt, uio);
/freebsd-current/sys/ufs/ufs/
H A Dufs_extattr.c92 const char *name, struct uio *uio, size_t *size,
95 const char *name, struct uio *uio, struct ucred *cred,
373 struct uio auio;
597 struct uio auio;
816 INOUT struct uio *a_uio;
842 struct uio *uio, size_t *size, struct ucred *cred, struct thread *td)
847 struct uio local_ai
841 ufs_extattr_get(struct vnode *vp, int attrnamespace, const char *name, struct uio *uio, size_t *size, struct ucred *cred, struct thread *td) argument
1043 ufs_extattr_set(struct vnode *vp, int attrnamespace, const char *name, struct uio *uio, struct ucred *cred, struct thread *td) argument
[all...]
/freebsd-current/sys/dev/hyperv/hvsock/
H A Dhv_sock.c46 #include <sys/uio.h>
133 struct uio *uio, uint32_t to_write, struct sockbuf *sb);
612 struct uio *uio; member in struct:hvs_callback_arg
618 struct uio *uio, struct mbuf **mp0, struct mbuf **controlp, int *flagsp)
644 if (uio->uio_resid == 0 || uio->uio_rw != UIO_READ)
647 orig_resid = uio
617 hvs_trans_soreceive(struct socket *so, struct sockaddr **paddr, struct uio *uio, struct mbuf **mp0, struct mbuf **controlp, int *flagsp) argument
782 hvs_trans_sosend(struct socket *so, struct sockaddr *addr, struct uio *uio, struct mbuf *top, struct mbuf *controlp, int flags, struct thread *td) argument
1145 struct uio *uio = arg->uio; local
1174 hvsock_send_data(struct vmbus_channel *chan, struct uio *uio, uint32_t to_write, struct sockbuf *sb) argument
[all...]
/freebsd-current/sys/fs/ext2fs/
H A Dext2_extattr.c192 struct uio *uio, size_t *size)
248 if (uio != NULL) {
252 error = uiomove(name, name_len + 1, uio);
266 struct uio *uio, size_t *size)
315 if (uio != NULL) {
319 error = uiomove(name, name_len + 1, uio);
333 const char *name, struct uio *uio, size_
191 ext2_extattr_inode_list(struct inode *ip, int attrnamespace, struct uio *uio, size_t *size) argument
265 ext2_extattr_block_list(struct inode *ip, int attrnamespace, struct uio *uio, size_t *size) argument
332 ext2_extattr_inode_get(struct inode *ip, int attrnamespace, const char *name, struct uio *uio, size_t *size) argument
407 ext2_extattr_block_get(struct inode *ip, int attrnamespace, const char *name, struct uio *uio, size_t *size) argument
827 ext2_extattr_set_exist_entry(char *off, struct ext2fs_extattr_entry *first_entry, struct ext2fs_extattr_entry *entry, char *end, struct uio *uio) argument
848 ext2_extattr_set_new_entry(char *off, struct ext2fs_extattr_entry *first_entry, const char *name, int attrnamespace, char *end, struct uio *uio) argument
902 ext2_extattr_inode_set(struct inode *ip, int attrnamespace, const char *name, struct uio *uio) argument
1063 ext2_extattr_block_set(struct inode *ip, int attrnamespace, const char *name, struct uio *uio) argument
[all...]
/freebsd-current/sys/dev/beri/virtio/network/
H A Dif_vtbe.c54 #include <sys/uio.h>
148 struct uio uio; local
197 uio.uio_resid = len;
198 uio.uio_iov = &tiov[1];
199 uio.uio_segflg = UIO_SYSSPACE;
200 uio.uio_iovcnt = 1;
201 uio.uio_offset = 0;
202 uio.uio_rw = UIO_READ;
204 error = m_mbuftouio(&uio,
389 struct uio uio; local
[all...]

Completed in 170 milliseconds

1234567891011>>