/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | xti_wrappers.c | 191 _xti_rcvv(int fd, struct t_iovec *tiov, unsigned int tiovcount, int *flags) in _xti_rcvv() argument 193 return (_tx_rcvv(fd, tiov, tiovcount, flags, TX_XTI_XNS5_API)); in _xti_rcvv() 198 unsigned int tiovcount, int *flags) in _xti_rcvvudata() argument 200 return (_tx_rcvvudata(fd, unitdata, tiov, tiovcount, flags, in _xti_rcvvudata() 242 _xti_sndv(int fd, const struct t_iovec *tiov, unsigned int tiovcount, int flags) in _xti_sndv() argument 244 return (_tx_sndv(fd, tiov, tiovcount, flags, TX_XTI_XNS5_API)); in _xti_sndv() 249 unsigned int tiovcount) in _xti_sndvudata() argument 251 return (_tx_sndvudata(fd, unitdata, tiov, tiovcount, TX_XTI_XNS5_API)); in _xti_sndvudata()
|
H A D | t_sndv.c | 48 _tx_sndv(int fd, const struct t_iovec *tiov, unsigned int tiovcount, in _tx_sndv() argument 77 if (tiovcount == 0 || tiovcount > T_IOV_MAX) { in _tx_sndv() 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 | 53 unsigned int tiovcount, in _tx_rcvvudata() argument 71 if (tiovcount == 0 || tiovcount > T_IOV_MAX) { in _tx_rcvvudata() 114 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); in _tx_rcvvudata() 207 _t_scatter(&databuf, tiov, tiovcount); in _tx_rcvvudata() 250 _t_scatter(&databuf, tiov, tiovcount); in _tx_rcvvudata()
|
H A D | t_sndvudata.c | 51 unsigned int tiovcount, int api_semantics) in _tx_sndvudata() argument 74 if (tiovcount == 0 || tiovcount > T_IOV_MAX) { in _tx_sndvudata() 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 | 48 _tx_rcvv(int fd, struct t_iovec *tiov, unsigned int tiovcount, int *flags, in _tx_rcvv() argument 73 if (tiovcount == 0 || tiovcount > T_IOV_MAX) { in _tx_rcvv() 169 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); in _tx_rcvv() 262 _t_scatter(&databuf, tiov, tiovcount); in _tx_rcvv() 389 _t_scatter(&databuf, tiov, tiovcount); in _tx_rcvv()
|
H A D | _utility.c | 1491 _t_bytecount_upto_intmax(const struct t_iovec *tiov, unsigned int tiovcount) in _t_bytecount_upto_intmax() argument 1497 for (i = 0; i < tiovcount && nbytes < INT_MAX; i++) { 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() 1530 for (i = 0; i < tiovcount && nbytes_remaining != 0; i++) { 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() 1560 for (i = 0; i < tiovcount && nbytes_remaining != 0; i++) { in _t_scatter() 1607 _t_copy_tiov_to_iov(const struct t_iovec *tiov, int tiovcount, in _t_copy_tiov_to_iov() argument 1613 nbytes_remaining = _t_bytecount_upto_intmax(tiov, tiovcount); in _t_copy_tiov_to_iov() [all …]
|