/external/crosvm/vm_memory/src/ |
D | guest_address.rs | 13 pub struct GuestAddress(pub u64); struct 15 impl GuestAddress { implementation 37 pub fn checked_add(self, other: u64) -> Option<GuestAddress> { in checked_add() 43 pub fn unchecked_add(self, offset: u64) -> GuestAddress { in unchecked_add() 48 pub fn checked_sub(self, other: u64) -> Option<GuestAddress> { in checked_sub() 53 pub fn mask(self, mask: u64) -> GuestAddress { in mask() method 58 impl BitAnd<u64> for GuestAddress { implementation 61 fn bitand(self, other: u64) -> GuestAddress { in bitand() 66 impl BitOr<u64> for GuestAddress { implementation 69 fn bitor(self, other: u64) -> GuestAddress { in bitor() [all …]
|
D | guest_memory.rs | 104 fn start(&self) -> GuestAddress { in start() 108 fn end(&self) -> GuestAddress { in end() 136 fn create_shm(ranges: &[(GuestAddress, u64)]) -> Result<SharedMemory> { in create_shm() 162 pub fn new(ranges: &[(GuestAddress, u64)]) -> Result<GuestMemory> { in new() 217 pub fn end_addr(&self) -> GuestAddress { in end_addr() 239 pub fn range_overlap(&self, start: GuestAddress, end: GuestAddress) -> bool { in range_overlap() 246 pub fn checked_offset(&self, addr: GuestAddress, offset: u64) -> Option<GuestAddress> { in checked_offset() 262 pub fn remove_range(&self, addr: GuestAddress, count: u64) -> Result<()> { in remove_range() 295 F: FnMut(usize, GuestAddress, usize, usize, &SharedMemory, u64) -> result::Result<(), E>, in with_regions() argument 497 pub fn get_slice_at_addr(&self, addr: GuestAddress, len: usize) -> Result<VolatileSlice> { in get_slice_at_addr() [all …]
|
/external/crosvm/vhost/src/ |
D | lib.rs | 184 desc_addr: GuestAddress, in is_valid() 185 avail_addr: GuestAddress, in is_valid() 186 used_addr: GuestAddress, in is_valid() 230 desc_addr: GuestAddress, in set_vring_addr() 231 used_addr: GuestAddress, in set_vring_addr() 232 avail_addr: GuestAddress, in set_vring_addr() 233 log_addr: Option<GuestAddress>, in set_vring_addr()
|
/external/crosvm/arch/src/ |
D | lib.rs | 139 ) -> std::result::Result<Vec<(GuestAddress, u64)>, Self::Error>; in guest_memory_layout() 208 vaddr: GuestAddress, in debug_read_memory() 217 vaddr: GuestAddress, in debug_write_memory() 229 breakpoints: &[GuestAddress], in debug_set_hw_breakpoints() 546 guest_addr: GuestAddress, in load_image() 587 min_guest_addr: GuestAddress, in load_image_high() 588 max_guest_addr: GuestAddress, in load_image_high() 590 ) -> Result<(GuestAddress, usize), LoadImageError> in load_image_high()
|
/external/crosvm/x86_64/src/ |
D | lib.rs | 231 fn bios_start(bios_size: u64) -> GuestAddress { in bios_start() 238 kernel_addr: GuestAddress, in configure_system() 239 cmdline_addr: GuestAddress, in configure_system() 241 setup_data: Option<GuestAddress>, in configure_system() 242 initrd: Option<(GuestAddress, usize)>, in configure_system() 324 fn arch_memory_regions(size: u64, bios_size: Option<u64>) -> Vec<(GuestAddress, u64)> { in arch_memory_regions() 354 ) -> std::result::Result<Vec<(GuestAddress, u64)>, Self::Error> { in guest_memory_layout() 657 vaddr: GuestAddress, in debug_read_memory() 681 vaddr: GuestAddress, in debug_write_memory() 714 breakpoints: &[GuestAddress], in debug_set_hw_breakpoints()
|
D | bzimage.rs | 57 kernel_start: GuestAddress, in load_bzimage()
|
D | smbios.rs | 197 mut curptr: GuestAddress, in write_and_incr() 198 ) -> Result<GuestAddress> { in write_and_incr() 207 fn write_string(mem: &GuestMemory, val: &str, mut curptr: GuestAddress) -> Result<GuestAddress> { in write_string()
|
D | acpi.rs | 107 ) -> Option<GuestAddress> { in create_acpi_tables()
|
/external/crosvm/devices/src/virtio/gpu/ |
D | udmabuf.rs | 91 fn memory_offset(mem: &GuestMemory, guest_addr: GuestAddress, len: u64) -> UdmabufResult<u64> { in memory_offset() 133 iovecs: &[(GuestAddress, usize)], in create_udmabuf()
|
D | virtio_gpu.rs | 92 vecs: &[(GuestAddress, usize)], in sglist_to_rutabaga_iovecs() 544 vecs: Vec<(GuestAddress, usize)>, in attach_backing() 602 vecs: Vec<(GuestAddress, usize)>, in resource_create_blob()
|
/external/crosvm/kernel_loader/src/ |
D | lib.rs | 75 kernel_start: GuestAddress, in load_kernel() 155 guest_addr: GuestAddress, in load_cmdline()
|
/external/crosvm/devices/src/usb/xhci/ |
D | event_ring.rs | 142 pub fn set_dequeue_pointer(&mut self, addr: GuestAddress) { in set_dequeue_pointer() 204 fn get_seg_table_addr(&self, index: u16) -> Result<GuestAddress> { in get_seg_table_addr()
|
D | ring_buffer.rs | 113 pub fn set_dequeue_pointer(&mut self, addr: GuestAddress) { in set_dequeue_pointer()
|
D | scatter_gather_buffer.rs | 77 fn get_trb_data(&self, atrb: &AddressedTrb) -> Result<(GuestAddress, usize)> { in get_trb_data()
|
D | interrupter.rs | 98 trb_addr: GuestAddress, in send_command_completion_trb()
|
D | ring_buffer_controller.rs | 126 pub fn set_dequeue_pointer(&self, ptr: GuestAddress) { in set_dequeue_pointer()
|
D | device_slot.rs | 740 input_context_ptr: GuestAddress, in copy_context() 767 fn get_device_context_addr(&self) -> Result<GuestAddress> { in get_device_context_addr()
|
/external/crosvm/hypervisor/src/ |
D | aarch64.rs | 24 fn enable_protected_vm(&mut self, fw_addr: GuestAddress, fw_max_size: u64) -> Result<()>; in enable_protected_vm()
|
/external/crosvm/devices/src/virtio/ |
D | virtio_pci_common_config.rs | 176 fn hi(v: &mut GuestAddress, x: u32) { in write_common_config_dword() 180 fn lo(v: &mut GuestAddress, x: u32) { in write_common_config_dword()
|
D | balloon.rs | 117 ) -> descriptor_utils::Result<()> in handle_address_chain() 166 F: FnMut(GuestAddress, u64), in handle_queue()
|
D | pmem.rs | 241 mapping_address: GuestAddress, in new()
|
D | descriptor_utils.rs | 753 descriptor_array_addr: GuestAddress, in create_descriptor_chain() 754 mut buffers_start_addr: GuestAddress, in create_descriptor_chain()
|
/external/crosvm/aarch64/src/ |
D | fdt.rs | 199 initrd: Option<(GuestAddress, usize)>, in create_chosen_node() 364 initrd: Option<(GuestAddress, usize)>, in create_fdt()
|
D | lib.rs | 195 pub fn arch_memory_regions(size: u64) -> Vec<(GuestAddress, u64)> { in arch_memory_regions() 220 ) -> std::result::Result<Vec<(GuestAddress, u64)>, Self::Error> { in guest_memory_layout()
|
/external/crosvm/hypervisor/src/kvm/ |
D | aarch64.rs | 83 fn enable_protected_vm(&mut self, fw_addr: GuestAddress, fw_max_size: u64) -> Result<()> { in enable_protected_vm()
|