Lines Matching refs:PAGE_SIZE
180 PageFrameCount::new(vma_guard.region.size() / MMArch::PAGE_SIZE), in try_clone()
217 new_frame.copy_from_nonoverlapping(current_frame, MMArch::PAGE_SIZE); in try_clone()
401 if !new_vaddr.check_aligned(MMArch::PAGE_SIZE) { in mremap()
589 assert!(new_brk.check_aligned(MMArch::PAGE_SIZE)); in set_brk()
762 if requested.end() >= MMArch::USER_END_VADDR || !vaddr.check_aligned(MMArch::PAGE_SIZE) { in find_free_at()
974 assert!(region.start().check_aligned(MMArch::PAGE_SIZE)); in extract()
975 assert!(region.end().check_aligned(MMArch::PAGE_SIZE)); in extract()
1201 region: VirtRegion::new(destination.virt_address(), count.data() * MMArch::PAGE_SIZE), in physmap()
1251 page_count.data() * MMArch::PAGE_SIZE, in zeroed()
1271 MMArch::write_bytes(vaddr, 0, MMArch::PAGE_SIZE); in zeroed()
1331 assert!(stack_bottom.check_aligned(MMArch::PAGE_SIZE)); in new()
1334 let guard_size = Self::GUARD_PAGES_NUM * MMArch::PAGE_SIZE; in new()
1463 return self.mapped_size - Self::GUARD_PAGES_NUM * MMArch::PAGE_SIZE; in stack_size()