Lines Matching full:front
9 size_t front, back, size, mask; \
22 (fifo)->front = (fifo)->back = 0; \
38 swap((l)->front, (r)->front); \
53 #define fifo_used(fifo) (((fifo)->back - (fifo)->front))
56 #define fifo_empty(fifo) ((fifo)->front == (fifo)->back)
59 #define fifo_peek_front(fifo) ((fifo)->data[(fifo)->front & (fifo)->mask])
64 ? (fifo)->front : (fifo)->back) & ~(fifo)->mask) + \
68 #define fifo_idx_entry(fifo, i) ((fifo)->data[((fifo)->front + (i)) & (fifo)->mask])
74 (fifo_full((f)) ? NULL : &(f)->data[--(f)->front & (f)->mask])
96 (i) = (fifo)->data[(fifo)->front++ & (fifo)->mask]; \
114 for (typecheck(typeof((_fifo)->front), _iter), \
115 (_iter) = (_fifo)->front; \
121 for (typecheck(typeof((_fifo)->front), _iter), \
122 (_iter) = (_fifo)->front; \