Home
last modified time | relevance | path

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

/external/crosvm/devices/src/virtio/
Dqueue.rs469 pub fn add_used(&mut self, mem: &GuestMemory, desc_index: u16, len: u32) { in add_used() method
692 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_fast()
710 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_fast()
728 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_fast()
768 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
785 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
795 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
809 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
818 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
835 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
Dnet.rs207 self.rx_queue.add_used(&self.mem, index, bytes_written); in process_rx()
247 self.tx_queue.add_used(&self.mem, index, 0); in process_tx()
278 ctrl_queue.add_used(&self.mem, index, 0); in process_ctrl()
300 ctrl_queue.add_used(&self.mem, index, 0); in process_ctrl()
313 ctrl_queue.add_used(&self.mem, index, 0); in process_ctrl()
Dconsole.rs74 transmit_queue.add_used(&self.mem, desc_index, 0); in process_transmit_queue()
88 transmit_queue.add_used(&self.mem, desc_index, len); in process_transmit_queue()
192 receive_queue.add_used(&self.mem, desc_index, bytes_written); in handle_input()
Dballoon.rs180 queue.add_used(mem, index, 0); in handle_queue()
240 queue.add_used(&mem, index, 0); in handle_stats_queue()
Drng.rs61 queue.add_used(&self.mem, index, written as u32); in process_queue()
Dwl.rs1571 self.in_queue.add_used(&self.mem, reject, 0); in run()
1598 self.out_queue.add_used( in run()
1607 self.out_queue.add_used(&self.mem, desc_index, 0); in run()
1641 .add_used(&self.mem, index, writer.bytes_written() as u32); in run()
1645 self.in_queue.add_used(&self.mem, index, 0); in run()
Dtpm.rs99 self.queue.add_used(&self.mem, index, len); in process_queue()
Dp9.rs100 .add_used(&self.mem, avail_desc.index, writer.bytes_written() as u32); in process_queue()
Dpmem.rs159 .add_used(&self.memory, avail_desc_index, bytes_written as u32); in process_queue()
Dblock.rs344 queue.add_used(&self.mem, desc_index, len as u32); in process_queue()
Dblock_async.rs308 queue.add_used(&mem, descriptor_index, len as u32); in process_one_request_task()
/external/crosvm/fuzz/
Dvirtqueue_fuzzer.rs106 q.add_used(mem, idx, len);
108 q.add_used(mem, idx, 0);
/external/crosvm/devices/src/virtio/video/
Dworker.rs55 cmd_queue.add_used(&self.mem, desc_index, writer.bytes_written() as u32); in write_responses()
74 event_queue.add_used(&self.mem, desc_index, writer.bytes_written() as u32); in write_event()
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs533 queue.add_used(&mem, ret_desc.index, ret_desc.len); in process_queue()
539 queue.add_used(&mem, desc.index, 0); in process_queue()
554 queue.add_used(&mem, desc.index, 0); in process_queue()
806 self.cursor_queue.add_used(&self.mem, desc.index, desc.len); in run()
817 self.ctrl_queue.add_used(&self.mem, desc.index, desc.len); in run()
/external/crosvm/devices/src/virtio/fs/
Dworker.rs168 .add_used(&self.mem, avail_desc.index, total as u32); in process_queue()
/external/crosvm/devices/src/virtio/input/
Dmod.rs395 self.event_queue.add_used( in send_events()
441 .add_used(&self.guest_memory, avail_desc_index, bytes_read as u32); in process_status_queue()