Home
last modified time | relevance | path

Searched refs:MemoryMappingArena (Results 1 – 12 of 12) sorted by relevance

/external/crosvm/devices/src/virtio/video/
Dffmpeg.rs10 use base::MemoryMappingArena;
33 pub struct MemoryMappingAvBufferSource(MemoryMappingArena);
35 impl From<MemoryMappingArena> for MemoryMappingAvBufferSource {
36 fn from(inner: MemoryMappingArena) -> Self { in from()
90 type BufferSource = MemoryMappingArena;
95 wrapper: impl FnOnce(MemoryMappingArena) -> T, in try_as_av_frame()
Dresource.rs12 use base::MemoryMappingArena;
72 fn get_mapping(&self, offset: usize, size: usize) -> Result<MemoryMappingArena, MmapError>; in get_mapping() argument
99 fn get_mapping(&self, offset: usize, size: usize) -> Result<MemoryMappingArena, MmapError> { in get_mapping() argument
100 let mut arena = MemoryMappingArena::new(size)?; in get_mapping()
143 fn get_mapping(&self, offset: usize, size: usize) -> Result<MemoryMappingArena, MmapError> { in get_mapping() argument
148 .map(MemoryMappingArena::from) in get_mapping()
165 fn get_mapping(&self, offset: usize, size: usize) -> Result<MemoryMappingArena, MmapError> { in get_mapping() argument
/external/crosvm/base/src/sys/unix/
Dmmap.rs682 pub struct MemoryMappingArena { struct
691 unsafe impl Send for MemoryMappingArena {} argument
692 unsafe impl Sync for MemoryMappingArena {} implementation
694 impl MemoryMappingArena { impl
699 pub fn new(size: usize) -> Result<MemoryMappingArena> { in new() argument
827 unsafe impl MappedRegion for MemoryMappingArena { implementation
852 impl From<MemoryMapping> for MemoryMappingArena { implementation
860 MemoryMappingArena { addr, size } in from()
864 impl From<CrateMemoryMapping> for MemoryMappingArena { implementation
866 MemoryMappingArena::from(mmap.mapping) in from()
[all …]
/external/crosvm/vm_control/src/sys/
Dunix.rs14 use base::MemoryMappingArena;
158 let arena = match MemoryMappingArena::new(size) { in execute()
/external/crosvm/devices/src/virtio/video/encoder/backend/
Dffmpeg.rs17 use base::MemoryMappingArena;
57 mapping: MemoryMappingArena,
101 output_queue: VecDeque<(OutputBufferId, MemoryMappingArena)>,
/external/crosvm/hypervisor/tests/kvm/
Dmain.rs19 use base::MemoryMappingArena;
184 let mem = MemoryMappingArena::new(mem_size).unwrap(); in sync_memory()
/external/crosvm/base/src/
Dlib.rs160 pub use platform::MemoryMappingArena;
/external/crosvm/devices/src/virtio/video/decoder/backend/
Dffmpeg.rs32 use base::MemoryMappingArena;
55 mapping: MemoryMappingArena,
Dvaapi.rs15 use base::MemoryMappingArena;
423 mapping: MemoryMappingArena,
/external/crosvm/base/src/sys/windows/
Dmmap_platform.rs306 pub struct MemoryMappingArena(); struct
Dmmap.rs17 pub use super::mmap_platform::MemoryMappingArena;
/external/crosvm/src/crosvm/sys/unix/
Ddevice_helpers.rs1212 MemoryMappingArena::new(arena_size).context("failed to reserve pmem memory")?; in create_pmem_device()