Searched refs:new_len (Results 1 – 3 of 3) sorted by relevance
/mm/ |
D | mremap.c | 618 unsigned long new_len, unsigned long new_addr, in move_vma() argument 662 if (security_vm_enough_memory_mm(mm, new_len >> PAGE_SHIFT)) in move_vma() 667 new_vma = copy_vma(&vma, new_addr, new_len, new_pgoff, in move_vma() 671 vm_unacct_memory(new_len >> PAGE_SHIFT); in move_vma() 692 old_len = new_len; in move_vma() 718 vm_stat_account(mm, vma->vm_flags, new_len >> PAGE_SHIFT); in move_vma() 750 mm->locked_vm += new_len >> PAGE_SHIFT; in move_vma() 767 unsigned long old_len, unsigned long new_len, unsigned long flags, in vma_to_resize() argument 802 if (new_len == old_len) in vma_to_resize() 808 if (pgoff + (new_len >> PAGE_SHIFT) < pgoff) in vma_to_resize() [all …]
|
D | nommu.c | 1560 unsigned long old_len, unsigned long new_len, in do_mremap() argument 1567 new_len = PAGE_ALIGN(new_len); in do_mremap() 1568 if (old_len == 0 || new_len == 0) in do_mremap() 1587 if (new_len > vma->vm_region->vm_end - vma->vm_region->vm_start) in do_mremap() 1591 vma->vm_end = vma->vm_start + new_len; in do_mremap() 1596 unsigned long, new_len, unsigned long, flags, in SYSCALL_DEFINE5() argument 1602 ret = do_mremap(addr, old_len, new_len, flags, new_addr); in SYSCALL_DEFINE5()
|
D | readahead.c | 679 loff_t new_start, size_t new_len) in readahead_expand() argument 708 new_len += new_start - readahead_pos(ractl); in readahead_expand() 709 new_nr_pages = DIV_ROUND_UP(new_len, PAGE_SIZE); in readahead_expand()
|