/external/crosvm/base/src/sys/windows/ |
D | mmap_platform.rs | 37 impl MemoryMapping { impl 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
|
D | mmap.rs | 112 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/ |
D | mmap.rs | 90 pub struct MemoryMapping { struct 103 impl MemoryMapping { implementation 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/ |
D | mmap.rs | 97 pub struct MemoryMapping { struct 106 unsafe impl Send for MemoryMapping {} argument 107 unsafe impl Sync for MemoryMapping {} implementation 109 impl MemoryMapping { implementation 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/ |
D | acpi.rs | 29 pub fn create_shm_mmap(&self) -> Option<MemoryMapping> { in create_shm_mmap()
|
D | pci_device.rs | 438 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
|
D | vfio_pci.rs | 2240 fn generate_acpi_methods(&mut self) -> (Vec<u8>, Option<(u32, MemoryMapping)>) { in generate_acpi_methods() argument
|
/external/crosvm/swap/src/ |
D | staging.rs | 232 fn create_mmap(value: u8, pages: usize) -> MemoryMapping { in create_mmap()
|
/external/crosvm/audio_util/src/ |
D | file_streams.rs | 249 fn new(memory_mapping: MemoryMapping, buffer_mem_length: usize) -> Self { in new()
|
/external/crosvm/devices/src/platform/ |
D | vfio_platform.rs | 186 fn region_mmap(&self, index: u32, start_addr: u64) -> Vec<MemoryMapping> { in region_mmap()
|
/external/crosvm/devices/src/virtio/snd/vios_backend/ |
D | shm_streams.rs | 367 ) -> Result<(MemoryMapping, usize)> { in mmap_buffer()
|
/external/crosvm/io_uring/src/ |
D | uring.rs | 855 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/ |
D | vktMemoryMappingTests.cpp | 897 class MemoryMapping class 916 MemoryMapping::MemoryMapping (const MemoryRange& range, in MemoryMapping() function in vkt::memory::__anon66ba95590111::MemoryMapping
|
/external/crosvm/vm_memory/src/ |
D | guest_memory.rs | 882 pub fn find_region(&self, guest_addr: GuestAddress) -> Result<(&MemoryMapping, usize, u64)> { in find_region()
|