Lines Matching refs:tail
47 #define tail sp->_fifotail macro
55 if (head == tail) \
56 head = -1, tail = 0; \
62 if (head == tail) \
63 tail = -1; \
66 (tail >= FIFO_SIZE-1) \
67 ? tail = 0 \
68 : tail++; \
69 if (tail == head) \
70 tail = -1; \
73 (tail <= 0) \
74 ? tail = FIFO_SIZE-1 \
75 : tail--; \
76 if (head == tail) \
86 #define raw_key_in_fifo() ((head >= 0) && (peek != tail))