Home
last modified time | relevance | path

Searched defs:FiberStack (Results 1 – 14 of 14) sorted by relevance

/wasmtime-44.0.1/crates/fiber/src/
H A Dnostd.rs39 pub struct FiberStack { struct
40 base: BasePtr,
64 impl FiberStack { argument
131 pub fn new<F, A, B, C>(stack: &FiberStack, func: F) -> Result<Self> in new()
148 pub(crate) fn resume<A, B, C>(&self, stack: &FiberStack, result: &Cell<RunResult<A, B, C>>) { in resume()
H A Dlib.rs42 pub struct FiberStack(imp::FiberStack); struct
54 impl FiberStack { implementation
175 stack: FiberStack, in new()
228 pub fn stack(&self) -> &FiberStack { in stack()
233 pub fn into_stack(mut self) -> FiberStack { in into_stack()
302 fn fiber_stack(size: usize) -> FiberStack { in fiber_stack()
H A Dwindows.rs15 pub struct FiberStack(usize); struct
17 impl FiberStack { implementation
105 pub fn new<F, A, B, C>(stack: &FiberStack, func: F) -> io::Result<Self> in new()
133 pub(crate) fn resume<A, B, C>(&self, _stack: &FiberStack, result: &Cell<RunResult<A, B, C>>) { in resume()
H A Dunix.rs44 pub struct FiberStack { struct
48 /// Stored here to ensure that when this `FiberStack` the backing storage, argument
50 storage: FiberStackStorage, argument
81 impl FiberStack { implementation
247 pub fn new<F, A, B, C>(stack: &FiberStack, func: F) -> Result<Self> in new()
264 pub(crate) fn resume<A, B, C>(&self, stack: &FiberStack, result: &Cell<RunResult<A, B, C>>) { in resume()
H A Dmiri.rs29 pub struct FiberStack(usize); struct
31 impl FiberStack { implementation
136 pub fn new<F, A, B, C>(stack: &FiberStack, func: F) -> Result<Self> in new()
169 pub(crate) fn resume<A, B, C>(&self, _stack: &FiberStack, result: &Cell<RunResult<A, B, C>>) { in resume()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/
H A Dgeneric_stack_pool.rs49 pub fn allocate(&self) -> Result<wasmtime_fiber::FiberStack> { in allocate()
82 _stack: &mut wasmtime_fiber::FiberStack, in zero_stack()
91 pub unsafe fn deallocate(&self, stack: wasmtime_fiber::FiberStack, _bytes_resident: usize) { in deallocate()
H A Dunix_stack_pool.rs98 pub fn allocate(&self) -> Result<wasmtime_fiber::FiberStack> { in allocate()
152 stack: &mut wasmtime_fiber::FiberStack, in zero_stack()
224 pub unsafe fn deallocate(&self, stack: wasmtime_fiber::FiberStack, bytes_resident: usize) { in deallocate()
H A Ddecommit_queue.rs155 pub unsafe fn push_stack(&mut self, stack: FiberStack, bytes_resident: usize) { in push_stack()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/store/
H A Dasync_.rs183 pub(crate) fn allocate_fiber_stack(&mut self) -> Result<wasmtime_fiber::FiberStack> { in allocate_fiber_stack()
190 pub(crate) fn deallocate_fiber_stack(&mut self, stack: wasmtime_fiber::FiberStack) { in deallocate_fiber_stack()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/
H A Don_demand.rs183 fn allocate_fiber_stack(&self) -> Result<wasmtime_fiber::FiberStack> { in allocate_fiber_stack()
198 unsafe fn deallocate_fiber_stack(&self, stack: wasmtime_fiber::FiberStack) { in deallocate_fiber_stack()
H A Dpooling.rs837 fn allocate_fiber_stack(&self) -> Result<wasmtime_fiber::FiberStack> { in allocate_fiber_stack()
844 unsafe fn deallocate_fiber_stack(&self, mut stack: wasmtime_fiber::FiberStack) { in deallocate_fiber_stack()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/
H A Dmemory.rs232 fn allocate_fiber_stack(&self) -> Result<wasmtime_fiber::FiberStack> { in allocate_fiber_stack()
237 unsafe fn deallocate_fiber_stack(&self, _stack: wasmtime_fiber::FiberStack) { in deallocate_fiber_stack()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dfiber.rs117 pub(crate) fn last_fiber_stack(&mut self) -> &mut Option<wasmtime_fiber::FiberStack> { in last_fiber_stack()
444 fn take_fiber_stack(&mut self) -> Option<FiberStack> { in take_fiber_stack()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/
H A Dallocator.rs239 fn allocate_fiber_stack(&self) -> Result<wasmtime_fiber::FiberStack>; in allocate_fiber_stack()
249 unsafe fn deallocate_fiber_stack(&self, stack: wasmtime_fiber::FiberStack); in deallocate_fiber_stack()