Home
last modified time | relevance | path

Searched refs:ExternalMapping (Results 1 – 8 of 8) sorted by relevance

/external/crosvm/sys_util/src/
Dexternal_mapping.rs44 pub struct ExternalMapping { struct
51 unsafe impl Send for ExternalMapping {} argument
52 unsafe impl Sync for ExternalMapping {} implementation
53 impl ExternalMapping { impl
62 pub unsafe fn new(resource_id: u32, map: Map, unmap: Unmap) -> Result<ExternalMapping> { in new() argument
72 Ok(ExternalMapping { in new()
81 unsafe impl MappedRegion for ExternalMapping { implementation
93 impl Drop for ExternalMapping { implementation
110 let external_map1 = unsafe { ExternalMapping::new(0, map1, unmap).unwrap() }; in check_valid_external_map()
111 let external_map2 = unsafe { ExternalMapping::new(0, map2, unmap).unwrap() }; in check_valid_external_map()
[all …]
/external/crosvm/rutabaga_gfx/src/
Dgfxstream.rs17 use base::{ExternalMapping, ExternalMappingError, ExternalMappingResult};
433 fn map(&self, resource_id: u32) -> RutabagaResult<ExternalMapping> { in map() argument
434 let map_result = unsafe { ExternalMapping::new(resource_id, map_func, unmap_func) }; in map()
Dvirgl_renderer.rs20 warn, Error as SysError, ExternalMapping, ExternalMappingError, ExternalMappingResult,
525 fn map(&self, resource_id: u32) -> RutabagaResult<ExternalMapping> { in map() argument
526 let map_result = unsafe { ExternalMapping::new(resource_id, map_func, unmap_func) }; in map()
Drutabaga_core.rs10 use base::ExternalMapping;
142 fn map(&self, _resource_id: u32) -> RutabagaResult<ExternalMapping> { in map() argument
487 pub fn map(&self, resource_id: u32) -> RutabagaResult<ExternalMapping> { in map() argument
/external/crosvm/devices/src/virtio/gpu/
Dvirtio_gpu.rs13 use base::{error, AsRawDescriptor, ExternalMapping, Tube};
84 map_request: Arc<Mutex<Option<ExternalMapping>>>,
123 map_request: Arc<Mutex<Option<ExternalMapping>>>, in new() argument
Dmod.rs24 debug, error, warn, AsRawDescriptor, AsRawDescriptors, Event, ExternalMapping, PollToken,
127 map_request: Arc<Mutex<Option<ExternalMapping>>>, in build() argument
884 map_request: Arc<Mutex<Option<ExternalMapping>>>,
901 map_request: Arc<Mutex<Option<ExternalMapping>>>, in new() argument
/external/crosvm/vm_control/src/
Dlib.rs29 error, with_as_descriptor, AsRawDescriptor, Error as SysError, Event, ExternalMapping, Fd,
312 map_request: Arc<Mutex<Option<ExternalMapping>>>, in execute() argument
/external/crosvm/src/
Dlinux.rs860 map_request: Arc<Mutex<Option<ExternalMapping>>>, in create_gpu_device() argument
1379 map_request: Arc<Mutex<Option<ExternalMapping>>>, in create_virtio_devices() argument
1636 map_request: Arc<Mutex<Option<ExternalMapping>>>, in create_devices() argument
2474 let map_request: Arc<Mutex<Option<ExternalMapping>>> = Arc::new(Mutex::new(None)); in run_vm()
2770 map_request: Arc<Mutex<Option<ExternalMapping>>>, in run_control() argument