Searched refs:new_len (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | mremap.c | 320 unsigned long new_len, unsigned long new_addr, in move_vma() argument 355 new_vma = copy_vma(&vma, new_addr, new_len, new_pgoff, in move_vma() 377 old_len = new_len; in move_vma() 383 new_addr, new_addr + new_len); in move_vma() 405 vm_stat_account(mm, vma->vm_flags, new_len >> PAGE_SHIFT); in move_vma() 426 mm->locked_vm += new_len >> PAGE_SHIFT; in move_vma() 434 unsigned long old_len, unsigned long new_len, unsigned long *p) in vma_to_resize() argument 463 if (new_len == old_len) in vma_to_resize() 469 if (pgoff + (new_len >> PAGE_SHIFT) < pgoff) in vma_to_resize() 479 locked += new_len - old_len; in vma_to_resize() [all …]
|
D | nommu.c | 1594 unsigned long old_len, unsigned long new_len, in do_mremap() argument 1601 new_len = PAGE_ALIGN(new_len); in do_mremap() 1602 if (old_len == 0 || new_len == 0) in do_mremap() 1621 if (new_len > vma->vm_region->vm_end - vma->vm_region->vm_start) in do_mremap() 1625 vma->vm_end = vma->vm_start + new_len; in do_mremap() 1630 unsigned long, new_len, unsigned long, flags, in SYSCALL_DEFINE5() argument 1636 ret = do_mremap(addr, old_len, new_len, flags, new_addr); in SYSCALL_DEFINE5()
|