Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/
H A Dsyscall.rs368 old_vaddr: VirtAddr, in mremap()
390 if !old_vaddr.check_aligned(MMArch::PAGE_SIZE) { in mremap()
404 let vma = current_address_space.read().mappings.contains(old_vaddr); in mremap()
419 Self::munmap(old_vaddr + new_len, old_len - new_len)?; in mremap()
420 return Ok(old_vaddr.data()); in mremap()
425 old_vaddr, in mremap()
434 Self::munmap(old_vaddr, old_len)?; in mremap()
H A Ducontext.rs515 old_vaddr: VirtAddr, in mremap()
528 let old_region = VirtRegion::new(old_vaddr, old_len); in mremap()
553 UserBufferReader::new(old_vaddr.data() as *const u8, old_len, true)?; in mremap()
/DragonOS/kernel/src/syscall/
H A Dmod.rs602 let old_vaddr = VirtAddr::new(args[0]); in handle() localVariable
608 Self::mremap(old_vaddr, old_len, new_len, mremap_flags, new_vaddr) in handle()