Home
last modified time | relevance | path

Searched refs:alloc_size (Results 1 – 3 of 3) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Dfree_list.rs165 alloc_size in check_layout()
181 debug_assert_eq!(alloc_size % ALIGN_U32, 0); in first_fit()
202 debug_assert_eq!(alloc_size % ALIGN_U32, 0); in maybe_split()
206 if block_len - alloc_size < ALIGN_U32 { in maybe_split()
213 let new_block_len = alloc_size; in maybe_split()
214 let split_start = block_index + alloc_size; in maybe_split()
215 let split_len = block_len - alloc_size; in maybe_split()
238 let alloc_size = self.check_layout(layout)?; in alloc() localVariable
239 debug_assert_eq!(alloc_size % ALIGN_U32, 0); in alloc()
247 debug_assert!(block_len >= alloc_size); in alloc()
[all …]
/wasmtime-44.0.1/cranelift/jit/src/memory/
H A Dsystem.rs39 let alloc_size = region::page::ceil(size as *const ()) as usize; in with_size() localVariable
40 MmapMut::map_anon(alloc_size).map(|mut mmap| { in with_size()
46 len: alloc_size, in with_size()
55 let alloc_size = region::page::ceil(size as *const ()) as usize; in with_size() localVariable
56 let layout = alloc::Layout::from_size_align(alloc_size, page_size).unwrap(); in with_size()
63 len: alloc_size, in with_size()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/sys/unix/
H A Dsignals.rs521 let alloc_size = guard_size + MIN_STACK_SIZE; in lazy_per_thread_init() localVariable
526 alloc_size, in lazy_per_thread_init()
559 mmap_size: alloc_size, in lazy_per_thread_init()