Home
last modified time | relevance | path

Searched defs:GuestAddress (Results 1 – 25 of 32) sorted by relevance

12

/external/crosvm/vm_memory/src/
Dguest_address.rs13 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 …]
Dguest_memory.rs104 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/
Dlib.rs184 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/
Dlib.rs139 ) -> 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/
Dlib.rs231 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()
Dbzimage.rs57 kernel_start: GuestAddress, in load_bzimage()
Dsmbios.rs197 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()
Dacpi.rs107 ) -> Option<GuestAddress> { in create_acpi_tables()
/external/crosvm/devices/src/virtio/gpu/
Dudmabuf.rs91 fn memory_offset(mem: &GuestMemory, guest_addr: GuestAddress, len: u64) -> UdmabufResult<u64> { in memory_offset()
133 iovecs: &[(GuestAddress, usize)], in create_udmabuf()
Dvirtio_gpu.rs92 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/
Dlib.rs75 kernel_start: GuestAddress, in load_kernel()
155 guest_addr: GuestAddress, in load_cmdline()
/external/crosvm/devices/src/usb/xhci/
Devent_ring.rs142 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()
Dring_buffer.rs113 pub fn set_dequeue_pointer(&mut self, addr: GuestAddress) { in set_dequeue_pointer()
Dscatter_gather_buffer.rs77 fn get_trb_data(&self, atrb: &AddressedTrb) -> Result<(GuestAddress, usize)> { in get_trb_data()
Dinterrupter.rs98 trb_addr: GuestAddress, in send_command_completion_trb()
Dring_buffer_controller.rs126 pub fn set_dequeue_pointer(&self, ptr: GuestAddress) { in set_dequeue_pointer()
Ddevice_slot.rs740 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/
Daarch64.rs24 fn enable_protected_vm(&mut self, fw_addr: GuestAddress, fw_max_size: u64) -> Result<()>; in enable_protected_vm()
/external/crosvm/devices/src/virtio/
Dvirtio_pci_common_config.rs176 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()
Dballoon.rs117 ) -> descriptor_utils::Result<()> in handle_address_chain()
166 F: FnMut(GuestAddress, u64), in handle_queue()
Dpmem.rs241 mapping_address: GuestAddress, in new()
Ddescriptor_utils.rs753 descriptor_array_addr: GuestAddress, in create_descriptor_chain()
754 mut buffers_start_addr: GuestAddress, in create_descriptor_chain()
/external/crosvm/aarch64/src/
Dfdt.rs199 initrd: Option<(GuestAddress, usize)>, in create_chosen_node()
364 initrd: Option<(GuestAddress, usize)>, in create_fdt()
Dlib.rs195 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/
Daarch64.rs83 fn enable_protected_vm(&mut self, fw_addr: GuestAddress, fw_max_size: u64) -> Result<()> { in enable_protected_vm()

12