Lines Matching refs:inbuf_end
70 uint8_t *inbuf_end; member
158 if (hp->inbuf_end < packet + sizeof(struct hvsi_header)) in got_packet()
161 if (hp->inbuf_end < (packet + len_packet(packet))) in got_packet()
170 int remaining = (int)(hp->inbuf_end - read_to); in compact_inbuf()
177 hp->inbuf_end = hp->inbuf + remaining; in compact_inbuf()
397 chunklen = hvsi_read(hp, hp->inbuf_end, HVSI_MAX_READ); in hvsi_load_chunk()
404 dbg_dump_hex(hp->inbuf_end, chunklen); in hvsi_load_chunk()
406 hp->inbuf_end += chunklen; in hvsi_load_chunk()
409 while ((packet < hp->inbuf_end) && got_packet(hp, packet)) { in hvsi_load_chunk()
415 while ((packet < hp->inbuf_end) && (!is_header(packet))) in hvsi_load_chunk()
776 hp->inbuf_end = hp->inbuf; /* discard remaining partial packets */ in hvsi_close()
1192 hp->inbuf_end = hp->inbuf; in hvsi_console_init()