Searched refs:avail_ring (Results 1 – 5 of 5) sorted by relevance
/external/crosvm/devices/src/virtio/ |
D | queue.rs | 219 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 …]
|
D | virtio_pci_common_config.rs | 203 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/ |
D | virtqueue_fuzzer.rs | 64 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/ |
D | handler.rs | 164 .get_host_address(queue.avail_ring) in activate_vring()
|
/external/crosvm/devices/src/virtio/vhost/ |
D | worker.rs | 85 queue.avail_ring, in run()
|