Searched refs:VmMemoryResponse (Results 1 – 4 of 4) sorted by relevance
/external/crosvm/vm_control/src/ |
D | lib.rs | 314 ) -> VmMemoryResponse { in execute() argument 319 Ok((pfn, slot)) => VmMemoryResponse::RegisterMemory { pfn, slot }, in execute() 320 Err(e) => VmMemoryResponse::Err(e), in execute() 325 Ok((pfn, slot)) => VmMemoryResponse::RegisterMemory { pfn, slot }, in execute() 326 Err(e) => VmMemoryResponse::Err(e), in execute() 330 Ok(_) => VmMemoryResponse::Ok, in execute() 331 Err(e) => VmMemoryResponse::Err(e), in execute() 337 .ok_or_else(|| VmMemoryResponse::Err(SysError::new(EINVAL))) in execute() 341 Ok((pfn, slot)) => VmMemoryResponse::RegisterMemory { pfn, slot }, in execute() 342 Err(e) => VmMemoryResponse::Err(e), in execute() [all …]
|
/external/crosvm/devices/src/virtio/gpu/ |
D | virtio_gpu.rs | 38 use vm_control::{MemSlot, VmMemoryRequest, VmMemoryResponse}; 685 VmMemoryResponse::RegisterMemory { pfn: _, slot } => { in resource_map_blob() 689 VmMemoryResponse::Err(e) => Err(ErrSys(e)), in resource_map_blob() 707 VmMemoryResponse::Ok => { in resource_unmap_blob() 711 VmMemoryResponse::Err(e) => Err(ErrSys(e)), in resource_unmap_blob()
|
/external/crosvm/devices/src/virtio/ |
D | wl.rs | 73 use vm_control::{MemSlot, VmMemoryRequest, VmMemoryResponse}; 345 fn request(&self, request: &VmMemoryRequest) -> WlResult<VmMemoryResponse> { in request() argument 350 fn register_memory(&self, shm: SharedMemory) -> WlResult<(SharedMemory, VmMemoryResponse)> { in register_memory() argument 606 VmMemoryResponse::RegisterMemory { pfn, slot } => { in allocate() 634 VmMemoryResponse::AllocateAndRegisterGpuMemory { in dmabuf() 702 VmMemoryResponse::RegisterMemory { pfn, slot } => { in from_file()
|
/external/crosvm/devices/src/pci/ |
D | vfio_pci.rs | 17 use vm_control::{VmIrqRequest, VmIrqResponse, VmMemoryRequest, VmMemoryResponse}; 710 let response: VmMemoryResponse = match self.vm_socket_mem.recv() { in add_bar_mmap() 715 VmMemoryResponse::Ok => { in add_bar_mmap()
|