Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/xen/io/
H A Devtchn_dev.c164 unsigned int c, p, bytes1 = 0, bytes2 = 0; in evtchndrv_read() local
206 bytes1 = (EVTCHN_RING_SIZE - EVTCHN_RING_MASK(c)) * in evtchndrv_read()
210 bytes1 = (p - c) * sizeof (evtchn_port_t); in evtchndrv_read()
215 if (bytes1 > count) { in evtchndrv_read()
216 bytes1 = count; in evtchndrv_read()
218 } else if ((bytes1 + bytes2) > count) { in evtchndrv_read()
219 bytes2 = count - bytes1; in evtchndrv_read()
222 if (uiomove(&ep->ring[EVTCHN_RING_MASK(c)], bytes1, UIO_READ, uio) || in evtchndrv_read()
228 ep->ring_cons += (bytes1 + bytes2) / sizeof (evtchn_port_t); in evtchndrv_read()