Searched refs:EVTCHN_RING_MASK (Results 1 – 1 of 1) sorted by relevance
91 #define EVTCHN_RING_MASK(_i) ((_i) & (EVTCHN_RING_SIZE - 1)) macro138 ep->ring[EVTCHN_RING_MASK(ep->ring_prod)] = port; in evtchn_device_upcall()208 bytes1 = (EVTCHN_RING_SIZE - EVTCHN_RING_MASK(c)) * in evtchndrv_read()210 bytes2 = EVTCHN_RING_MASK(p) * sizeof (evtchn_port_t); in evtchndrv_read()224 if (uiomove(&ep->ring[EVTCHN_RING_MASK(c)], bytes1, UIO_READ, uio) || in evtchndrv_read()