Home
last modified time | relevance | path

Searched refs:MmapVec (Results 1 – 9 of 9) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dmmap_vec.rs35 pub enum MmapVec { enum
52 impl MmapVec { implementation
65 MmapVec::Mmap { mmap, len } in new_mmap()
83 MmapVec::ExternallyOwned { memory } in new_externally_owned()
160 MmapVec::Mmap { .. } => true, in supports_virtual_memory()
176 MmapVec::Mmap { .. } => false, in is_always_readonly()
198 Ok(MmapVec::new_mmap(mmap, len)) in from_file()
322 impl Deref for MmapVec { implementation
343 impl Drop for MmapVec { implementation
354 MmapVec::Mmap { .. } => { in drop()
[all …]
H A Dcow.rs716 use crate::runtime::vm::{HostAlignedByteCount, MmapVec, host_page_size};
749 fn mmap(&self) -> Option<&MmapVec> { in create_memfd_with_data() argument
/wasmtime-44.0.1/crates/wasmtime/src/compile/
H A Druntime.rs4 use crate::runtime::vm::MmapVec;
165 fn publish_mmap(engine: &Engine, mmap: MmapVec) -> Result<Arc<CodeMemory>> { in publish_mmap()
171 pub(crate) struct MmapVecWrapper(pub MmapVec);
206 mmap: Option<MmapVec>, in finish_object()
219 self.mmap = match MmapVec::with_capacity_and_alignment(additional, self.alignment) { in finish_object()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dcode_memory.rs5 use crate::runtime::vm::MmapVec;
24 mmap: MmapVec,
125 pub fn new(engine: &Engine, mmap: MmapVec) -> Result<Self> { in new()
286 pub fn mmap(&self) -> &MmapVec { in mmap() argument
H A Dmodule.rs4 use crate::runtime::vm::{CompiledModuleId, MmapVec, ModuleMemoryImages, VMWasmCallFunction};
354 let mmap = crate::runtime::vm::MmapVec::from_file(open_file)?; in from_trusted_file()
1271 fn mmap(&self) -> Option<&MmapVec> { in mmap() argument
H A Dvm.rs114 pub use crate::runtime::vm::mmap_vec::MmapVec;
182 fn mmap(&self) -> Option<&MmapVec>; in mmap() argument
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dengine.rs884 crate::runtime::vm::MmapVec::from_slice_with_alignment( in load_code_bytes()
914 unsafe { self.load_code(crate::runtime::vm::MmapVec::from_raw(memory)?, expected) } in load_code_raw()
925 crate::runtime::vm::MmapVec::from_file(file) in load_code_file()
933 mmap: crate::runtime::vm::MmapVec, in load_code() argument
H A Dlib.rs553 pub use crate::runtime::vm::MmapVec;
/wasmtime-44.0.1/src/
H A Dcommon.rs217 match wasmtime::_internal::MmapVec::from_file(file) { in load_module()