Lines Matching refs:inbuf_end
83 uint8_t *inbuf_end; member
171 if (hp->inbuf_end < packet + sizeof(struct hvsi_header)) in got_packet()
174 if (hp->inbuf_end < (packet + len_packet(packet))) in got_packet()
183 int remaining = (int)(hp->inbuf_end - read_to); in compact_inbuf()
190 hp->inbuf_end = hp->inbuf + remaining; in compact_inbuf()
408 chunklen = hvsi_read(hp, hp->inbuf_end, HVSI_MAX_READ); in hvsi_load_chunk()
415 dbg_dump_hex(hp->inbuf_end, chunklen); in hvsi_load_chunk()
417 hp->inbuf_end += chunklen; in hvsi_load_chunk()
420 while ((packet < hp->inbuf_end) && got_packet(hp, packet)) { in hvsi_load_chunk()
426 while ((packet < hp->inbuf_end) && (!is_header(packet))) in hvsi_load_chunk()
787 hp->inbuf_end = hp->inbuf; /* discard remaining partial packets */ in hvsi_close()
1203 hp->inbuf_end = hp->inbuf; in hvsi_console_init()