| /wasmtime-44.0.1/crates/fiber/src/ |
| H A D | lib.rs | 42 pub struct FiberStack(imp::FiberStack); struct 48 _assert_send::<FiberStack>(); in _assert_send_sync() 49 _assert_sync::<FiberStack>(); in _assert_send_sync() 54 impl FiberStack { impl 131 stack: Option<FiberStack>, 175 stack: FiberStack, in new() argument 228 pub fn stack(&self) -> &FiberStack { in stack() argument 233 pub fn into_stack(mut self) -> FiberStack { in into_stack() argument 297 use super::{Fiber, FiberStack}; 302 fn fiber_stack(size: usize) -> FiberStack { in fiber_stack() argument [all …]
|
| H A D | nostd.rs | 39 pub struct FiberStack { struct 64 impl FiberStack { impl 74 Ok(FiberStack { in new() 82 Ok(FiberStack { in from_raw_parts() 131 pub fn new<F, A, B, C>(stack: &FiberStack, func: F) -> Result<Self> in new() argument 148 pub(crate) fn resume<A, B, C>(&self, stack: &FiberStack, result: &Cell<RunResult<A, B, C>>) { in resume() argument
|
| H A D | unix.rs | 44 pub struct FiberStack { struct 81 impl FiberStack { impl 98 Ok(FiberStack { in new() 111 Ok(FiberStack { in from_raw_parts() 135 Ok(FiberStack { in from_custom() 247 pub fn new<F, A, B, C>(stack: &FiberStack, func: F) -> Result<Self> in new() argument 264 pub(crate) fn resume<A, B, C>(&self, stack: &FiberStack, result: &Cell<RunResult<A, B, C>>) { in resume() argument 346 pub fn new(stack: &FiberStack) -> PreviousStack { in new() 509 pub fn new(_stack: &FiberStack) -> PreviousStack { in new()
|
| H A D | miri.rs | 29 pub struct FiberStack(usize); struct 31 impl FiberStack { impl 33 Ok(FiberStack(size)) in new() 136 pub fn new<F, A, B, C>(stack: &FiberStack, func: F) -> Result<Self> in new() argument 169 pub(crate) fn resume<A, B, C>(&self, _stack: &FiberStack, result: &Cell<RunResult<A, B, C>>) { in resume() argument
|
| H A D | windows.rs | 15 pub struct FiberStack(usize); struct 17 impl FiberStack { impl 105 pub fn new<F, A, B, C>(stack: &FiberStack, func: F) -> io::Result<Self> in new() argument 133 pub(crate) fn resume<A, B, C>(&self, _stack: &FiberStack, result: &Cell<RunResult<A, B, C>>) { in resume() argument
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/ |
| H A D | generic_stack_pool.rs | 49 pub fn allocate(&self) -> Result<wasmtime_fiber::FiberStack> { in allocate() argument 64 match wasmtime_fiber::FiberStack::new(self.stack_size, self.stack_zeroing) { in allocate() 82 _stack: &mut wasmtime_fiber::FiberStack, in zero_stack() argument 91 pub unsafe fn deallocate(&self, stack: wasmtime_fiber::FiberStack, _bytes_resident: usize) { in deallocate() argument
|
| H A D | decommit_queue.rs | 17 use wasmtime_fiber::FiberStack; 46 struct SendSyncStack(FiberStack); 155 pub unsafe fn push_stack(&mut self, stack: FiberStack, bytes_resident: usize) { in push_stack() argument
|
| H A D | unix_stack_pool.rs | 98 pub fn allocate(&self) -> Result<wasmtime_fiber::FiberStack> { in allocate() argument 126 let stack = wasmtime_fiber::FiberStack::from_raw_parts( in allocate() 152 stack: &mut wasmtime_fiber::FiberStack, in zero_stack() argument 224 pub unsafe fn deallocate(&self, stack: wasmtime_fiber::FiberStack, bytes_resident: usize) { in deallocate() argument
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/ |
| H A D | on_demand.rs | 183 fn allocate_fiber_stack(&self) -> Result<wasmtime_fiber::FiberStack> { in allocate_fiber_stack() argument 190 wasmtime_fiber::FiberStack::from_custom(stack) in allocate_fiber_stack() 192 None => wasmtime_fiber::FiberStack::new(self.stack_size, self.stack_zeroing), in allocate_fiber_stack() 198 unsafe fn deallocate_fiber_stack(&self, stack: wasmtime_fiber::FiberStack) { in deallocate_fiber_stack() argument
|
| H A D | pooling.rs | 837 fn allocate_fiber_stack(&self) -> Result<wasmtime_fiber::FiberStack> { in allocate_fiber_stack() argument 844 unsafe fn deallocate_fiber_stack(&self, mut stack: wasmtime_fiber::FiberStack) { in deallocate_fiber_stack() argument
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/store/ |
| H A D | async_.rs | 183 pub(crate) fn allocate_fiber_stack(&mut self) -> Result<wasmtime_fiber::FiberStack> { in allocate_fiber_stack() argument 190 pub(crate) fn deallocate_fiber_stack(&mut self, stack: wasmtime_fiber::FiberStack) { in deallocate_fiber_stack() argument
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | fiber.rs | 11 use wasmtime_fiber::{Fiber, FiberStack, Suspend}; 86 last_fiber_stack: Option<wasmtime_fiber::FiberStack>, 117 pub(crate) fn last_fiber_stack(&mut self) -> &mut Option<wasmtime_fiber::FiberStack> { in last_fiber_stack() argument 444 fn take_fiber_stack(&mut self) -> Option<FiberStack> { in take_fiber_stack() argument
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/ |
| H A D | memory.rs | 232 fn allocate_fiber_stack(&self) -> Result<wasmtime_fiber::FiberStack> { in allocate_fiber_stack() argument 237 unsafe fn deallocate_fiber_stack(&self, _stack: wasmtime_fiber::FiberStack) { in deallocate_fiber_stack() argument
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/ |
| H A D | allocator.rs | 239 fn allocate_fiber_stack(&self) -> Result<wasmtime_fiber::FiberStack>; in allocate_fiber_stack() argument 249 unsafe fn deallocate_fiber_stack(&self, stack: wasmtime_fiber::FiberStack); in deallocate_fiber_stack() argument
|