Home
last modified time | relevance | path

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

/external/crosvm/devices/src/virtio/
Dqueue.rs28 next: Option<DescriptorChain>,
33 pub fn readable(self) -> impl Iterator<Item = DescriptorChain> { in readable()
34 self.take_while(DescriptorChain::is_read_only) in readable()
38 pub fn writable(self) -> impl Iterator<Item = DescriptorChain> { in writable()
39 self.skip_while(DescriptorChain::is_read_only) in writable()
44 type Item = DescriptorChain;
58 pub struct DescriptorChain { struct
81 impl DescriptorChain { implementation
88 ) -> Option<DescriptorChain> { in checked_new() argument
100 let chain = DescriptorChain { in checked_new()
[all …]
Dtpm.rs17 DescriptorChain, DescriptorError, Interrupt, Queue, Reader, SignalableInterrupt, VirtioDevice,
46 fn perform_work(&mut self, mem: &GuestMemory, desc: DescriptorChain) -> Result<u32> { in perform_work()
Dnet.rs41 DescriptorChain(DescriptorError), enumerator
84 DescriptorChain(e) => write!(f, "failed to valildate descriptor chain: {}", e), in fmt()
263 .map_err(NetError::DescriptorChain)?; in process_ctrl()
265 Writer::new(self.mem.clone(), desc_chain).map_err(NetError::DescriptorChain)?; in process_ctrl()
Dpmem.rs17 copy_config, DescriptorChain, DescriptorError, Interrupt, Queue, Reader, SignalableInterrupt,
127 fn handle_request(&self, avail_desc: DescriptorChain) -> Result<usize> { in handle_request()
Ddescriptor_utils.rs24 use super::DescriptorChain;
237 pub fn new(mem: GuestMemory, desc_chain: DescriptorChain) -> Result<Reader> { in new()
507 pub fn new(mem: GuestMemory, desc_chain: DescriptorChain) -> Result<Writer> { in new()
757 ) -> Result<DescriptorChain> { in create_descriptor_chain() argument
789 DescriptorChain::checked_new(memory, descriptor_array_addr, 0x100, 0, 0) in create_descriptor_chain()
Dballoon.rs22 copy_config, descriptor_utils, DescriptorChain, Interrupt, Queue, Reader, SignalableInterrupt,
114 avail_desc: DescriptorChain, in handle_address_chain() argument
Dblock_async.rs36 copy_config, DescriptorChain, DescriptorError, Interrupt, Queue, Reader, SignalableInterrupt,
245 avail_desc: DescriptorChain, in process_one_request() argument
288 avail_desc: DescriptorChain, in process_one_request_task() argument
Dblock.rs29 copy_config, DescriptorChain, DescriptorError, Interrupt, Queue, Reader, SignalableInterrupt,
265 avail_desc: DescriptorChain, in process_one_request() argument
Dwl.rs71 DescriptorChain, Interrupt, Queue, Reader, SignalableInterrupt, VirtioDevice, Writer, TYPE_WL,
1501 let mut in_desc_chains: VecDeque<DescriptorChain> = in run()
/external/crosvm/devices/src/virtio/video/
Dasync_cmd_desc_map.rs7 use crate::virtio::queue::DescriptorChain;
17 pub struct AsyncCmdDescMap(BTreeMap<AsyncCmdTag, DescriptorChain>);
20 pub fn insert(&mut self, tag: AsyncCmdTag, descriptor_chain: DescriptorChain) { in insert() argument
24 pub fn remove(&mut self, tag: &AsyncCmdTag) -> Option<DescriptorChain> { in remove() argument
Dworker.rs12 use crate::virtio::queue::{DescriptorChain, Queue};
33 type WritableResp = (DescriptorChain, response::CmdResponse);
152 desc: DescriptorChain, in handle_command_desc() argument
/external/crosvm/fuzz/
Dvirtqueue_fuzzer.rs11 use devices::virtio::{DescriptorChain, Queue};
103 .filter(DescriptorChain::is_write_only)
/external/crosvm/devices/src/virtio/input/
Dmod.rs19 copy_config, DescriptorChain, DescriptorError, Interrupt, Queue, Reader, SignalableInterrupt,
354 avail_desc: DescriptorChain, in fill_event_virtqueue() argument
410 avail_desc: DescriptorChain, in read_event_virtqueue() argument
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs40 copy_config, resource_bridge::*, DescriptorChain, Interrupt, Queue, Reader,
517 fn validate_desc(desc: &DescriptorChain) -> bool { in validate_desc()