/titanic_41/usr/src/lib/libnsl/nsl/ |
H A D | xti_wrappers.c | 194 _xti_rcvv(int fd, struct t_iovec *tiov, unsigned int tiovcount, int *flags) in _xti_rcvv() argument 196 return (_tx_rcvv(fd, tiov, tiovcount, flags, TX_XTI_XNS5_API)); in _xti_rcvv() 200 _xti_rcvvudata(int fd, struct t_unitdata *unitdata, struct t_iovec *tiov, in _xti_rcvvudata() argument 203 return (_tx_rcvvudata(fd, unitdata, tiov, tiovcount, flags, in _xti_rcvvudata() 245 _xti_sndv(int fd, const struct t_iovec *tiov, unsigned int tiovcount, int flags) in _xti_sndv() argument 247 return (_tx_sndv(fd, tiov, tiovcount, flags, TX_XTI_XNS5_API)); in _xti_sndv() 251 _xti_sndvudata(int fd, struct t_unitdata *unitdata, struct t_iovec *tiov, in _xti_sndvudata() argument 254 return (_tx_sndvudata(fd, unitdata, tiov, tiovcount, TX_XTI_XNS5_API)); in _xti_sndvudata()
|
H A D | _utility.c | 1491 _t_bytecount_upto_intmax(const struct t_iovec *tiov, unsigned int tiovcount) in _t_bytecount_upto_intmax() argument 1498 if (tiov[i].iov_len >= INT_MAX) { in _t_bytecount_upto_intmax() 1502 nbytes += tiov[i].iov_len; in _t_bytecount_upto_intmax() 1519 _t_gather(char *dataptr, const struct t_iovec *tiov, unsigned int tiovcount) in _t_gather() argument 1529 nbytes_remaining = _t_bytecount_upto_intmax(tiov, tiovcount); in _t_gather() 1531 if (tiov[i].iov_len <= nbytes_remaining) in _t_gather() 1532 cur_count = (int)tiov[i].iov_len; in _t_gather() 1535 (void) memcpy(curptr, tiov[i].iov_base, cur_count); in _t_gather() 1546 _t_scatter(struct strbuf *pdatabuf, struct t_iovec *tiov, int tiovcount) in _t_scatter() argument 1557 assert(pdatabuf->len <= _t_bytecount_upto_intmax(tiov, tiovcount)); in _t_scatter() [all …]
|
H A D | t_sndv.c | 48 _tx_sndv(int fd, const struct t_iovec *tiov, unsigned int tiovcount, in _tx_sndv() argument 112 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); in _tx_sndv() 181 _t_gather(dataptr, tiov, tiovcount); in _tx_sndv() 239 _t_copy_tiov_to_iov(tiov, tiovcount, iov, in _tx_sndv()
|
H A D | t_rcvvudata.c | 54 struct t_iovec *tiov, in _tx_rcvvudata() argument 116 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); in _tx_rcvvudata() 209 _t_scatter(&databuf, tiov, tiovcount); in _tx_rcvvudata() 252 _t_scatter(&databuf, tiov, tiovcount); in _tx_rcvvudata()
|
H A D | t_sndvudata.c | 50 _tx_sndvudata(int fd, const struct t_unitdata *unitdata, struct t_iovec *tiov, in _tx_sndvudata() argument 86 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); in _tx_sndvudata() 166 _t_gather(dataptr, tiov, tiovcount); in _tx_sndvudata()
|
H A D | t_rcvv.c | 50 _tx_rcvv(int fd, struct t_iovec *tiov, unsigned int tiovcount, int *flags, in _tx_rcvv() argument 171 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); in _tx_rcvv() 264 _t_scatter(&databuf, tiov, tiovcount); in _tx_rcvv() 391 _t_scatter(&databuf, tiov, tiovcount); in _tx_rcvv()
|
/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_scsi.c | 725 struct iovec *iov, *tiov, iov1[8]; in sbd_copy_rdwr() local 744 tiov = iov; in sbd_copy_rdwr() 746 tiov->iov_base = (caddr_t)dbuf->db_sglist[i].seg_addr; in sbd_copy_rdwr() 747 tiov->iov_len = MIN(resid, dbuf->db_sglist[i].seg_length); in sbd_copy_rdwr() 748 resid -= tiov->iov_len; in sbd_copy_rdwr() 749 tiov++; in sbd_copy_rdwr()
|
/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vnops.c | 2522 iovec_t tiov; /* temp iovec struct */ in ufs_readlink() local 2552 tiov.iov_len = size; in ufs_readlink() 2553 tiov.iov_base = kbuf; in ufs_readlink() 2554 tuio.uio_iov = &tiov; in ufs_readlink()
|