Lines Matching refs:tiptr
51 struct _ti_user *tiptr; in _tx_unbind() local
56 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_unbind()
64 if (tiptr->ti_state != T_IDLE) { in _tx_unbind()
77 sig_mutex_lock(&tiptr->ti_lock); in _tx_unbind()
83 if (_t_acquire_ctlbuf(tiptr, &ctlbuf, &didalloc) < 0) { in _tx_unbind()
85 sig_mutex_unlock(&tiptr->ti_lock); in _tx_unbind()
91 retval = _tx_unbind_locked(fd, tiptr, &ctlbuf); in _tx_unbind()
97 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_unbind()
98 sig_mutex_unlock(&tiptr->ti_lock); in _tx_unbind()
105 _tx_unbind_locked(int fd, struct _ti_user *tiptr, struct strbuf *ctlbufp) in _tx_unbind_locked() argument
110 if (_t_is_event(fd, tiptr) < 0) in _tx_unbind_locked()
130 tiptr->ti_flags &= ~(MORE|EXPEDITED); in _tx_unbind_locked()
132 _T_TX_NEXTSTATE(T_UNBIND, tiptr, in _tx_unbind_locked()