Lines Matching refs:tiptr
59 struct _ti_user *tiptr; in _tx_accept() local
66 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_accept()
78 sig_mutex_lock(&tiptr->ti_lock); in _tx_accept()
80 if (tiptr->ti_servtype == T_CLTS) { in _tx_accept()
82 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
100 if ((fd == resfd && tiptr->ti_state != T_INCON) || in _tx_accept()
102 ((tiptr->ti_state != T_INCON) || in _tx_accept()
106 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
121 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
126 if (fd == resfd && tiptr->ti_ocnt > 1) { in _tx_accept()
128 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
154 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
161 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
171 if (_t_acquire_ctlbuf(tiptr, &ctlbuf, &didalloc) < 0) { in _tx_accept()
173 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
184 if (_t_is_event(fd, tiptr) < 0) in _tx_accept()
219 if ((tiptr->ti_cdatasize == T_INVALID /* -2 */) || in _tx_accept()
220 ((tiptr->ti_cdatasize != T_INFINITE /* -1 */) && in _tx_accept()
221 (call->udata.len > (uint32_t)tiptr->ti_cdatasize))) { in _tx_accept()
275 if (_t_is_ok(fd, tiptr, conn_res_prim) < 0) { in _tx_accept()
291 if (tiptr->ti_ocnt == 1) { in _tx_accept()
293 _T_TX_NEXTSTATE(T_ACCEPT1, tiptr, in _tx_accept()
296 _T_TX_NEXTSTATE(T_ACCEPT2, tiptr, in _tx_accept()
313 _T_TX_NEXTSTATE(T_ACCEPT3, tiptr, in _tx_accept()
323 tiptr->ti_ocnt--; in _tx_accept()
324 tiptr->ti_flags &= ~TX_TQFULL_NOTIFIED; in _tx_accept()
342 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_accept()
343 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()
352 tiptr->ti_ctlbuf = ctlbuf.buf; in _tx_accept()
353 sig_mutex_unlock(&tiptr->ti_lock); in _tx_accept()