Lines Matching refs:HostAlignedByteCount
4 use super::HostAlignedByteCount;
68 let rounded_size = HostAlignedByteCount::new_rounded_up(size)?; in with_at_least()
81 accessible_size: HostAlignedByteCount, in accessible_reserved() argument
82 mapping_size: HostAlignedByteCount, in accessible_reserved() argument
107 .make_accessible(HostAlignedByteCount::ZERO, accessible_size) in accessible_reserved()
132 pub fn len_aligned(&self) -> HostAlignedByteCount { in len_aligned() argument
134 unsafe { HostAlignedByteCount::new_unchecked(self.sys.len()) } in len_aligned()
140 pub fn offset(self: &Arc<Self>, offset: HostAlignedByteCount) -> Result<MmapOffset> { in offset()
154 MmapOffset::new(self.clone(), HostAlignedByteCount::ZERO) in zero_offset()
171 start: HostAlignedByteCount, in make_accessible() argument
172 len: HostAlignedByteCount, in make_accessible() argument
398 offset: HostAlignedByteCount,
403 fn new(mmap: Arc<Mmap<AlignedLength>>, offset: HostAlignedByteCount) -> Self { in new()
421 pub fn offset(&self) -> HostAlignedByteCount { in offset() argument
450 memory_offset: HostAlignedByteCount, in map_image_at() argument
451 memory_len: HostAlignedByteCount, in map_image_at() argument
475 let page_size = HostAlignedByteCount::host_page_size(); in mprotect_zero_length()
483 mem.make_accessible(pagex3, HostAlignedByteCount::ZERO) in mprotect_zero_length()