Searched refs:RBUF_MASK (Results 1 – 1 of 1) sorted by relevance
109 #define RBUF_MASK(_i) ((_i)&(RBUF_SIZE-1)) macro427 cons->rbuf[RBUF_MASK(cons->rp++)] = buf[i]; in xencons_rx()500 ret = (int)cons->rbuf[RBUF_MASK(cons->rc)]; in xencons_getc()