Lines Matching refs:inbuf_len
129 pv->inbuf_len = pv->inbuf_pktlen = 0; in hvsi_check_packet()
136 if (pv->inbuf_len < len) in hvsi_check_packet()
160 pv->inbuf_len -= len; in hvsi_check_packet()
161 memmove(pv->inbuf, &pv->inbuf[len], pv->inbuf_len); in hvsi_check_packet()
168 if (pv->inbuf_len < HVSI_INBUF_SIZE) in hvsi_get_packet()
169 pv->inbuf_len += pv->get_chars(pv->termno, in hvsi_get_packet()
170 &pv->inbuf[pv->inbuf_len], in hvsi_get_packet()
171 HVSI_INBUF_SIZE - pv->inbuf_len); in hvsi_get_packet()
176 if (pv->inbuf_len >= 4) in hvsi_get_packet()
214 pv->inbuf_len -= pv->inbuf_cur; in hvsilib_get_chars()
216 pv->inbuf_len); in hvsilib_get_chars()