Lines Matching refs:PAGE_SIZE
172 PageFrameCount::new(vma_guard.region.size() / MMArch::PAGE_SIZE), in try_clone()
208 new_frame.copy_from_nonoverlapping(current_frame, MMArch::PAGE_SIZE); in try_clone()
501 assert!(new_brk.check_aligned(MMArch::PAGE_SIZE)); in set_brk()
673 if requested.end() >= MMArch::USER_END_VADDR || !vaddr.check_aligned(MMArch::PAGE_SIZE) { in find_free_at()
885 assert!(region.start().check_aligned(MMArch::PAGE_SIZE)); in extract()
886 assert!(region.end().check_aligned(MMArch::PAGE_SIZE)); in extract()
1063 region: VirtRegion::new(destination.virt_address(), count.data() * MMArch::PAGE_SIZE), in physmap()
1110 page_count.data() * MMArch::PAGE_SIZE, in zeroed()
1128 MMArch::write_bytes(vaddr, 0, MMArch::PAGE_SIZE); in zeroed()
1188 assert!(stack_bottom.check_aligned(MMArch::PAGE_SIZE)); in new()
1191 let guard_size = Self::GUARD_PAGES_NUM * MMArch::PAGE_SIZE; in new()
1320 return self.mapped_size - Self::GUARD_PAGES_NUM * MMArch::PAGE_SIZE; in stack_size()