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

/gem5/src/dev/virtio/
H A Dvirtio_ring.h150 /* Assuming a given event_idx value from the other size, if
153 static inline int vring_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) argument
157 * corresponding to event_idx + 1 and new_idx respectively.
160 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old);

Completed in 4 milliseconds