Home
last modified time | relevance | path

Searched refs:old_len (Results 1 – 2 of 2) sorted by relevance

/mm/
Dmremap.c249 unsigned long old_addr, unsigned long old_len, in move_vma() argument
277 err = ksm_madvise(vma, old_addr, old_addr + old_len, in move_vma()
288 moved_len = move_page_tables(vma, old_addr, new_vma, new_addr, old_len, in move_vma()
290 if (moved_len < old_len) { in move_vma()
305 old_len = new_len; in move_vma()
309 arch_remap(mm, old_addr, old_addr + old_len, in move_vma()
316 excess = vma->vm_end - vma->vm_start - old_len; in move_vma()
318 old_addr + old_len < vma->vm_end) in move_vma()
334 if (do_munmap(mm, old_addr, old_len) < 0) { in move_vma()
357 unsigned long old_len, unsigned long new_len, unsigned long *p) in vma_to_resize() argument
[all …]
Dnommu.c1724 unsigned long old_len, unsigned long new_len, in do_mremap() argument
1730 old_len = PAGE_ALIGN(old_len); in do_mremap()
1732 if (old_len == 0 || new_len == 0) in do_mremap()
1741 vma = find_vma_exact(current->mm, addr, old_len); in do_mremap()
1745 if (vma->vm_end != vma->vm_start + old_len) in do_mremap()
1759 SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, in SYSCALL_DEFINE5() argument
1766 ret = do_mremap(addr, old_len, new_len, flags, new_addr); in SYSCALL_DEFINE5()