Lines Matching refs:ring_size
67 unsigned int ring_size; member
98 return idx & (u->ring_size - 1); in evtchn_ring_offset()
178 if ((prod - cons) < u->ring_size) { in evtchn_interrupt()
235 if (((c ^ p) & u->ring_size) != 0) { in evtchn_read()
236 bytes1 = (u->ring_size - evtchn_ring_offset(u, c)) * in evtchn_read()
322 if (u->nr_evtchns <= u->ring_size) in evtchn_resize_ring()
325 if (u->ring_size == 0) in evtchn_resize_ring()
328 new_size = 2 * u->ring_size; in evtchn_resize_ring()
354 memcpy(new_ring, old_ring, u->ring_size * sizeof(*u->ring)); in evtchn_resize_ring()
355 memcpy(new_ring + u->ring_size, old_ring, in evtchn_resize_ring()
356 u->ring_size * sizeof(*u->ring)); in evtchn_resize_ring()
359 u->ring_size = new_size; in evtchn_resize_ring()