Home
last modified time | relevance | path

Searched defs:GuestMemory (Results 1 – 25 of 46) sorted by relevance

12

/external/crosvm/sys_util/src/
Dguest_memory.rs88 pub struct GuestMemory { struct
93 impl AsRawFd for GuestMemory { argument
102 impl GuestMemory { implementation
136 pub fn new(ranges: &[(GuestAddress, u64)]) -> Result<GuestMemory> { in new()
554 impl VolatileMemory for GuestMemory { implementation
662 fn get_mapping(mem: &GuestMemory, addr: GuestAddress) -> Result<*const u8> { in get_mapping()
/external/crosvm/x86_64/src/
Dregs.rs235 fn configure_segments_and_sregs(mem: &GuestMemory, sregs: &mut kvm_sregs) -> Result<()> { in configure_segments_and_sregs()
271 fn setup_page_tables(mem: &GuestMemory, sregs: &mut kvm_sregs) -> Result<()> { in setup_page_tables()
304 pub fn setup_sregs(mem: &GuestMemory, vcpu: &kvm::Vcpu) -> Result<()> { in setup_sregs()
324 fn read_u64(gm: &GuestMemory, offset: u64) -> u64 { in read_u64()
Dlib.rs178 guest_mem: &GuestMemory, in configure_system()
308 ) -> Result<RunnableLinuxVm> in build_vm()
419 fn load_bios(mem: &GuestMemory, bios_image: &mut File) -> Result<()> { in load_bios()
446 fn load_kernel(mem: &GuestMemory, kernel_image: &mut File) -> Result<(boot_params, u64)> { in load_kernel()
468 mem: &GuestMemory, in setup_system_memory()
563 fn setup_memory(mem_size: u64, has_bios: bool) -> Result<GuestMemory> { in setup_memory()
747 guest_mem: &GuestMemory, in configure_vcpu()
Dfdt.rs38 guest_mem: &GuestMemory, in create_fdt()
Dbzimage.rs56 guest_mem: &GuestMemory, in load_bzimage()
Dsmbios.rs137 mem: &GuestMemory, in write_and_incr()
149 fn write_string(mem: &GuestMemory, val: &str, mut curptr: GuestAddress) -> Result<GuestAddress> { in write_string()
/external/crosvm/devices/src/virtio/
Dblock.rs156 GuestMemory(GuestMemoryError), enumerator
185 mem: &GuestMemory, in request_type()
201 fn sector(mem: &GuestMemory, desc_addr: GuestAddress) -> result::Result<u64, ParseError> { in sector()
213 mem: &GuestMemory, in discard_write_zeroes_segment()
371 mem: &GuestMemory, in parse()
390 mem: &GuestMemory, in parse_flush()
418 mem: &GuestMemory, in parse_discard_write_zeroes()
462 mem: &GuestMemory, in parse_read_write()
507 mem: &GuestMemory, in execute()
985 mem: GuestMemory, in activate()
Dpmem.rs65 GuestMemory(GuestMemoryError), enumerator
100 memory: &GuestMemory, in parse()
323 memory: GuestMemory, in activate()
Dvirtio_device.rs65 mem: GuestMemory, in activate()
Dtpm.rs69 fn perform_work(&mut self, mem: &GuestMemory, desc: DescriptorChain) -> Result<u32> { in perform_work()
230 mem: GuestMemory, in activate()
Dqueue.rs74 mem: &GuestMemory, in checked_new()
318 pub fn add_used(&mut self, mem: &GuestMemory, desc_index: u16, len: u32) { in add_used()
Drng.rs185 mem: GuestMemory, in activate()
/external/crosvm/devices/src/pci/
Dac97_bus_master.rs191 pub fn new(mem: GuestMemory, audio_server: Box<dyn StreamSource>) -> Self { in new()
609 mem: &'a GuestMemory, in next_guest_buffer()
643 mem: &GuestMemory, in play_buffer()
666 mem: &GuestMemory, in buffer_completed()
705 mem: GuestMemory, in audio_out_thread()
721 mem: &GuestMemory, in capture_buffer()
738 mem: GuestMemory, in audio_in_thread()
794 mem: &GuestMemory, in current_buffer_size()
/external/crosvm/devices/src/virtio/gpu/
Dbackend.rs44 fn attach_guest_backing(&mut self, mem: &GuestMemory, vecs: Vec<(GuestAddress, usize)>); in attach_guest_backing()
73 mem: &GuestMemory, in write_from_guest_memory()
94 fn attach_guest_backing(&mut self, mem: &GuestMemory, vecs: Vec<(GuestAddress, usize)>) { in attach_guest_backing()
115 _mem: &GuestMemory, in write_from_guest_memory()
210 fn attach_guest_backing(&mut self, mem: &GuestMemory, vecs: Vec<(GuestAddress, usize)>) { in attach_guest_backing()
275 mem: &GuestMemory, in write_from_guest_memory()
546 mem: &GuestMemory, in transfer_to_resource_2d()
562 mem: &GuestMemory, in attach_backing()
Dmod.rs100 mem: &GuestMemory, in process_gpu_command()
296 mem: &GuestMemory, in take_descriptors()
340 fn take_ctrl_descriptors(&mut self, mem: &GuestMemory, desc_iter: AvailIter) { in take_ctrl_descriptors()
349 fn take_cursor_descriptors(&mut self, mem: &GuestMemory, desc_iter: AvailIter) { in take_cursor_descriptors()
360 mem: &GuestMemory, in process_descriptor()
714 mem: GuestMemory, in activate()
/external/crosvm/vhost/src/
Dnet.rs83 fn mem(&self) -> &GuestMemory { in mem()
136 fn mem(&self) -> &GuestMemory { in mem()
Dvsock.rs73 fn mem(&self) -> &GuestMemory { in mem()
/external/crosvm/render_node_forward/
Dlib.rs34 guest_mem: GuestMemory, in start()
/external/crosvm/kernel_loader/src/
Dlib.rs72 guest_mem: &GuestMemory, in load_kernel()
149 guest_mem: &GuestMemory, in load_cmdline()
/external/crosvm/devices/src/virtio/vhost/
Dnet.rs48 mem: &GuestMemory, in new()
165 _: GuestMemory, in activate()
/external/crosvm/aarch64/src/
Dlib.rs199 ) -> Result<RunnableLinuxVm> in build_vm()
319 mem: &GuestMemory, in setup_system_memory()
359 fn setup_memory(mem_size: u64) -> Result<GuestMemory> { in setup_memory()
499 guest_mem: &GuestMemory, in configure_vcpu()
/external/crosvm/arch/src/
Dlib.rs87 &GuestMemory, in build_vm()
314 guest_mem: &GuestMemory, in load_image()
355 guest_mem: &GuestMemory, in load_image_high()
/external/crosvm/devices/src/usb/xhci/
Dtransfer_ring_controller.rs66 mem: GuestMemory, in new()
Dxhci_transfer.rs115 pub fn new(mem: GuestMemory, td: TransferDescriptor) -> Result<XhciTransferType> { in new()
166 mem: GuestMemory, in create_transfer()
Dscatter_gather_buffer.rs44 pub fn new(mem: GuestMemory, td: TransferDescriptor) -> Result<ScatterGatherBuffer> { in new()

12