Lines Matching refs:VirtAddr
19 verify_area, MsFlags, VirtAddr, VmFlags,
253 pub fn brk(new_addr: VirtAddr) -> Result<VirtAddr, SystemError> { in brk() argument
267 .set_brk(VirtAddr::new(page_align_up(new_addr.data()))) in brk()
274 pub fn sbrk(incr: isize) -> Result<VirtAddr, SystemError> { in sbrk() argument
300 start_vaddr: VirtAddr, in mmap() argument
310 if start_vaddr < VirtAddr::new(DEFAULT_MMAP_MIN_ADDR) in mmap()
368 old_vaddr: VirtAddr, in mremap() argument
372 new_vaddr: VirtAddr, in mremap() argument
377 || new_vaddr == VirtAddr::new(0)) in mremap()
450 pub fn munmap(start_vaddr: VirtAddr, len: usize) -> Result<usize, SystemError> { in munmap() argument
481 start_vaddr: VirtAddr, in mprotect() argument
516 start_vaddr: VirtAddr, in madvise() argument
551 pub fn msync(start: VirtAddr, len: usize, flags: usize) -> Result<usize, SystemError> { in msync() argument
589 .find_nearest(VirtAddr::new(start)); in msync()
636 .find_nearest(VirtAddr::new(start)); in msync()
646 .find_nearest(VirtAddr::new(vm_end)); in msync()