Home
last modified time | relevance | path

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

/external/crosvm/devices/src/virtio/
Dqueue.rs219 pub avail_ring: GuestAddress, field
246 avail_ring: GuestAddress(0), in new()
268 self.avail_ring = GuestAddress(0); in reset()
280 let avail_ring = self.avail_ring; in is_valid() localVariable
301 } else if avail_ring in is_valid()
307 avail_ring.offset(), in is_valid()
332 let avail_index_addr = self.avail_ring.unchecked_add(2); in get_avail_index()
360 let avail_flags: u16 = mem.read_obj_from_addr(self.avail_ring).unwrap(); in get_avail_flag()
373 .avail_ring in get_used_event()
421 let desc_idx_addr = mem.checked_offset(self.avail_ring, desc_idx_addr_offset)?; in peek()
[all …]
Dvirtio_pci_common_config.rs203 0x28 => self.with_queue_mut(queues, |q| lo(&mut q.avail_ring, value)), in write_common_config_dword()
204 0x2c => self.with_queue_mut(queues, |q| hi(&mut q.avail_ring, value)), in write_common_config_dword()
220 0x28 => self.with_queue_mut(queues, |q| q.avail_ring = GuestAddress(value)), in write_common_config_qword()
/external/crosvm/fuzz/
Dvirtqueue_fuzzer.rs64 q.avail_ring = GuestAddress(rng.gen_range(0, MEM_SIZE - size_of::<virtq_avail>() as u64));
90 mem.write_all_at_addr(&buf[..], q.avail_ring).unwrap();
/external/crosvm/devices/src/virtio/vhost/user/
Dhandler.rs164 .get_host_address(queue.avail_ring) in activate_vring()
/external/crosvm/devices/src/virtio/vhost/
Dworker.rs85 queue.avail_ring, in run()