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

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/xen/
H A Devtchn.c61 #define EVTCHN_RING_MASK(_i) ((_i)&(EVTCHN_RING_SIZE-1)) macro
88 u->ring[EVTCHN_RING_MASK(u->ring_prod)] = port;
145 bytes1 = (EVTCHN_RING_SIZE - EVTCHN_RING_MASK(c)) *
147 bytes2 = EVTCHN_RING_MASK(p) * sizeof(evtchn_port_t);
163 if (copy_to_user(buf, &u->ring[EVTCHN_RING_MASK(c)], bytes1) ||
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/xen/
H A Devtchn.c61 #define EVTCHN_RING_MASK(_i) ((_i)&(EVTCHN_RING_SIZE-1)) macro
88 u->ring[EVTCHN_RING_MASK(u->ring_prod)] = port;
145 bytes1 = (EVTCHN_RING_SIZE - EVTCHN_RING_MASK(c)) *
147 bytes2 = EVTCHN_RING_MASK(p) * sizeof(evtchn_port_t);
163 if (copy_to_user(buf, &u->ring[EVTCHN_RING_MASK(c)], bytes1) ||

Completed in 66 milliseconds