Home
last modified time | relevance | path

Searched refs:next_avail (Results 1 – 1 of 1) sorted by relevance

/external/crosvm/devices/src/virtio/
Dqueue.rs224 next_avail: Wrapping<u16>, field
248 next_avail: Wrapping(0), in new()
270 self.next_avail = Wrapping(0); in reset()
414 let avail_len = avail_index - self.next_avail; in peek()
416 if avail_len.0 > queue_size || self.next_avail == avail_index { in peek()
420 let desc_idx_addr_offset = 4 + (u64::from(self.next_avail.0 % queue_size) * 2); in peek()
432 self.next_avail += Wrapping(1); in pop_peeked()
434 self.set_avail_event(mem, self.next_avail); in pop_peeked()