EVTCHN_RING_SIZE
if ((ep->ring_prod - ep->ring_cons) < EVTCHN_RING_SIZE) {
if (((c ^ p) & EVTCHN_RING_SIZE) != 0) {
bytes1 = (EVTCHN_RING_SIZE - EVTCHN_RING_MASK(c)) *
#define EVTCHN_RING_MASK(_i) ((_i) & (EVTCHN_RING_SIZE - 1))