Lines Matching refs:HostAlignedByteCount
6 use crate::runtime::vm::{HostAlignedByteCount, Mmap, mmap::AlignedLength};
40 extra_to_reserve_on_growth: HostAlignedByteCount,
44 pre_guard_size: HostAlignedByteCount,
45 offset_guard_size: HostAlignedByteCount,
63 HostAlignedByteCount::new_rounded_up_u64(tunables.memory_guard_size) in new()
68 HostAlignedByteCount::ZERO in new()
96 let alloc_bytes = HostAlignedByteCount::new_rounded_up_u64(alloc_bytes) in new()
99 HostAlignedByteCount::new_rounded_up_u64(extra_to_reserve_on_growth) in new()
107 let mmap = Mmap::accessible_reserved(HostAlignedByteCount::ZERO, request_bytes)?; in new()
110 let accessible = HostAlignedByteCount::new_rounded_up(minimum)?; in new()
130 fn accessible(&self) -> HostAlignedByteCount { in accessible() argument
131 let accessible = HostAlignedByteCount::new_rounded_up(self.len) in accessible()
138 fn current_capacity(&self) -> HostAlignedByteCount { in current_capacity() argument
157 let new_accessible = HostAlignedByteCount::new_rounded_up(new_size)?; in grow_to()
172 Mmap::accessible_reserved(HostAlignedByteCount::ZERO, request_bytes)?; in grow_to()