Home
last modified time | relevance | path

Searched refs:iovp (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dmove.c244 struct iovec *iovp; in ureadc() local
259 iovp = uiop->uio_iov; in ureadc()
260 if (iovp->iov_len <= 0) { in ureadc()
280 if (copyout(&c, iovp->iov_base, sizeof (unsigned char))) in ureadc()
285 *iovp->iov_base = c; in ureadc()
295 iovp->iov_base++; in ureadc()
296 iovp->iov_len--; in ureadc()
311 struct iovec *iovp; in uwritec() local
324 iovp = uiop->uio_iov; in uwritec()
325 if (iovp->iov_len <= 0) { in uwritec()
[all …]
/titanic_41/usr/src/uts/common/crypto/io/
H A Darcfour.c338 iovec_t *iovp = &(uiop->uio_iov[vec_idx]); in rc4_crypt_update() local
340 cur_len = MIN(iovp->iov_len - offset, length); in rc4_crypt_update()
342 start = (uchar_t *)(iovp->iov_base + offset); in rc4_crypt_update()
455 iovec_t *iovp = &(uiop->uio_iov[vec_idx]); in rc4_crypt_update() local
456 cur_len = MIN(iovp->iov_len - offset, length); in rc4_crypt_update()
458 start = (uchar_t *)(iovp->iov_base + offset); in rc4_crypt_update()
612 iovec_t *iovp = &(uiop->uio_iov[vec_idx]); in crypto_arcfour_crypt() local
613 cur_len = MIN(iovp->iov_len - offset, len); in crypto_arcfour_crypt()
615 start = (uchar_t *)(iovp->iov_base + offset); in crypto_arcfour_crypt()
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_util.c159 struct iovec *iovp; in smb_mbuf_allocate() local
164 iovp = uio->uio_iov; in smb_mbuf_allocate()
184 iovp->iov_base = m->m_data; in smb_mbuf_allocate()
185 iovp->iov_len = m->m_len = count; in smb_mbuf_allocate()
187 iovp++; in smb_mbuf_allocate()
/titanic_41/usr/src/uts/common/syscall/
H A Drw.c619 readv(int fdes, struct iovec *iovp, int iovcnt) in readv() argument
646 if (copyin(iovp, aiov32, iovcnt * sizeof (struct iovec32))) in readv()
661 if (copyin(iovp, aiov, iovcnt * sizeof (struct iovec))) in readv()
777 writev(int fdes, struct iovec *iovp, int iovcnt) in writev() argument
804 if (copyin(iovp, aiov32, iovcnt * sizeof (struct iovec32))) in writev()
819 if (copyin(iovp, aiov, iovcnt * sizeof (struct iovec))) in writev()
926 preadv(int fdes, struct iovec *iovp, int iovcnt, off_t offset, in preadv() argument
968 if (copyin(iovp, aiov32, iovcnt * sizeof (struct iovec32))) in preadv()
983 if (copyin(iovp, aiov, iovcnt * sizeof (struct iovec))) in preadv()
1108 pwritev(int fdes, struct iovec *iovp, int iovcnt, off_t offset, in pwritev() argument
[all …]
/titanic_41/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_disk.c458 iovec_t *iovp; in _nsc_dbuf_io() local
515 iovp = &h->db_iov[destidx]; in _nsc_dbuf_io()
521 iovp->iov_base = (caddr_t)vp->sv_addr + firstentryfix; in _nsc_dbuf_io()
523 iovp->iov_len = (size_t)truedo; in _nsc_dbuf_io()
525 bzero(iovp->iov_base, iovp->iov_len); in _nsc_dbuf_io()
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dvfprintf.c185 register struct sm_iov *iovp;/* for PRINT macro */ local
223 iovp->iov_base = (ptr); \
224 iovp->iov_len = (len); \
226 iovp++; \
231 iovp = iov; \
250 iovp = iov; \
330 uio.uio_iov = iovp = iov;
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_srv.c928 struct iovec *iovp; in rfs_write_sync() local
1062 iovp = iov; in rfs_write_sync()
1067 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEEP); in rfs_write_sync()
1069 mblk_to_iov(wa->wa_mblk, iovcnt, iovp); in rfs_write_sync()
1070 uio.uio_iov = iovp; in rfs_write_sync()
1098 if (iovp != iov) in rfs_write_sync()
1099 kmem_free(iovp, sizeof (*iovp) * iovcnt); in rfs_write_sync()
1185 struct iovec *iovp; in rfs_write() local
1527 iovp = niovp; in rfs_write()
1533 iovp->iov_base = in rfs_write()
[all …]
H A Dnfs_server.c2633 mblk_to_iov(mblk_t *m, int cnt, struct iovec *iovp) in mblk_to_iov() argument
2636 iovp->iov_base = (caddr_t)m->b_rptr; in mblk_to_iov()
2637 iovp->iov_len = (m->b_wptr - m->b_rptr); in mblk_to_iov()
2638 iovp++; in mblk_to_iov()
3341 struct iovec *iovp; in uio_to_mblk() local
3349 iovp = uiop->uio_iov; in uio_to_mblk()
3350 mp = mp1 = esballoca((uchar_t *)iovp->iov_base, iovp->iov_len, in uio_to_mblk()
3354 mp->b_wptr += iovp->iov_len; in uio_to_mblk()
3358 iovp = (uiop->uio_iov + i); in uio_to_mblk()
3361 (uchar_t *)iovp->iov_base, iovp->iov_len, BPRI_MED, in uio_to_mblk()
[all …]
H A Dnfs3_srv.c923 struct iovec iov, *iovp = NULL; in rfs3_read() local
1125 mp = rfs_read_alloc(args->count, &iovp, &iovcnt); in rfs3_read()
1126 uio.uio_iov = iovp; in rfs3_read()
1200 if (iovp != NULL) in rfs3_read()
1201 kmem_free(iovp, iovcnt * sizeof (struct iovec)); in rfs3_read()
1224 if (iovp != NULL) in rfs3_read()
1225 kmem_free(iovp, iovcnt * sizeof (struct iovec)); in rfs3_read()
1268 struct iovec *iovp; in rfs3_write() local
1385 iovp = iov; in rfs3_write()
1390 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEEP); in rfs3_write()
[all …]
H A Dnfs_log.c775 struct iovec *iovp; in nfslog_write_logrecords() local
790 iovp = (struct iovec *)kmem_alloc(size_iovecs, KM_NOSLEEP); in nfslog_write_logrecords()
792 if (iovp == NULL) { in nfslog_write_logrecords()
802 iovp[i].iov_base = lrp->log_record; in nfslog_write_logrecords()
803 iovp[i].iov_len = lrp->size; in nfslog_write_logrecords()
811 uio.uio_iov = iovp; in nfslog_write_logrecords()
848 kmem_free(iovp, size_iovecs); in nfslog_write_logrecords()
H A Dnfs4_srv.c3159 struct iovec iov, *iovp = NULL; in rfs4_op_read() local
3331 mp = rfs_read_alloc(args->count, &iovp, &iovcnt); in rfs4_op_read()
3334 uio.uio_iov = iovp; in rfs4_op_read()
3393 if (iovp != NULL) in rfs4_op_read()
3394 kmem_free(iovp, iovcnt * sizeof (struct iovec)); in rfs4_op_read()
5615 struct iovec *iovp; in rfs4_op_write() local
5725 iovp = iov; in rfs4_op_write()
5727 iovp = kmem_alloc(sizeof (*iovp) * iovcnt, KM_SLEEP); in rfs4_op_write()
5729 mblk_to_iov(args->mblk, iovcnt, iovp); in rfs4_op_write()
5732 iovp = iov; in rfs4_op_write()
[all …]
/titanic_41/usr/src/lib/libproc/common/
H A DPcontrol.c2218 priovec_t *iovp; in Psetbkpt() local
2230 iovp = (priovec_t *)ctlp; in Psetbkpt()
2231 iovp->pio_base = &old; in Psetbkpt()
2232 iovp->pio_len = sizeof (old); in Psetbkpt()
2233 iovp->pio_offset = address; in Psetbkpt()
2238 iovp = (priovec_t *)ctlp; in Psetbkpt()
2239 iovp->pio_base = &bpt; in Psetbkpt()
2240 iovp->pio_len = sizeof (bpt); in Psetbkpt()
2241 iovp->pio_offset = address; in Psetbkpt()
2321 priovec_t *iovp; in execute_bkpt() local
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_impl.h244 iovec_t *iovp; member
/titanic_41/usr/src/lib/libresolv2/common/isc/
H A Dctl_clnt.c296 struct iovec iov[2], *iovp = iov; in start_write() local
320 *iovp++ = evConsIovec(tran->outbuf.text, tran->outbuf.used); in start_write()
322 *iovp++ = evConsIovec(tmp, 2); in start_write()
323 if (evWrite(ctx->ev, ctx->sock, iov, iovp - iov, in start_write()
H A Dctl_srvr.c307 struct iovec iov[3], *iovp = iov; in ctl_response() local
340 *iovp++ = evConsIovec(sess->outbuf.text, sess->outbuf.used); in ctl_response()
344 *iovp++ = evConsIovec(tmp, bodylen); in ctl_response()
346 *iovp++ = evConsIovec(tmp, 3); in ctl_response()
350 if (evWrite(ctx->ev, sess->sock, iov, iovp - iov, in ctl_response()
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_cnode.c1719 struct vnode *iovp; in cnode_enable_caching() local
1728 iovp = NULL; in cnode_enable_caching()
1730 iovp = cp->c_backvp; in cnode_enable_caching()
1731 if (iovp) { in cnode_enable_caching()
1732 (void) VOP_PUTPAGE(iovp, (offset_t)0, in cnode_enable_caching()
/titanic_41/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c961 struct iovec *iovp; in auto_readdir() local
977 iovp = uiop->uio_iov; in auto_readdir()
978 alloc_count = iovp->iov_len; in auto_readdir()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c681 iovec_t *iovp = uio->uio_iov; in zfs_write() local
836 aiov = &iovp[i_iov]; in zfs_write()
2232 iovec_t *iovp; in zfs_readdir() local
2305 iovp = uio->uio_iov; in zfs_readdir()
2306 bytes_wanted = iovp->iov_len; in zfs_readdir()
2314 odp = (struct dirent64 *)iovp->iov_base; in zfs_readdir()
2468 iovp->iov_base += outcount; in zfs_readdir()
2469 iovp->iov_len -= outcount; in zfs_readdir()
H A Ddmu.c917 priv->iovp = uio->uio_iov; in dmu_xuio_init()
934 kmem_free(priv->iovp, nblk * sizeof (iovec_t)); in dmu_xuio_fini()
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_vnops.c3898 struct iovec *iovp; in ufs_readdir() local
3942 iovp = uiop->uio_iov; in ufs_readdir()
3943 total_bytes_wanted = iovp->iov_len; in ufs_readdir()
3971 odp = (struct dirent64 *)iovp->iov_base; in ufs_readdir()
4075 iovp->iov_base += outcount; in ufs_readdir()
4076 iovp->iov_len -= outcount; in ufs_readdir()
/titanic_41/usr/src/uts/common/fs/dev/
H A Dsdev_subr.c2436 struct iovec *iovp; in devname_readdir_func() local
2470 iovp = uiop->uio_iov; in devname_readdir_func()
2471 alloc_count = iovp->iov_len; in devname_readdir_func()
/titanic_41/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c1103 struct iovec *iovp; in udf_readdir() local
1130 iovp = uiop->uio_iov; in udf_readdir()
1131 bufsize = iovp->iov_len; in udf_readdir()