Lines Matching refs:PAGE_SIZE
290 VirtRegion::new(page.virt_address(), count.data() * MMArch::PAGE_SIZE), in map_anonymous()
369 if !offset & (MMArch::PAGE_SIZE - 1) == 0 { in file_mapping()
393 VirtRegion::new(page.virt_address(), count.data() * MMArch::PAGE_SIZE), in file_mapping()
518 if !new_vaddr.check_aligned(MMArch::PAGE_SIZE) { in mremap()
750 assert!(new_brk.check_aligned(MMArch::PAGE_SIZE)); in set_brk()
963 if requested.end() >= MMArch::USER_END_VADDR || !vaddr.check_aligned(MMArch::PAGE_SIZE) { in find_free_at()
1203 assert!(region.start().check_aligned(MMArch::PAGE_SIZE)); in extract()
1204 assert!(region.end().check_aligned(MMArch::PAGE_SIZE)); in extract()
1564 VirtRegion::new(destination.virt_address(), count.data() * MMArch::PAGE_SIZE), in physmap()
1631 page_count.data() * MMArch::PAGE_SIZE, in zeroed()
1723 assert!(stack_bottom.check_aligned(MMArch::PAGE_SIZE)); in new()
1726 let guard_size = Self::GUARD_PAGES_NUM * MMArch::PAGE_SIZE; in new()
1860 return self.mapped_size - Self::GUARD_PAGES_NUM * MMArch::PAGE_SIZE; in stack_size()