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

/freebsd-11-stable/sys/dev/xen/evtchn/
H A Devtchn_dev.c245 unsigned int c, p, bytes1 = 0, bytes2 = 0; local
286 bytes1 = (EVTCHN_RING_SIZE - EVTCHN_RING_MASK(c)) *
290 bytes1 = (p - c) * sizeof(evtchn_port_t);
295 if (bytes1 > count) {
296 bytes1 = count;
298 } else if ((bytes1 + bytes2) > count) {
299 bytes2 = count - bytes1;
305 if (uiomove(&u->ring[EVTCHN_RING_MASK(c)], bytes1, uio) ||
309 u->ring_cons += (bytes1 + bytes2) / sizeof(evtchn_port_t);

Completed in 105 milliseconds