Searched refs:MMapFlags (Results 1 – 3 of 3) sorted by relevance
/trusty/user/base/lib/tipc/rust/src/ |
D | lib.rs | 42 pub use handle::{Handle, MMapFlags, UnsafeSharedBuf, MAX_MSG_HANDLES};
|
D | handle.rs | 338 pub fn mmap(&self, size: usize, flags: MMapFlags) -> crate::Result<UnsafeSharedBuf> { in mmap() 340 MMapFlags::Read => trusty_sys::MMAP_FLAG_PROT_READ as c_int, in mmap() 341 MMapFlags::Write => trusty_sys::MMAP_FLAG_PROT_WRITE as c_int, in mmap() 342 MMapFlags::ReadWrite => { in mmap() 397 pub enum MMapFlags { enum
|
/trusty/user/app/sample/memref-test/rust/ |
D | memref_test.rs | 5 use tipc::{Deserialize, Handle, MMapFlags, Serialize, Serializer, TipcError, UnsafeSharedBuf}; 34 remote_handle.mmap(2, MMapFlags::ReadWrite).expect("Failed to map the shared buffer"); in recv_ref() 52 remote_handle.mmap(2, MMapFlags::ReadWrite).expect("Failed to map the shared buffer"); in drop_shared_buf_handle()
|