Searched refs:FIFO_SIZE (Results 1 – 3 of 3) sorted by relevance
48 #define h_inc() { head == FIFO_SIZE-1 ? head = 0 : head++; if (head == tail) head = -1, tail = 0;}49 #define h_dec() { head == 0 ? head = FIFO_SIZE-1 : head--; if (head == tail) tail = -1;}50 #define t_inc() { tail == FIFO_SIZE-1 ? tail = 0 : tail++; if (tail == head) tail = -1;}51 #define t_dec() { tail == 0 ? tail = FIFO_SIZE-1 : tail--; if (head == tail) fifo_clear(sp);}52 #define p_inc() { peek == FIFO_SIZE-1 ? peek = 0 : peek++;}
240 #define FIFO_SIZE MAXCOLUMNS+2 /* for nocbreak mode input */ macro725 int _fifo[FIFO_SIZE]; /* input push-back buffer */865 MEVENT _sysmouse_fifo[FIFO_SIZE];
292 && sp->_sysmouse_tail < FIFO_SIZE in sysmouse_server()