Home
last modified time | relevance | path

Searched defs:MemoryMapping (Results 1 – 14 of 14) sorted by relevance

/external/crosvm/base/src/sys/windows/
Dmmap_platform.rs37 impl MemoryMapping { implementation
43 pub fn new_protection(size: usize, prot: Protection) -> Result<MemoryMapping> { in new_protection()
54 pub fn from_raw_ptr(addr: *mut c_void, size: usize) -> Result<MemoryMapping> { in from_raw_ptr()
61 ) -> Result<MemoryMapping> { in from_raw_handle_offset()
86 ) -> Result<MemoryMapping> { in from_descriptor_offset_protection()
112 ) -> Result<MemoryMapping> { in new_protection_fixed()
134 ) -> Result<MemoryMapping> { in from_descriptor_offset_protection_fixed()
149 ) -> Result<MemoryMapping> { in try_mmap()
291 impl Drop for MemoryMapping { implementation
Dmmap.rs112 pub struct MemoryMapping { struct
121 unsafe impl Send for MemoryMapping {} argument
122 unsafe impl Sync for MemoryMapping {} implementation
124 impl MemoryMapping { implementation
129 pub fn new(size: usize) -> Result<MemoryMapping> { in new()
141 ) -> Result<MemoryMapping> { in from_descriptor()
145 pub fn from_raw_descriptor(file_handle: RawDescriptor, size: usize) -> Result<MemoryMapping> { in from_raw_descriptor()
153 ) -> Result<MemoryMapping> { in from_descriptor_offset()
172 unsafe impl MappedRegion for MemoryMapping { implementation
282 mapping: MemoryMapping, in wrap()
[all …]
/external/crosvm/base/src/
Dmmap.rs90 pub struct MemoryMapping { struct
103 impl MemoryMapping { impl
334 pub unsafe fn build_fixed(self, addr: *mut u8) -> Result<MemoryMapping> { in build_fixed()
362 impl VolatileMemory for MemoryMapping { implementation
424 unsafe impl MappedRegion for MemoryMapping { implementation
/external/crosvm/base/src/sys/unix/
Dmmap.rs97 pub struct MemoryMapping { struct
106 unsafe impl Send for MemoryMapping {} argument
107 unsafe impl Sync for MemoryMapping {} implementation
109 impl MemoryMapping { impl
114 pub fn new(size: usize) -> Result<MemoryMapping> { in new()
123 pub fn new_protection(size: usize, prot: Protection) -> Result<MemoryMapping> { in new_protection()
142 pub fn from_fd(fd: &dyn AsRawDescriptor, size: usize) -> Result<MemoryMapping> { in from_fd()
150 ) -> Result<MemoryMapping> { in from_fd_offset()
168 ) -> Result<MemoryMapping> { in from_fd_offset_flags()
188 ) -> Result<MemoryMapping> { in from_fd_offset_protection()
[all …]
/external/crosvm/devices/src/pci/
Dacpi.rs29 pub fn create_shm_mmap(&self) -> Option<MemoryMapping> { in create_shm_mmap()
Dpci_device.rs438 fn generate_acpi_methods(&mut self) -> (Vec<u8>, Option<(u32, MemoryMapping)>) { in generate_acpi_methods() argument
726 fn generate_acpi_methods(&mut self) -> (Vec<u8>, Option<(u32, MemoryMapping)>) { in generate_acpi_methods() argument
Dvfio_pci.rs2240 fn generate_acpi_methods(&mut self) -> (Vec<u8>, Option<(u32, MemoryMapping)>) { in generate_acpi_methods() argument
/external/crosvm/swap/src/
Dstaging.rs232 fn create_mmap(value: u8, pages: usize) -> MemoryMapping { in create_mmap()
/external/crosvm/audio_util/src/
Dfile_streams.rs249 fn new(memory_mapping: MemoryMapping, buffer_mem_length: usize) -> Self { in new()
/external/crosvm/devices/src/platform/
Dvfio_platform.rs186 fn region_mmap(&self, index: u32, start_addr: u64) -> Vec<MemoryMapping> { in region_mmap()
/external/crosvm/devices/src/virtio/snd/vios_backend/
Dshm_streams.rs367 ) -> Result<(MemoryMapping, usize)> { in mmap_buffer()
/external/crosvm/io_uring/src/
During.rs855 unsafe fn new(mmap: MemoryMapping, params: &io_uring_params) -> SubmitQueueState { in new()
902 unsafe fn new(mmap: MemoryMapping, params: &io_uring_params) -> CompleteQueueState { in new()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp897 class MemoryMapping class
916 MemoryMapping::MemoryMapping (const MemoryRange& range, in MemoryMapping() function in vkt::memory::__anon66ba95590111::MemoryMapping
/external/crosvm/vm_memory/src/
Dguest_memory.rs882 pub fn find_region(&self, guest_addr: GuestAddress) -> Result<(&MemoryMapping, usize, u64)> { in find_region()