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

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

Completed in 44 milliseconds