Home
last modified time | relevance | path

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

/external/crosvm/devices/src/virtio/
Dqueue.rs222 pub used_ring: GuestAddress, field
247 used_ring: GuestAddress(0), in new()
269 self.used_ring = GuestAddress(0); in reset()
282 let used_ring = self.used_ring; in is_valid() localVariable
311 } else if used_ring in is_valid()
317 used_ring.offset(), in is_valid()
349 .used_ring in set_avail_event()
387 let used_index_addr = self.used_ring.unchecked_add(2); in set_used_index()
396 let mut used_flags: u16 = mem.read_obj_from_addr(self.used_ring).unwrap(); in set_used_flag()
402 mem.write_obj_at_addr(used_flags, self.used_ring).unwrap(); in set_used_flag()
[all …]
Dvirtio_pci_common_config.rs205 0x30 => self.with_queue_mut(queues, |q| lo(&mut q.used_ring, value)), in write_common_config_dword()
206 0x34 => self.with_queue_mut(queues, |q| hi(&mut q.used_ring, value)), in write_common_config_dword()
221 0x30 => self.with_queue_mut(queues, |q| q.used_ring = GuestAddress(value)), in write_common_config_qword()
/external/crosvm/fuzz/
Dvirtqueue_fuzzer.rs65 q.used_ring = GuestAddress(rng.gen_range(0, MEM_SIZE - size_of::<virtq_used>() as u64));
97 mem.write_all_at_addr(&buf[..], q.used_ring).unwrap();
/external/crosvm/devices/src/virtio/vhost/user/
Dhandler.rs161 .get_host_address(queue.used_ring) in activate_vring()
/external/crosvm/devices/src/virtio/vhost/
Dworker.rs84 queue.used_ring, in run()