Lines Matching defs:grow
212 * segment grow beyond its set limit the in case where the limit is
1972 * grow-up and grow-down cases.
1975 unsigned long size, unsigned long grow)
1981 if (!may_expand_vm(mm, vma->vm_flags, grow))
1989 if (!mlock_future_ok(mm, vma->vm_flags, grow << PAGE_SHIFT))
1992 /* Check to ensure the stack will not grow into a hugetlb-only region */
2002 if (security_vm_enough_memory_mm(mm, grow))
2068 unsigned long size, grow;
2071 grow = (address - vma->vm_end) >> PAGE_SHIFT;
2075 error = acct_stack_growth(vma, size, grow);
2088 mm->locked_vm += grow;
2089 vm_stat_account(mm, vma->vm_flags, grow);
2160 unsigned long size, grow;
2163 grow = (vma->vm_start - address) >> PAGE_SHIFT;
2166 if (grow <= vma->vm_pgoff) {
2167 error = acct_stack_growth(vma, size, grow);
2180 mm->locked_vm += grow;
2181 vm_stat_account(mm, vma->vm_flags, grow);
2184 vma->vm_pgoff -= grow;