Home
last modified time | relevance | path

Searched refs:DefinedMemoryIndex (Results 1 – 17 of 17) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/
H A Dindex_allocator.rs8 use wasmtime_environ::DefinedMemoryIndex;
77 pub struct MemoryInModule(pub CompiledModuleId, pub DefinedMemoryIndex);
234 memory_index: DefinedMemoryIndex, in alloc_affine_and_clear_affinity() argument
555 let id1 = MemoryInModule(CompiledModuleId::new(), DefinedMemoryIndex::new(0)); in test_affinity_allocation_strategy()
556 let id2 = MemoryInModule(CompiledModuleId::new(), DefinedMemoryIndex::new(0)); in test_affinity_allocation_strategy()
612 let memory_index = DefinedMemoryIndex::new(0); in clear_affine()
644 MemoryInModule(CompiledModuleId::new(), DefinedMemoryIndex::new(0)) in test_affinity_allocation_strategy_random()
687 let id1 = MemoryInModule(CompiledModuleId::new(), DefinedMemoryIndex::new(0)); in test_affinity_threshold()
726 DefinedMemoryIndex::new(0) in test_affinity_threshold()
735 DefinedMemoryIndex::new(0) in test_affinity_threshold()
[all …]
H A Dmemory_pool.rs70 use wasmtime_environ::{DefinedMemoryIndex, Module, Tunables};
354 memory_index: Option<DefinedMemoryIndex>, in allocate() argument
513 let memory_index = DefinedMemoryIndex::new(i); in purge_module()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dcow_disabled.rs10 use wasmtime_environ::{DefinedMemoryIndex, Module};
17 _defined_index: DefinedMemoryIndex, in get_memory_image() argument
H A Dinstance.rs39 DataIndex, DefinedGlobalIndex, DefinedMemoryIndex, DefinedTableIndex, DefinedTagIndex,
119 memories: TryPrimaryMap<DefinedMemoryIndex, (MemoryAllocationIndex, Memory)>,
169 memories: TryPrimaryMap<DefinedMemoryIndex, (MemoryAllocationIndex, Memory)>, in new() argument
436 pub fn memory(&self, index: DefinedMemoryIndex) -> VMMemoryDefinition { in memory()
441 fn set_memory(&self, index: DefinedMemoryIndex, mem: VMMemoryDefinition) { in set_memory() argument
452 pub fn memory_ptr(&self, index: DefinedMemoryIndex) -> NonNull<VMMemoryDefinition> { in memory_ptr()
726 idx: DefinedMemoryIndex, in memory_grow() argument
1065 pub fn get_defined_memory(&self, index: DefinedMemoryIndex) -> &Memory { in get_defined_memory()
1133 memory_index: DefinedMemoryIndex, in memory_fill() argument
1478 let defined_memory_index = DefinedMemoryIndex::new(i); in initialize_vmctx()
[all …]
H A Dlibcalls.rs74 DataIndex, DefinedMemoryIndex, DefinedTableIndex, ElemIndex, FuncIndex, MemoryIndex,
254 let memory_index = DefinedMemoryIndex::from_u32(memory_index); in memory_grow()
576 let memory_index = DefinedMemoryIndex::from_u32(memory_index); in memory_fill()
1238 let memory = DefinedMemoryIndex::from_u32(memory_index); in memory_atomic_notify()
1256 let memory = DefinedMemoryIndex::from_u32(memory_index); in memory_atomic_wait32()
1274 let memory = DefinedMemoryIndex::from_u32(memory_index); in memory_atomic_wait64()
H A Dcow.rs15 use wasmtime_environ::{DefinedMemoryIndex, MemoryInitialization, Module, Tunables};
22 memories: TryPrimaryMap<DefinedMemoryIndex, Option<Arc<MemoryImage>>>,
27 pub fn get_memory_image(&self, defined_index: DefinedMemoryIndex) -> Option<&Arc<MemoryImage>> { in get_memory_image()
H A Dvmcontext.rs20 BuiltinFunctionIndex, DefinedGlobalIndex, DefinedMemoryIndex, DefinedTableIndex,
220 pub index: DefinedMemoryIndex,
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/
H A Don_demand.rs13 use wasmtime_environ::{DefinedMemoryIndex, DefinedTableIndex, HostPtr, Module, VMOffsets};
117 memory_index: Option<DefinedMemoryIndex>, in allocate_memory() argument
146 _memory_index: Option<DefinedMemoryIndex>, in deallocate_memory() argument
H A Dpooling.rs69 DefinedMemoryIndex, DefinedTableIndex, HostPtr, Module, Tunables, VMOffsets,
686 memory_index: Option<DefinedMemoryIndex>, in allocate_memory() argument
717 _memory_index: Option<DefinedMemoryIndex>, in deallocate_memory() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/
H A Dmemory.rs15 DefinedMemoryIndex, DefinedTableIndex, EntityIndex, HostPtr, Module, StaticModuleIndex,
178 memory_index: Option<DefinedMemoryIndex>, in allocate_memory() argument
200 memory_index: Option<DefinedMemoryIndex>, in deallocate_memory() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/
H A Dallocator.rs15 DefinedMemoryIndex, DefinedTableIndex, HostPtr, InitMemory, MemoryInitialization,
195 memory_index: Option<DefinedMemoryIndex>, in allocate_memory() argument
207 memory_index: Option<DefinedMemoryIndex>, in deallocate_memory() argument
359 memories: TryPrimaryMap<DefinedMemoryIndex, (MemoryAllocationIndex, Memory)>, in allocate_module()
404 memories: &mut TryPrimaryMap<DefinedMemoryIndex, (MemoryAllocationIndex, Memory)>, in allocate_memories() argument
435 memories: &mut TryPrimaryMap<DefinedMemoryIndex, (MemoryAllocationIndex, Memory)>, in deallocate_memories() argument
/wasmtime-44.0.1/crates/cranelift/src/
H A Ddebug.rs18 DefinedFuncIndex, DefinedMemoryIndex, EntityRef, MemoryIndex, ModuleTranslation,
111 let index = DefinedMemoryIndex::new(0); in new()
/wasmtime-44.0.1/crates/environ/src/
H A Dmodule.rs474 pub fn memory_index(&self, defined_memory: DefinedMemoryIndex) -> MemoryIndex { in memory_index()
481 pub fn defined_memory_index(&self, memory: MemoryIndex) -> Option<DefinedMemoryIndex> { in defined_memory_index() argument
485 Some(DefinedMemoryIndex::new( in defined_memory_index()
494 pub fn owned_memory_index(&self, memory: DefinedMemoryIndex) -> OwnedMemoryIndex { in owned_memory_index()
H A Dvmoffsets.rs37 DefinedGlobalIndex, DefinedMemoryIndex, DefinedTableIndex, DefinedTagIndex, FuncIndex,
1006 pub fn vmctx_vmmemory_pointer(&self, index: DefinedMemoryIndex) -> u32 { in vmctx_vmmemory_pointer()
H A Dtypes.rs1587 pub struct DefinedMemoryIndex(u32); struct
1588 entity_impl_with_try_clone!(DefinedMemoryIndex);
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dmemory.rs13 use wasmtime_environ::DefinedMemoryIndex;
218 index: DefinedMemoryIndex,
656 pub(crate) unsafe fn from_raw(instance: StoreInstanceId, index: DefinedMemoryIndex) -> Memory { in from_raw()
H A Dvm.rs48 use wasmtime_environ::{DefinedMemoryIndex, HostPtr, VMOffsets, VMSharedTypeIndex};
348 fn memory_image(&self, memory: DefinedMemoryIndex) -> crate::Result<Option<&Arc<MemoryImage>>> { in memory_image()