Lines Matching refs:tiptr
57 struct _ti_user *tiptr; in _tx_snd() local
64 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL) in _tx_snd()
66 sig_mutex_lock(&tiptr->ti_lock); in _tx_snd()
68 if (tiptr->ti_servtype == T_CLTS) { in _tx_snd()
70 sig_mutex_unlock(&tiptr->ti_lock); in _tx_snd()
79 if (! (tiptr->ti_state == T_DATAXFER || in _tx_snd()
80 tiptr->ti_state == T_INREL)) { in _tx_snd()
82 sig_mutex_unlock(&tiptr->ti_lock); in _tx_snd()
93 sig_mutex_unlock(&tiptr->ti_lock); in _tx_snd()
97 tsdu_limit = tiptr->ti_etsdusize; in _tx_snd()
100 tsdu_limit = tiptr->ti_tsdusize; in _tx_snd()
106 sig_mutex_unlock(&tiptr->ti_lock); in _tx_snd()
114 lookevent = _t_look_locked(fd, tiptr, 0, api_semantics); in _tx_snd()
117 sig_mutex_unlock(&tiptr->ti_lock); in _tx_snd()
130 sig_mutex_unlock(&tiptr->ti_lock); in _tx_snd()
136 if (nbytes == 0 && !(tiptr->ti_prov_flag & (SENDZERO|OLD_SENDZERO))) { in _tx_snd()
138 sig_mutex_unlock(&tiptr->ti_lock); in _tx_snd()
142 doputmsg = (tiptr->ti_tsdusize != 0) || (flags & T_EXPEDITED); in _tx_snd()
156 if (! (tiptr->ti_prov_flag & EXPINLINE)) in _tx_snd()
170 sig_mutex_unlock(&tiptr->ti_lock); in _tx_snd()
179 if (bytes_to_send > (unsigned int)tiptr->ti_maxpsz) { in _tx_snd()
181 bytes_to_send = (unsigned int)tiptr->ti_maxpsz; in _tx_snd()
236 _T_TX_NEXTSTATE(T_SND, tiptr, "t_snd: invalid state event T_SND"); in _tx_snd()