Searched refs:MUX_BUFFER_MASK (Results 1 – 2 of 2) sorted by relevance
34 #define MUX_BUFFER_MASK (MUX_BUFFER_SIZE - 1) macro
199 &d->buffer[m][d->cons[m]++ & MUX_BUFFER_MASK], 1); in mux_chr_accept_input()237 d->buffer[m][d->prod[m]++ & MUX_BUFFER_MASK] = buf[i]; in mux_chr_read()