Lines Matching refs:tiptr

58 	struct _ti_user *tiptr;  in _tx_rcvrel()  local
64 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_rcvrel()
66 sig_mutex_lock(&tiptr->ti_lock); in _tx_rcvrel()
68 if (tiptr->ti_servtype != T_COTS_ORD) { in _tx_rcvrel()
70 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
79 if (!(tiptr->ti_state == T_DATAXFER || in _tx_rcvrel()
80 tiptr->ti_state == T_OUTREL)) { in _tx_rcvrel()
82 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
87 if ((retval = _t_look_locked(fd, tiptr, 0, api_semantics)) < 0) { in _tx_rcvrel()
89 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
100 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
104 if ((tiptr->ti_lookcnt > 0) && in _tx_rcvrel()
106 (*((t_scalar_t *)tiptr->ti_lookbufs.tl_lookcbuf) == T_ORDREL_IND)) { in _tx_rcvrel()
111 _t_free_looklist_head(tiptr); in _tx_rcvrel()
112 _T_TX_NEXTSTATE(T_RCVREL, tiptr, in _tx_rcvrel()
114 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
119 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
131 if (_t_acquire_ctlbuf(tiptr, &ctlbuf, &didalloc) < 0) { in _tx_rcvrel()
133 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
141 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { in _tx_rcvrel()
146 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_rcvrel()
147 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
191 if (_t_register_lookevent(tiptr, databuf.buf, in _tx_rcvrel()
207 _T_TX_NEXTSTATE(T_RCVREL, tiptr, in _tx_rcvrel()
213 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_rcvrel()
217 tiptr->ti_rcvbuf = databuf.buf; in _tx_rcvrel()
218 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
227 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_rcvrel()
231 tiptr->ti_rcvbuf = databuf.buf; in _tx_rcvrel()
232 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()