Home
last modified time | relevance | path

Searched refs:start_vaddr (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/mm/
H A Dsyscall.rs300 start_vaddr: VirtAddr, in mmap()
310 if start_vaddr < VirtAddr::new(DEFAULT_MMAP_MIN_ADDR) in mmap()
329 start_vaddr, in mmap()
339 start_vaddr, in mmap()
450 pub fn munmap(start_vaddr: VirtAddr, len: usize) -> Result<usize, SystemError> { in munmap()
451 assert!(start_vaddr.check_aligned(MMArch::PAGE_SIZE)); in munmap()
454 if unlikely(verify_area(start_vaddr, len).is_err()) { in munmap()
462 let start_frame = VirtPageFrame::new(start_vaddr); in munmap()
481 start_vaddr: VirtAddr, in mprotect()
485 assert!(start_vaddr.check_aligned(MMArch::PAGE_SIZE)); in mprotect()
[all …]
H A Dno_init.rs85 let start_vaddr = &self.pages[0] as *const EarlyRemapPage as usize; in free_page() localVariable
86 let offset = addr.data() - start_vaddr; in free_page()
H A Ducontext.rs248 start_vaddr: VirtAddr, in map_anonymous()
282 round_hint_to_min(start_vaddr), in map_anonymous()
324 start_vaddr: VirtAddr, in file_mapping()
376 round_hint_to_min(start_vaddr), in file_mapping()
407 let _ = file.inode().mmap(start_vaddr.data(), len, offset); in file_mapping()