Lines Matching refs:input_buffer
16 static char input_buffer[CONFIG_NETCONSOLE_BUFFER_SIZE]; variable
147 if (input_size == sizeof(input_buffer)) in nc_input_packet()
149 if (len > sizeof(input_buffer) - input_size) in nc_input_packet()
150 len = sizeof(input_buffer) - input_size; in nc_input_packet()
153 if (end >= sizeof(input_buffer)) in nc_input_packet()
154 end -= sizeof(input_buffer); in nc_input_packet()
158 if (end + len >= sizeof(input_buffer)) { in nc_input_packet()
159 chunk = sizeof(input_buffer) - end; in nc_input_packet()
161 memcpy(input_buffer, pkt + chunk, len - chunk); in nc_input_packet()
164 memcpy(input_buffer + end, pkt, chunk); in nc_input_packet()
267 int send_len = min(len, (int)sizeof(input_buffer)); in nc_stdio_puts()
288 c = input_buffer[input_offset++]; in nc_stdio_getc()
290 if (input_offset >= sizeof(input_buffer)) in nc_stdio_getc()
291 input_offset -= sizeof(input_buffer); in nc_stdio_getc()