/external/crosvm/sys_util/src/ |
D | external_mapping.rs | 5 use crate::MappedRegion; 81 unsafe impl MappedRegion for ExternalMapping {
|
D | mmap.rs | 136 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/ |
D | lib.rs | 18 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/ |
D | gralloc.rs | 10 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
|
D | vulkano_gralloc.rs | 17 use base::MappedRegion; 55 unsafe impl MappedRegion for VulkanoMapping { 370 ) -> RutabagaResult<Box<dyn MappedRegion>> { in import_and_map() argument
|
/external/crosvm/base/src/ |
D | mmap.rs | 5 use crate::{wrap_descriptor, AsRawDescriptor, MappedRegion, MmapError, Protection, SharedMemory}; 224 unsafe impl MappedRegion for MemoryMapping {
|
/external/crosvm/devices/src/virtio/gpu/ |
D | udmabuf.rs | 14 ioctl_iow_nr, ioctl_with_ptr, pagesize, AsRawDescriptor, FromRawDescriptor, MappedRegion,
|
/external/crosvm/hypervisor/src/kvm/ |
D | mod.rs | 35 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
|
D | x86_64.rs | 12 ioctl_with_ref, ioctl_with_val, AsRawDescriptor, Error, MappedRegion, Result,
|
/external/crosvm/kvm/src/ |
D | lib.rs | 37 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/ |
D | lib.rs | 30 FromRawDescriptor, IntoRawDescriptor, MappedRegion, MemoryMappingArena, MemoryMappingBuilder, 960 mem: Box<dyn MappedRegion>, in register_host_pointer() argument
|
/external/crosvm/vm_memory/src/ |
D | guest_memory.rs | 17 AsRawDescriptor, AsRawDescriptors, MappedRegion, MemfdSeals, MemoryMapping,
|
/external/crosvm/devices/src/pci/ |
D | vfio_pci.rs | 9 error, pagesize, AsRawDescriptor, Event, MappedRegion, MemoryMapping, MemoryMappingBuilder,
|
/external/crosvm/io_uring/src/ |
D | uring.rs | 18 use sys_util::{MappedRegion, MemoryMapping, Protection, WatchingEvents};
|