Lines Matching refs:bytes2
204 unsigned int c, p, bytes1 = 0, bytes2 = 0;
243 bytes2 = evtchn_ring_offset(u, p) * sizeof(evtchn_port_t);
246 bytes2 = 0;
252 bytes2 = 0;
253 } else if ((bytes1 + bytes2) > count) {
254 bytes2 = count - bytes1;
260 ((bytes2 != 0) &&
261 copy_to_user(&buf[bytes1], &u->ring[0], bytes2)))
264 WRITE_ONCE(u->ring_cons, c + (bytes1 + bytes2) / sizeof(evtchn_port_t));
265 rc = bytes1 + bytes2;