Lines Matching refs:tiptr
57 struct _ti_user *tiptr; in _tx_accept() local
64 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_accept()
76 sig_mutex_lock(&tiptr->ti_lock); in _tx_accept()
78 if (tiptr->ti_servtype == T_CLTS) { in _tx_accept()
80 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
98 if ((fd == resfd && tiptr->ti_state != T_INCON) || in _tx_accept()
100 ((tiptr->ti_state != T_INCON) || in _tx_accept()
104 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
119 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
124 if (fd == resfd && tiptr->ti_ocnt > 1) { in _tx_accept()
126 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
152 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
159 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
169 if (_t_acquire_ctlbuf(tiptr, &ctlbuf, &didalloc) < 0) { in _tx_accept()
171 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
182 if (_t_is_event(fd, tiptr) < 0) in _tx_accept()
217 if ((tiptr->ti_cdatasize == T_INVALID /* -2 */) || in _tx_accept()
218 ((tiptr->ti_cdatasize != T_INFINITE /* -1 */) && in _tx_accept()
219 (call->udata.len > (uint32_t)tiptr->ti_cdatasize))) { in _tx_accept()
273 if (_t_is_ok(fd, tiptr, conn_res_prim) < 0) { in _tx_accept()
289 if (tiptr->ti_ocnt == 1) { in _tx_accept()
291 _T_TX_NEXTSTATE(T_ACCEPT1, tiptr, in _tx_accept()
294 _T_TX_NEXTSTATE(T_ACCEPT2, tiptr, in _tx_accept()
311 _T_TX_NEXTSTATE(T_ACCEPT3, tiptr, in _tx_accept()
321 tiptr->ti_ocnt--; in _tx_accept()
322 tiptr->ti_flags &= ~TX_TQFULL_NOTIFIED; in _tx_accept()
340 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_accept()
341 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
350 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_accept()
351 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()