Searched refs:MemoryMappingArena (Results 1 – 12 of 12) sorted by relevance
/external/crosvm/devices/src/virtio/video/ |
D | ffmpeg.rs | 10 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()
|
D | resource.rs | 12 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/ |
D | mmap.rs | 682 pub struct MemoryMappingArena { struct 691 unsafe impl Send for MemoryMappingArena {} argument 692 unsafe impl Sync for MemoryMappingArena {} implementation 694 impl MemoryMappingArena { implementation 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/ |
D | unix.rs | 14 use base::MemoryMappingArena; 158 let arena = match MemoryMappingArena::new(size) { in execute()
|
/external/crosvm/devices/src/virtio/video/encoder/backend/ |
D | ffmpeg.rs | 17 use base::MemoryMappingArena; 57 mapping: MemoryMappingArena, 101 output_queue: VecDeque<(OutputBufferId, MemoryMappingArena)>,
|
/external/crosvm/hypervisor/tests/kvm/ |
D | main.rs | 19 use base::MemoryMappingArena; 184 let mem = MemoryMappingArena::new(mem_size).unwrap(); in sync_memory()
|
/external/crosvm/base/src/ |
D | lib.rs | 160 pub use platform::MemoryMappingArena;
|
/external/crosvm/devices/src/virtio/video/decoder/backend/ |
D | ffmpeg.rs | 32 use base::MemoryMappingArena; 55 mapping: MemoryMappingArena,
|
D | vaapi.rs | 15 use base::MemoryMappingArena; 423 mapping: MemoryMappingArena,
|
/external/crosvm/base/src/sys/windows/ |
D | mmap_platform.rs | 306 pub struct MemoryMappingArena(); struct
|
D | mmap.rs | 17 pub use super::mmap_platform::MemoryMappingArena;
|
/external/crosvm/src/crosvm/sys/unix/ |
D | device_helpers.rs | 1212 MemoryMappingArena::new(arena_size).context("failed to reserve pmem memory")?; in create_pmem_device()
|