Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/crosvm/base/src/sys/windows/
H A Dmmap.rs67 pub struct MemoryMapping { struct
77 unsafe impl Send for MemoryMapping {} argument
79 unsafe impl Sync for MemoryMapping {} implementation
81 impl MemoryMapping { implementation
86 pub fn new(size: usize) -> Result<MemoryMapping> { in new()
98 ) -> Result<MemoryMapping> { in from_descriptor()
102 pub fn from_raw_descriptor(file_handle: RawDescriptor, size: usize) -> Result<MemoryMapping> { in from_raw_descriptor()
110 ) -> Result<MemoryMapping> { in from_descriptor_offset()
132 unsafe impl MappedRegion for MemoryMapping { implementation
226 mapping: MemoryMapping, in wrap()
[all …]
H A Dmmap_platform.rs42 impl MemoryMapping { implementation
48 pub fn new_protection(size: usize, prot: Protection) -> Result<MemoryMapping> { in new_protection()
60 pub fn from_raw_ptr(addr: *mut c_void, size: usize) -> Result<MemoryMapping> { in from_raw_ptr()
67 ) -> Result<MemoryMapping> { in from_raw_handle_offset()
93 ) -> Result<MemoryMapping> { in from_descriptor_offset_protection()
120 ) -> Result<MemoryMapping> { in new_protection_fixed()
142 ) -> Result<MemoryMapping> { in from_descriptor_offset_protection_fixed()
157 ) -> Result<MemoryMapping> { in try_mmap()
214 impl Drop for MemoryMapping { implementation
/aosp_15_r20/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/linux/
H A Dmemory_mapping.rs26 pub struct MemoryMapping { struct
31 impl Drop for MemoryMapping { implementation
42 impl MemoryMapping { impl
47 ) -> RutabagaResult<MemoryMapping> { in from_safe_descriptor()
/aosp_15_r20/external/crosvm/base/src/sys/linux/
H A Dmmap.rs108 pub struct MemoryMapping { struct
118 unsafe impl Send for MemoryMapping {} implementation
120 unsafe impl Sync for MemoryMapping {} implementation
122 impl MemoryMapping { implementation
127 pub fn new(size: usize) -> Result<MemoryMapping> { in new()
141 ) -> Result<MemoryMapping> { in new_protection()
153 pub fn from_fd(fd: &dyn AsRawDescriptor, size: usize) -> Result<MemoryMapping> { in from_fd()
161 ) -> Result<MemoryMapping> { in from_fd_offset()
177 ) -> Result<MemoryMapping> { in from_fd_offset_protection()
197 ) -> Result<MemoryMapping> { in from_fd_offset_protection_populate()
[all …]
/aosp_15_r20/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/stub/
H A Dmemory_mapping.rs16 pub struct MemoryMapping { struct
21 impl MemoryMapping { impl
26 ) -> RutabagaResult<MemoryMapping> { in from_safe_descriptor()
/aosp_15_r20/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/windows/
H A Dmemory_mapping.rs16 pub struct MemoryMapping { struct
21 impl MemoryMapping { argument
26 ) -> RutabagaResult<MemoryMapping> { in from_safe_descriptor()
/aosp_15_r20/external/crosvm/rutabaga_gfx/src/rutabaga_os/
H A Dmemory_mapping.rs10 pub struct MemoryMapping { struct
14 impl MemoryMapping { implementation
19 ) -> RutabagaResult<MemoryMapping> { in from_safe_descriptor()
/aosp_15_r20/external/crosvm/base/src/
H A Dmmap.rs169 pub struct MemoryMapping { struct
170 pub(crate) mapping: PlatformMmap,
179 pub(crate) _file_descriptor: Option<SafeDescriptor>,
203 impl MemoryMapping { impl
501 impl VolatileMemory for MemoryMapping { implementation
572 unsafe impl MappedRegion for MemoryMapping { implementation
/aosp_15_r20/external/crosvm/base/src/sys/macos/
H A Dmod.rs108 pub struct MemoryMapping {} struct
110 impl MemoryMapping { implementation
124 ) -> Result<MemoryMapping, MmapError> { in new_protection_fixed()
136 ) -> Result<MemoryMapping, MmapError> { in from_descriptor_offset_protection_fixed()
142 unsafe impl crate::MappedRegion for MemoryMapping { implementation
/aosp_15_r20/external/crosvm/devices/src/pci/
H A Dacpi.rs29 pub fn create_shm_mmap(&self) -> Option<MemoryMapping> { in create_shm_mmap()
H A Dpci_device.rs448 fn generate_acpi_methods(&mut self) -> (Vec<u8>, Option<(u32, MemoryMapping)>) { in generate_acpi_methods() argument
808 fn generate_acpi_methods(&mut self) -> (Vec<u8>, Option<(u32, MemoryMapping)>) { in generate_acpi_methods() argument
/aosp_15_r20/external/crosvm/io_uring/src/
H A During.rs741 unsafe fn new(mmap: MemoryMapping, params: &io_uring_params) -> SubmitQueueState { in new()
788 unsafe fn new(mmap: MemoryMapping, params: &io_uring_params) -> CompleteQueueState { in new()
/aosp_15_r20/external/crosvm/swap/src/
H A Dstaging.rs234 fn create_mmap(value: u8, pages: usize) -> MemoryMapping { in create_mmap()
/aosp_15_r20/external/crosvm/audio_util/src/
H A Dfile_streams.rs249 fn new(memory_mapping: MemoryMapping, buffer_mem_length: usize) -> Self { in new()
/aosp_15_r20/cts/hostsidetests/gwp_asan/common/proto/
H A Dtombstone.proto141 message MemoryMapping { message
/aosp_15_r20/external/crosvm/devices/src/platform/
H A Dvfio_platform.rs237 fn region_mmap(&self, index: usize, start_addr: u64) -> Vec<MemoryMapping> { in region_mmap()
/aosp_15_r20/system/core/debuggerd/proto/
H A Dtombstone.proto209 message MemoryMapping { message
/aosp_15_r20/external/crosvm/devices/src/virtio/snd/vios_backend/
H A Dshm_streams.rs371 ) -> Result<(MemoryMapping, usize)> { in mmap_buffer()
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryMappingTests.cpp952 class MemoryMapping class
972 MemoryMapping::MemoryMapping(const MemoryRange &range, void *ptr, ReferenceMemory &reference) in MemoryMapping() function in vkt::memory::__anon0c28680a0111::MemoryMapping
/aosp_15_r20/out/soong/.intermediates/system/core/debuggerd/proto/libtombstone_proto/linux_glibc_x86_64_static/gen/proto/system/core/debuggerd/proto/
Dtombstone.pb.cc278 PROTOBUF_CONSTEXPR MemoryMapping::MemoryMapping( in MemoryMapping() function in MemoryMapping
5550 MemoryMapping::MemoryMapping(::PROTOBUF_NAMESPACE_ID::Arena* arena, in MemoryMapping() function in MemoryMapping
5556 MemoryMapping::MemoryMapping(const MemoryMapping& from) in MemoryMapping() function in MemoryMapping
/aosp_15_r20/out/soong/.intermediates/system/core/debuggerd/proto/libtombstone_proto/android_arm64_armv8-2a_cortex-a55_static_apex10000/gen/proto/system/core/debuggerd/proto/
Dtombstone.pb.cc278 PROTOBUF_CONSTEXPR MemoryMapping::MemoryMapping( in MemoryMapping() function in MemoryMapping
5550 MemoryMapping::MemoryMapping(::PROTOBUF_NAMESPACE_ID::Arena* arena, in MemoryMapping() function in MemoryMapping
5556 MemoryMapping::MemoryMapping(const MemoryMapping& from) in MemoryMapping() function in MemoryMapping
/aosp_15_r20/out/soong/.intermediates/system/core/debuggerd/proto/libtombstone_proto/android_vendor_ramdisk_arm64_armv8-2a_cortex-a55_static/gen/proto/system/core/debuggerd/proto/
Dtombstone.pb.cc278 PROTOBUF_CONSTEXPR MemoryMapping::MemoryMapping( in MemoryMapping() function in MemoryMapping
5550 MemoryMapping::MemoryMapping(::PROTOBUF_NAMESPACE_ID::Arena* arena, in MemoryMapping() function in MemoryMapping
5556 MemoryMapping::MemoryMapping(const MemoryMapping& from) in MemoryMapping() function in MemoryMapping
/aosp_15_r20/out/soong/.intermediates/system/core/debuggerd/proto/libtombstone_proto/android_recovery_arm64_armv8-2a_cortex-a55_static/gen/proto/system/core/debuggerd/proto/
Dtombstone.pb.cc278 PROTOBUF_CONSTEXPR MemoryMapping::MemoryMapping( in MemoryMapping() function in MemoryMapping
5550 MemoryMapping::MemoryMapping(::PROTOBUF_NAMESPACE_ID::Arena* arena, in MemoryMapping() function in MemoryMapping
5556 MemoryMapping::MemoryMapping(const MemoryMapping& from) in MemoryMapping() function in MemoryMapping
/aosp_15_r20/out/soong/.intermediates/system/core/debuggerd/proto/libtombstone_proto/android_arm64_armv8-2a_cortex-a55_static/gen/proto/system/core/debuggerd/proto/
Dtombstone.pb.cc278 PROTOBUF_CONSTEXPR MemoryMapping::MemoryMapping( in MemoryMapping() function in MemoryMapping
5550 MemoryMapping::MemoryMapping(::PROTOBUF_NAMESPACE_ID::Arena* arena, in MemoryMapping() function in MemoryMapping
5556 MemoryMapping::MemoryMapping(const MemoryMapping& from) in MemoryMapping() function in MemoryMapping
/aosp_15_r20/external/crosvm/vm_memory/src/
H A Dguest_memory.rs819 pub fn find_region(&self, guest_addr: GuestAddress) -> Result<(&MemoryMapping, usize, u64)> { in find_region()

123