Home
last modified time | relevance | path

Searched refs:MappedRegion (Results 1 – 14 of 14) sorted by relevance

/external/crosvm/sys_util/src/
Dexternal_mapping.rs5 use crate::MappedRegion;
81 unsafe impl MappedRegion for ExternalMapping {
Dmmap.rs136 pub unsafe trait MappedRegion: Send + Sync { trait
171 impl dyn MappedRegion { implementation
724 unsafe impl MappedRegion for MemoryMapping {
897 unsafe impl MappedRegion for MemoryMappingArena {
1142 MappedRegion::msync(&m, 0, ps).unwrap(); in arena_msync()
1143 MappedRegion::msync(&m, 0, size).unwrap(); in arena_msync()
1144 MappedRegion::msync(&m, ps, size - ps).unwrap(); in arena_msync()
1145 let res = MappedRegion::msync(&m, ps, size).unwrap_err(); in arena_msync()
/external/crosvm/hypervisor/src/
Dlib.rs18 use base::{Event, MappedRegion, Protection, Result, SafeDescriptor};
75 mem_region: Box<dyn MappedRegion>, in add_memory_region() argument
85 fn remove_memory_region(&mut self, slot: MemSlot) -> Result<Box<dyn MappedRegion>>; in remove_memory_region() argument
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/
Dgralloc.rs10 use base::{round_up_to_page_size, MappedRegion};
198 ) -> RutabagaResult<Box<dyn MappedRegion>> { in import_and_map() argument
335 ) -> RutabagaResult<Box<dyn MappedRegion>> { in import_and_map() argument
Dvulkano_gralloc.rs17 use base::MappedRegion;
55 unsafe impl MappedRegion for VulkanoMapping {
370 ) -> RutabagaResult<Box<dyn MappedRegion>> { in import_and_map() argument
/external/crosvm/base/src/
Dmmap.rs5 use crate::{wrap_descriptor, AsRawDescriptor, MappedRegion, MmapError, Protection, SharedMemory};
224 unsafe impl MappedRegion for MemoryMapping {
/external/crosvm/devices/src/virtio/gpu/
Dudmabuf.rs14 ioctl_iow_nr, ioctl_with_ptr, pagesize, AsRawDescriptor, FromRawDescriptor, MappedRegion,
/external/crosvm/hypervisor/src/kvm/
Dmod.rs35 MappedRegion, MemoryMapping, MemoryMappingBuilder, MemoryMappingBuilderUnix, MmapError,
159 mem_regions: Arc<Mutex<BTreeMap<MemSlot, Box<dyn MappedRegion>>>>,
453 mem: Box<dyn MappedRegion>, in add_memory_region() argument
511 fn remove_memory_region(&mut self, slot: MemSlot) -> Result<Box<dyn MappedRegion>> { in remove_memory_region() argument
Dx86_64.rs12 ioctl_with_ref, ioctl_with_val, AsRawDescriptor, Error, MappedRegion, Result,
/external/crosvm/kvm/src/
Dlib.rs37 ioctl_with_val, pagesize, signal, unblock_signal, warn, Error, Event, IoctlNr, MappedRegion,
268 mem_regions: Arc<Mutex<BTreeMap<u32, Box<dyn MappedRegion>>>>,
335 mem: Box<dyn MappedRegion>, in add_memory_region() argument
380 pub fn remove_memory_region(&mut self, slot: u32) -> Result<Box<dyn MappedRegion>> { in remove_memory_region() argument
/external/crosvm/vm_control/src/
Dlib.rs30 FromRawDescriptor, IntoRawDescriptor, MappedRegion, MemoryMappingArena, MemoryMappingBuilder,
960 mem: Box<dyn MappedRegion>, in register_host_pointer() argument
/external/crosvm/vm_memory/src/
Dguest_memory.rs17 AsRawDescriptor, AsRawDescriptors, MappedRegion, MemfdSeals, MemoryMapping,
/external/crosvm/devices/src/pci/
Dvfio_pci.rs9 error, pagesize, AsRawDescriptor, Event, MappedRegion, MemoryMapping, MemoryMappingBuilder,
/external/crosvm/io_uring/src/
During.rs18 use sys_util::{MappedRegion, MemoryMapping, Protection, WatchingEvents};