/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_ksndudat.c | 65 t_ksndudata(TIUSER *tiptr, struct t_kunitdata *unitdata, frtn_t *frtn) argument 77 msgsz = unitdata->udata.len; 83 ASSERT(unitdata->udata.udata_mp == NULL); 84 ASSERT(unitdata->udata.buf != NULL); 90 if ((dbp = (mblk_t *)esballoc((uchar_t *)unitdata->udata.buf, 99 } else if (unitdata->udata.buf) { 100 ASSERT(unitdata->udata.udata_mp == NULL); 105 bcopy(unitdata->udata.buf, dbp->b_wptr, unitdata->udata.len); 108 } else if (unitdata [all...] |
H A D | t_krcvudat.c | 49 * in which case uderr contains the unitdata 72 t_krcvudata(TIUSER *tiptr, struct t_kunitdata *unitdata, int *type, int *uderr) argument 91 unitdata->udata.buf = NULL; 93 if (unitdata->udata.udata_mp) { 95 freemsg(unitdata->udata.udata_mp); 96 unitdata->udata.udata_mp = NULL; 138 unitdata->addr.maxlen); 140 unitdata->addr.buf, len); 141 unitdata->addr.len = len; 144 unitdata [all...] |
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_rcvudata.c | 55 struct t_unitdata *unitdata, 120 if ((retval = getmsg(fd, &ctlbuf, (struct strbuf *)&unitdata->udata, 133 if (((struct strbuf *)&unitdata->udata)->len == -1) 134 unitdata->udata.len = 0; 141 unitdata->udata.len = 0; 159 unitdata->udata.len = 0; 165 unitdata->addr.maxlen > 0) { 167 unitdata->addr.maxlen)) { 169 unitdata->udata.len = 0; 172 (void) memcpy(unitdata 53 _tx_rcvudata( int fd, struct t_unitdata *unitdata, int *flags, int api_semantics ) argument [all...] |
H A D | t_sndudata.c | 51 _tx_sndudata(int fd, const struct t_unitdata *unitdata, int api_semantics) argument 82 if (((int)unitdata->udata.len == 0) && 90 (unitdata->udata.len > (uint32_t)tiptr->ti_maxpsz)) { 117 udreq->DEST_length = unitdata->addr.len; 119 udreq->OPT_length = unitdata->opt.len; 123 if (unitdata->addr.len) { 124 if (_t_aligned_copy(&ctlbuf, unitdata->addr.len, size, 125 unitdata->addr.buf, &udreq->DEST_offset) < 0) { 137 if (unitdata->opt.len) { 138 if (_t_aligned_copy(&ctlbuf, unitdata [all...] |
H A D | t_sndvudata.c | 50 _tx_sndvudata(int fd, const struct t_unitdata *unitdata, struct t_iovec *tiov, argument 118 udreq->DEST_length = unitdata->addr.len; 120 udreq->OPT_length = unitdata->opt.len; 124 if (unitdata->addr.len) { 125 if (_t_aligned_copy(&ctlbuf, unitdata->addr.len, size, 126 unitdata->addr.buf, &udreq->DEST_offset) < 0) { 138 if (unitdata->opt.len) { 139 if (_t_aligned_copy(&ctlbuf, unitdata->opt.len, size, 140 unitdata->opt.buf, &udreq->OPT_offset) < 0) {
|
H A D | xti_wrappers.c | 182 _xti_rcvudata(int fd, struct t_unitdata *unitdata, int *flags) argument 184 return (_tx_rcvudata(fd, unitdata, flags, TX_XTI_API)); 200 _xti_rcvvudata(int fd, struct t_unitdata *unitdata, struct t_iovec *tiov, argument 203 return (_tx_rcvvudata(fd, unitdata, tiov, tiovcount, flags, 239 _xti_sndudata(int fd, const struct t_unitdata *unitdata) argument 241 return (_tx_sndudata(fd, unitdata, TX_XTI_API)); 251 _xti_sndvudata(int fd, struct t_unitdata *unitdata, struct t_iovec *tiov, argument 254 return (_tx_sndvudata(fd, unitdata, tiov, tiovcount, TX_XTI_XNS5_API));
|
H A D | t_rcvvudata.c | 53 struct t_unitdata *unitdata, 172 if (unitdata->addr.maxlen > 0) { 174 unitdata->addr.maxlen)) { 178 (void) memcpy(unitdata->addr.buf, 181 unitdata->addr.len = 184 if (unitdata->opt.maxlen > 0) { 186 unitdata->opt.maxlen)) { 190 (void) memcpy(unitdata->opt.buf, ctlbuf.buf + 193 unitdata->opt.len = 234 unitdata 51 _tx_rcvvudata( int fd, struct t_unitdata *unitdata, struct t_iovec *tiov, unsigned int tiovcount, int *flags, int api_semantics ) argument [all...] |
H A D | tli_wrappers.c | 160 t_rcvudata(int fd, struct t_unitdata *unitdata, int *flags) argument 162 return (_tx_rcvudata(fd, unitdata, flags, TX_TLI_API)); 190 t_sndudata(int fd, struct t_unitdata *unitdata) argument 192 return (_tx_sndudata(fd, unitdata, TX_TLI_API));
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | authdesubr.c | 86 struct t_kunitdata *unitdata; local 114 T_UDATA|T_ADDR, (char **)&unitdata)) != 0) { 120 unitdata->addr.len = addrp->len; 121 bcopy(addrp->buf, unitdata->addr.buf, 122 unitdata->addr.len); 125 unitdata->udata.buf = (caddr_t)&dummy; 126 unitdata->udata.len = sizeof (dummy); 128 if ((error = t_ksndudata(tiptr, unitdata, NULL)) != 131 (void) t_kfree(tiptr, (char *)unitdata, 143 (void) t_kfree(tiptr, (char *)unitdata, [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | tiuser.h | 148 * unitdata error 217 extern int t_rcvudata(int fildes, struct t_unitdata *unitdata, int *flags); 222 extern int t_sndudata(int fildes, struct t_unitdata *unitdata);
|
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrd.c | 1323 static struct t_unitdata *unitdata = NULL; local 1354 if (unitdata) { 1355 (void) t_free((char *)unitdata, T_UNITDATA); 1356 unitdata = NULL; 1365 * Allocate a unitdata structure for receiving the event. 1367 if (unitdata == NULL) { 1369 unitdata = (struct t_unitdata *)t_alloc(fd, T_UNITDATA, T_ALL); 1370 if (unitdata == NULL) { 1409 ret = t_rcvudata(fd, unitdata, &flags); 1413 fd, nconf->nc_proto, unitdata [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_tbind.c | 878 static struct t_unitdata *unitdata = NULL; local 909 if (unitdata) { 910 (void) t_free((char *)unitdata, T_UNITDATA); 911 unitdata = NULL; 920 * Allocate a unitdata structure for receiving the event. 922 if (unitdata == NULL) { 924 unitdata = (struct t_unitdata *)t_alloc(fd, T_UNITDATA, T_ALL); 925 if (unitdata == NULL) { 963 ret = t_rcvudata(fd, unitdata, &flags); 967 fd, nconf->nc_proto, unitdata [all...] |