Home
last modified time | relevance | path

Searched refs:EVTCHN_RING_MASK (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/uts/common/xen/io/
H A Devtchn_dev.c90 #define EVTCHN_RING_MASK(_i) ((_i) & (EVTCHN_RING_SIZE - 1)) macro
137 ep->ring[EVTCHN_RING_MASK(ep->ring_prod)] = port; in evtchn_device_upcall()
206 bytes1 = (EVTCHN_RING_SIZE - EVTCHN_RING_MASK(c)) * in evtchndrv_read()
208 bytes2 = EVTCHN_RING_MASK(p) * sizeof (evtchn_port_t); in evtchndrv_read()
222 if (uiomove(&ep->ring[EVTCHN_RING_MASK(c)], bytes1, UIO_READ, uio) || in evtchndrv_read()