| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/ |
| H A D | unix_stack_pool.rs | 23 stack_size: HostAlignedByteCount, field 43 let stack_size = if config.stack_size == 0 { in new() localVariable 53 let allocation_size = stack_size in new() 81 stack_size, in new() 99 if self.stack_size.is_zero() { in allocate() 157 !self.stack_size.is_zero(), in zero_stack() 178 let stack_size = self.stack_size.checked_sub(self.page_size).expect( in zero_stack() localVariable 195 let rest = stack_size in zero_stack() 239 let stack_size = self.stack_size.byte_count() - self.page_size.byte_count(); in deallocate() localVariable 240 let bottom_of_stack = top - stack_size; in deallocate() [all …]
|
| H A D | generic_stack_pool.rs | 24 stack_size: usize, field 38 stack_size: config.stack_size, in new() 50 if self.stack_size == 0 { in allocate() 64 match wasmtime_fiber::FiberStack::new(self.stack_size, self.stack_zeroing) { in allocate()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/ |
| H A D | on_demand.rs | 34 stack_size: usize, field 43 stack_size: usize, in new() 46 let _ = (stack_size, stack_zeroing); // suppress warnings when async feature is disabled. in new() 52 stack_size, in new() 72 stack_size: 0, in default() 184 if self.stack_size == 0 { in allocate_fiber_stack() 189 let stack = stack_creator.new_stack(self.stack_size, self.stack_zeroing)?; in allocate_fiber_stack() 192 None => wasmtime_fiber::FiberStack::new(self.stack_size, self.stack_zeroing), in allocate_fiber_stack()
|
| H A D | pooling.rs | 208 pub stack_size: usize, field 243 stack_size: 2 << 20, in default() 954 stack_size: 128, in test_stack_zeroed() 994 stack_size: 128, in test_stack_unzeroed()
|
| /wasmtime-44.0.1/winch/codegen/src/frame/ |
| H A D | mod.rs | 42 pub stack_size: u32, field 73 stack_size: next_stack, in new() 116 defined_locals_start + defined_locals.stack_size, in new() 156 defined_locals_start..(defined_locals_start + defined_locals.stack_size), in new()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/ |
| H A D | abi.rs | 482 let stack_size = frame_layout.clobber_size localVariable 488 if stack_size > 0 { 489 insts.extend(Self::gen_sp_reg_adjust(-(stack_size as i32))); 501 AMode::SPOffset(i64::from(stack_size - cur_offset - ty.bytes())), 517 assert!(cur_offset <= stack_size); 530 let stack_size = frame_layout.clobber_size localVariable 545 AMode::SPOffset(i64::from(stack_size - cur_offset - ty.bytes())), 552 if stack_size > 0 { 553 insts.extend(Self::gen_sp_reg_adjust(stack_size as i32));
|
| /wasmtime-44.0.1/crates/wmemcheck/src/ |
| H A D | lib.rs | 181 pub fn set_stack_size(&mut self, stack_size: usize) { in set_stack_size() 182 self.max_stack_size = stack_size + 1; in set_stack_size() 185 self.stack_pointer = stack_size; in set_stack_size()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/ |
| H A D | abi.rs | 716 let stack_size = frame_layout.fixed_frame_storage_size localVariable 719 if stack_size > 0 { 721 let stack_size = i32::try_from(stack_size) localVariable 723 insts.push(Inst::subq_mi(rsp, stack_size)); 796 let stack_size = frame_layout.fixed_frame_storage_size localVariable 801 if stack_size > 0 { 803 let stack_size = i32::try_from(stack_size) localVariable 805 insts.push(Inst::addq_mi(rsp, stack_size));
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/ |
| H A D | abi.rs | 775 let stack_size = frame_layout.outgoing_args_size as i32 localVariable 779 insts.extend(Self::gen_sp_reg_adjust(-stack_size)); 783 size: stack_size as u32, 1226 let stack_size = frame_layout.outgoing_args_size as i32 localVariable 1232 SImm20::maybe_from_i64(8 * first as i64 + stack_size as i64).is_some() 1236 stack_size - callee_pop_size as i32, 1246 offset += stack_size as i64 - callee_pop_size as i64;
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/ |
| H A D | abi.rs | 958 let stack_size = frame_layout.fixed_frame_storage_size + frame_layout.outgoing_args_size; localVariable 959 if stack_size > 0 { 960 insts.extend(Self::gen_sp_reg_adjust(-(stack_size as i32))); 963 inst: UnwindInst::StackAlloc { size: stack_size }, 980 let stack_size = frame_layout.fixed_frame_storage_size + frame_layout.outgoing_args_size; localVariable 981 if stack_size > 0 { 982 insts.extend(Self::gen_sp_reg_adjust(stack_size as i32));
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | stack_switching.rs | 309 let stack_size = store.engine().config().async_stack_size; in cont_new() localVariable 339 tsp as usize - stack_size, in cont_new()
|
| /wasmtime-44.0.1/crates/wasmtime/src/ |
| H A D | config.rs | 2528 let (stack_size, stack_zeroing) = (self.async_stack_size, self.async_stack_zeroing); in build_allocator() 2531 let (stack_size, stack_zeroing) = (0, false); in build_allocator() 2539 stack_size, in build_allocator() 2551 config.stack_size = stack_size; in build_allocator()
|
| /wasmtime-44.0.1/crates/cli-flags/src/ |
| H A D | lib.rs | 30 if let Some(stack_size) = thread.stack_size() { in init_file_per_thread_logger() 31 b = b.stack_size(stack_size); in init_file_per_thread_logger()
|
| /wasmtime-44.0.1/crates/fiber/src/ |
| H A D | miri.rs | 152 .stack_size(stack.0) in new()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/ |
| H A D | abi.rs | 631 fn stack_size(&self) -> u32 { in stack_size() method 641 self.stack_size(), in pulley_frame_style() 716 let mut offset = self.stack_size(); in manually_managed_clobbers()
|
| /wasmtime-44.0.1/crates/wasmtime/tests/ |
| H A D | host_segfault.rs | 383 .stack_size(2 << 20) in overrun_with_big_module()
|
| /wasmtime-44.0.1/cranelift/codegen/src/machinst/ |
| H A D | abi.rs | 1355 stack_size: u32, in insert_stack_check() 1361 if stack_size == 0 { in insert_stack_check() 1370 if stack_size >= 32 * 1024 { in insert_stack_check() 1386 stack_size, in insert_stack_check()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | store.rs | 2576 let stack_size = self.engine.config().async_stack_size; in allocate_continuation() localVariable 2577 let stack = crate::vm::VMContinuationStack::new(stack_size)?; in allocate_continuation()
|
| /wasmtime-44.0.1/pulley/src/ |
| H A D | interp.rs | 40 pub fn with_stack(stack_size: usize) -> Result<Self, OutOfMemory> { in with_stack() 42 state: MachineState::with_stack(stack_size)?, in with_stack() 894 fn with_stack(stack_size: usize) -> Result<Self, OutOfMemory> { in with_stack() 900 stack: Stack::new(stack_size)?, in with_stack()
|