Lines Matching refs:ring_size
67 unsigned int ring_size;
99 return idx & (u->ring_size - 1);
183 if ((prod - cons) < u->ring_size) {
240 if (((c ^ p) & u->ring_size) != 0) {
241 bytes1 = (u->ring_size - evtchn_ring_offset(u, c)) *
327 if (u->nr_evtchns <= u->ring_size)
330 if (u->ring_size == 0)
333 new_size = 2 * u->ring_size;
359 memcpy(new_ring, old_ring, u->ring_size * sizeof(*u->ring));
360 memcpy(new_ring + u->ring_size, old_ring,
361 u->ring_size * sizeof(*u->ring));
364 u->ring_size = new_size;