Home
last modified time | relevance | path

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

12

/external/crosvm/devices/src/virtio/
Dqueue.rs723 pub fn add_used(&mut self, mem: &GuestMemory, desc_index: u16, len: u32) { in add_used() method
1020 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_fast()
1038 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_fast()
1056 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_fast()
1089 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
1106 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
1116 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
1130 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
1139 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
1156 queue.add_used(&mem, 0x0, BUFFER_LEN); in queue_event_id_guest_slow()
Dballoon.rs370 queue.add_used(mem, index, 0); in handle_queue()
419 queue.add_used(mem, index, 0); in handle_reporting_queue()
472 queue.add_used(mem, index, 0); in handle_stats_queue()
577 queue.add_used(mem, index, 0); in handle_events_queue()
634 queue.add_used(mem, index, writer.bytes_written() as u32); in handle_wss_queue()
725 queue.add_used(mem, index, 0); in handle_wss_data_queue()
750 queue.add_used(mem, index, writer.bytes_written() as u32);
Dconsole.rs118 receive_queue.add_used(mem, desc_index, bytes_written); in handle_input()
169 transmit_queue.add_used(mem, desc_index, 0); in process_transmit_queue()
Drng.rs77 queue.add_used(&self.mem, index, written_size as u32); in process_queue()
Dp9.rs100 .add_used(&self.mem, avail_desc.index, writer.bytes_written() as u32); in process_queue()
Dtpm.rs105 self.queue.add_used(&self.mem, index, len); in process_queue()
Dpmem.rs183 queue.add_used(mem, index, written as u32); in handle_queue()
Dnet.rs239 ctrl_queue.add_used(mem, index, writer.bytes_written() as u32); in process_ctrl()
286 ctrl_queue.add_used(mem, index, writer.bytes_written() as u32); in process_ctrl()
Dpvclock.rs488 set_pvclock_page_queue.add_used(&worker.mem, desc.index, desc.len); in run_worker()
Dwl.rs1726 in_queue.add_used(mem, index, bytes_written); in process_in_queue()
1773 out_queue.add_used(mem, desc_index, writer.bytes_written() as u32); in process_out_queue()
1778 out_queue.add_used(mem, desc_index, 0); in process_out_queue()
Diommu.rs629 queue.add_used(&mem, desc_index, len as u32); in request_queue()
/external/crosvm/devices/src/virtio/sys/unix/
Dnet.rs72 rx_queue.add_used(mem, index, bytes_written); in process_rx()
117 tx_queue.add_used(mem, index, 0); in process_tx()
/external/crosvm/crosvm-fuzz/
Dvirtqueue_fuzzer.rs116 q.add_used(mem, idx, len);
118 q.add_used(mem, idx, 0);
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs143 fn add_used(&self, mem: &GuestMemory, desc_index: u16, len: u32); in add_used() method
166 fn add_used(&self, mem: &GuestMemory, desc_index: u16, len: u32) { in add_used() method
167 self.queue.borrow_mut().add_used(mem, desc_index, len) in add_used()
197 fn add_used(&self, mem: &GuestMemory, desc_index: u16, len: u32) { in add_used() method
198 self.queue.lock().add_used(mem, desc_index, len) in add_used()
280 ctrl_queue.add_used(&mem, f_desc.index, f_desc.len); in create_fence_handler()
641 queue.add_used(mem, ret_desc.index, ret_desc.len); in process_queue()
647 queue.add_used(mem, desc.index, 0); in process_queue()
966 self.cursor_queue.add_used(&self.mem, desc.index, desc.len); in run()
/external/crosvm/devices/src/virtio/snd/vios_backend/
Dstreams.rs286 io_queue_lock.add_used( in maybe_process_queued_buffers()
429 queue_lock.add_used(guest_memory, desc_index, writer.bytes_written() as u32); in reply_control_op_status()
458 queue_lock.add_used(guest_memory, desc_index, writer.bytes_written() as u32); in reply_pcm_buffer_status()
Dworker.rs291 queue_lock.add_used( in process_controlq_buffers()
391 self.event_queue.add_used( in process_event_triggered()
523 queue_lock.add_used( in send_info_reply()
/external/crosvm/devices/src/virtio/vhost/user/device/
Dgpu.rs54 fn add_used(&self, mem: &GuestMemory, desc_index: u16, len: u32) { in add_used() method
55 self.queue.lock().add_used(mem, desc_index, len) in add_used()
/external/crosvm/devices/src/virtio/sys/windows/
Dnet.rs71 rx_queue.add_used(mem, index, bytes_written); in rx_single_frame()
197 tx_queue.add_used(mem, index, 0); in process_tx()
/external/crosvm/devices/src/virtio/video/
Dworker.rs100 .add_used(&self.mem, desc_index, writer.bytes_written() as u32); in write_responses()
121 .add_used(&self.mem, desc_index, writer.bytes_written() as u32); in write_event()
/external/crosvm/devices/src/virtio/vhost/user/device/vvu/
Dqueue.rs475 q.add_used(mem, index, written as u32); in device_write()
485 q.add_used(mem, desc_index, len as u32); in device_read()
/external/crosvm/devices/src/virtio/snd/common_backend/
Dasync_funcs.rs522 queue.add_used(mem, desc_index, writer.bytes_written() as u32); in send_pcm_response_with_writer()
922 queue.add_used(mem, index, writer.bytes_written() as u32); in handle_ctrl_queue()
943 queue.add_used(mem, index, 0); in handle_event_queue()
/external/crosvm/devices/src/virtio/input/
Dmod.rs398 self.event_queue.add_used( in send_events()
444 .add_used(&self.guest_memory, avail_desc_index, bytes_read as u32); in process_status_queue()
/external/crosvm/devices/src/virtio/fs/
Dworker.rs169 queue.add_used(mem, avail_desc.index, total as u32); in process_fs_queue()
/external/crosvm/devices/src/virtio/vhost/user/
Dproxy.rs602 self.rx_queue.add_used(&self.mem, index, 0 /* len */); in process_rx()
649 self.rx_queue.add_used(&self.mem, index, bytes_written); in process_rx()
1124 self.tx_queue.add_used(&self.mem, index, 0); in process_tx()
/external/crosvm/devices/src/virtio/vsock/sys/windows/
Dvsock.rs552 queue.add_used(&self.mem, index, 0); in process_tx_queue()
1157 queue.add_used(&self.mem, desc_index, bytes_written); in write_bytes_to_queue()

12