/titanic_50/usr/src/lib/libnsl/nsl/ |
H A D | t_rcvuderr.c | 48 _tx_rcvuderr(int fd, struct t_uderr *uderr, int api_semantics) in _tx_rcvuderr() argument 149 if (uderr) { in _tx_rcvuderr() 150 if (_T_IS_TLI(api_semantics) || uderr->addr.maxlen > 0) { in _tx_rcvuderr() 152 uderr->addr.maxlen)) { in _tx_rcvuderr() 156 (void) memcpy(uderr->addr.buf, ctlbuf.buf + in _tx_rcvuderr() 159 uderr->addr.len = in _tx_rcvuderr() 162 if (_T_IS_TLI(api_semantics) || uderr->addr.maxlen > 0) { in _tx_rcvuderr() 164 uderr->opt.maxlen)) { in _tx_rcvuderr() 168 (void) memcpy(uderr->opt.buf, ctlbuf.buf + in _tx_rcvuderr() 171 uderr->opt.len = in _tx_rcvuderr() [all …]
|
H A D | t_free.c | 50 struct t_uderr *uderr; in _tx_free() member 105 p.uderr = (struct t_uderr *)ptr; in _tx_free() 106 if (p.uderr->addr.buf != NULL) in _tx_free() 107 free(p.uderr->addr.buf); in _tx_free() 108 if (p.uderr->opt.buf != NULL) in _tx_free() 109 free(p.uderr->opt.buf); in _tx_free()
|
H A D | t_alloc.c | 63 struct t_uderr *uderr; in _tx_alloc() member 208 if ((p.uderr = calloc(1, sizeof (struct t_uderr))) == NULL) in _tx_alloc() 211 if (_alloc_buf(&p.uderr->addr, info.ADDR_size, in _tx_alloc() 222 if (_alloc_buf(&p.uderr->opt, optsize, in _tx_alloc() 227 return ((char *)p.uderr); in _tx_alloc()
|
H A D | tli_wrappers.c | 166 t_rcvuderr(int fd, struct t_uderr *uderr) in t_rcvuderr() argument 168 return (_tx_rcvuderr(fd, uderr, TX_TLI_API)); in t_rcvuderr()
|
H A D | xti_wrappers.c | 188 _xti_rcvuderr(int fd, struct t_uderr *uderr) in _xti_rcvuderr() argument 190 return (_tx_rcvuderr(fd, uderr, TX_XTI_API)); in _xti_rcvuderr()
|
/titanic_50/usr/src/uts/common/ktli/ |
H A D | t_kfree.c | 75 struct t_uderr *uderr; in t_kfree() member 146 p.uderr = (struct t_uderr *)ptr; in t_kfree() 147 if (p.uderr->addr.buf != NULL) in t_kfree() 148 kmem_free(p.uderr->addr.buf, p.uderr->addr.maxlen); in t_kfree() 149 if (p.uderr->opt.buf != NULL) in t_kfree() 150 kmem_free(p.uderr->opt.buf, p.uderr->opt.maxlen); in t_kfree()
|
H A D | t_kalloc.c | 78 struct t_uderr *uderr; in t_kalloc() member 151 p.uderr = kmem_zalloc(sizeof (struct t_uderr), KM_SLEEP); in t_kalloc() 153 _alloc_buf(&p.uderr->addr, tiptr->tp_info.addr); in t_kalloc() 155 _alloc_buf(&p.uderr->opt, tiptr->tp_info.options); in t_kalloc() 156 *ptr = (char *)p.uderr; in t_kalloc()
|
H A D | t_krcvudat.c | 72 t_krcvudata(TIUSER *tiptr, struct t_kunitdata *unitdata, int *type, int *uderr) in t_krcvudata() argument 87 if (type == NULL || uderr == NULL) in t_krcvudata() 271 *uderr = pptr->uderror_ind.ERROR_type; in t_krcvudata()
|
/titanic_50/usr/src/cmd/fm/eversholt/files/common/ |
H A D | disk.esc | 59 * The uderr fault will be defined at some future time. 60 * event fault.io.scsi.cmd.disk.dev.uderr@P; 69 event upset.io.scsi.cmd.disk.dev.uderr@P; 86 event ereport.io.scsi.cmd.disk.dev.uderr@P, discard_if_config_unknown=1; 138 * The uderr fault will be propagated at some future time. 139 * prop fault.io.scsi.cmd.disk.dev.uderr@P-> 140 * ereport.io.scsi.cmd.disk.dev.uderr@P{ DRIVER_ASSESSMENT_FATAL }; 161 prop upset.io.scsi.cmd.disk.dev.uderr@P-> 162 ereport.io.scsi.cmd.disk.dev.uderr@P;
|
/titanic_50/usr/src/lib/libnsl/rpc/ |
H A D | clnt_dg.c | 921 struct t_uderr *uderr; in _rcv_unitdata_err() local 925 uderr = (struct t_uderr *)t_alloc(cu->cu_fd, T_UDERROR, T_ADDR); in _rcv_unitdata_err() 927 if (t_rcvuderr(cu->cu_fd, uderr) == 0) { in _rcv_unitdata_err() 928 if (uderr == NULL) in _rcv_unitdata_err() 931 if (uderr->addr.len != cu->cu_raddr.len || in _rcv_unitdata_err() 932 (memcmp(uderr->addr.buf, cu->cu_raddr.buf, in _rcv_unitdata_err() 934 (void) t_free((char *)uderr, T_UDERROR); in _rcv_unitdata_err() 937 rpc_callerr.re_errno = uderr->error; in _rcv_unitdata_err() 939 (void) t_free((char *)uderr, T_UDERROR); in _rcv_unitdata_err() 943 if (uderr) in _rcv_unitdata_err() [all …]
|
/titanic_50/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_tbind.c | 879 static struct t_uderr *uderr = NULL; in do_poll_clts_action() local 913 if (uderr) { in do_poll_clts_action() 914 (void) t_free((char *)uderr, T_UDERROR); in do_poll_clts_action() 915 uderr = NULL; in do_poll_clts_action() 1037 if (uderr == NULL) { in do_poll_clts_action() 1039 uderr = (struct t_uderr *)t_alloc(fd, T_UDERROR, T_ALL); in do_poll_clts_action() 1040 if (uderr == NULL) { in do_poll_clts_action() 1061 ret = t_rcvuderr(fd, uderr); in do_poll_clts_action() 1068 errno = uderr->error; in do_poll_clts_action() 1084 ret = netdir_getbyaddr(nconf, &host, &uderr->addr); in do_poll_clts_action() [all …]
|
/titanic_50/usr/src/cmd/avs/rdc/ |
H A D | sndrd.c | 1324 static struct t_uderr *uderr = NULL; in do_poll_clts_action() local 1358 if (uderr) { in do_poll_clts_action() 1359 (void) t_free((char *)uderr, T_UDERROR); in do_poll_clts_action() 1360 uderr = NULL; in do_poll_clts_action() 1483 if (uderr == NULL) { in do_poll_clts_action() 1485 uderr = (struct t_uderr *)t_alloc(fd, T_UDERROR, T_ALL); in do_poll_clts_action() 1486 if (uderr == NULL) { in do_poll_clts_action() 1508 ret = t_rcvuderr(fd, uderr); in do_poll_clts_action() 1515 errno = uderr->error; in do_poll_clts_action() 1532 ret = netdir_getbyaddr(nconf, &host, &uderr->addr); in do_poll_clts_action() [all …]
|
/titanic_50/usr/src/uts/common/rpc/sec/ |
H A D | authdesubr.c | 90 int uderr; in rtime() local 157 error = t_krcvudata(tiptr, unitdata, &type, &uderr); in rtime()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | tiuser.h | 218 extern int t_rcvuderr(int fildes, struct t_uderr *uderr);
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs_dump.c | 365 int uderr; in nd_get_reply() local 377 if (error = t_krcvudata(tiptr, &rudata, &type, &uderr)) { in nd_get_reply()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | tl.c | 4910 struct T_uderror_ind *uderr; in tl_uderr() local 4938 uderr = (struct T_uderror_ind *)err_mp->b_rptr; in tl_uderr() 4939 uderr->PRIM_type = T_UDERROR_IND; in tl_uderr() 4940 uderr->ERROR_type = err; in tl_uderr() 4941 uderr->DEST_length = alen; in tl_uderr() 4942 uderr->OPT_length = olen; in tl_uderr() 4944 uderr->DEST_offset = 0; in tl_uderr() 4946 uderr->DEST_offset = in tl_uderr() 4949 bcopy(addr_startp, err_mp->b_rptr + uderr->DEST_offset, in tl_uderr() 4953 uderr->OPT_offset = 0; in tl_uderr() [all …]
|