Searched refs:VTERM_BUFSIZE (Results 1 – 1 of 1) sorted by relevance
13 #define VTERM_BUFSIZE 16 macro19 uint8_t buf[VTERM_BUFSIZE];29 return VTERM_BUFSIZE - (dev->in - dev->out); in OBJECT_DECLARE_SIMPLE_TYPE()42 if (dev->in - dev->out >= VTERM_BUFSIZE) { in vty_receive()51 dev->buf[dev->in++ % VTERM_BUFSIZE] = buf[i]; in vty_receive()70 (dev->buf[dev->out % VTERM_BUFSIZE] == '\0')) { in vty_getchars()73 buf[n++] = dev->buf[dev->out++ % VTERM_BUFSIZE]; in vty_getchars()