Lines Matching refs:tiptr
56 struct _ti_user *tiptr; in _tx_rcvrel() local
62 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == 0) in _tx_rcvrel()
64 sig_mutex_lock(&tiptr->ti_lock); in _tx_rcvrel()
66 if (tiptr->ti_servtype != T_COTS_ORD) { in _tx_rcvrel()
68 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
77 if (!(tiptr->ti_state == T_DATAXFER || in _tx_rcvrel()
78 tiptr->ti_state == T_OUTREL)) { in _tx_rcvrel()
80 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
85 if ((retval = _t_look_locked(fd, tiptr, 0, api_semantics)) < 0) { in _tx_rcvrel()
87 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
98 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
102 if ((tiptr->ti_lookcnt > 0) && in _tx_rcvrel()
104 (*((t_scalar_t *)tiptr->ti_lookbufs.tl_lookcbuf) == T_ORDREL_IND)) { in _tx_rcvrel()
109 _t_free_looklist_head(tiptr); in _tx_rcvrel()
110 _T_TX_NEXTSTATE(T_RCVREL, tiptr, in _tx_rcvrel()
112 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
117 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
129 if (_t_acquire_ctlbuf(tiptr, &ctlbuf, &didalloc) < 0) { in _tx_rcvrel()
131 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
139 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { in _tx_rcvrel()
144 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_rcvrel()
145 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
189 if (_t_register_lookevent(tiptr, databuf.buf, in _tx_rcvrel()
205 _T_TX_NEXTSTATE(T_RCVREL, tiptr, in _tx_rcvrel()
211 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_rcvrel()
215 tiptr->ti_rcvbuf = databuf.buf; in _tx_rcvrel()
216 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()
225 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_rcvrel()
229 tiptr->ti_rcvbuf = databuf.buf; in _tx_rcvrel()
230 sig_mutex_unlock(&tiptr->ti_lock); in _tx_rcvrel()