Lines Matching defs:grow
218 * segment grow beyond its set limit the in case where the limit is
1931 * grow-up and grow-down cases.
1934 unsigned long size, unsigned long grow)
1940 if (!may_expand_vm(mm, vma->vm_flags, grow))
1948 if (!mlock_future_ok(mm, vma->vm_flags, grow << PAGE_SHIFT))
1951 /* Check to ensure the stack will not grow into a hugetlb-only region */
1961 if (security_vm_enough_memory_mm(mm, grow))
2027 unsigned long size, grow;
2030 grow = (address - vma->vm_end) >> PAGE_SHIFT;
2034 error = acct_stack_growth(vma, size, grow);
2047 mm->locked_vm += grow;
2048 vm_stat_account(mm, vma->vm_flags, grow);
2120 unsigned long size, grow;
2123 grow = (vma->vm_start - address) >> PAGE_SHIFT;
2126 if (grow <= vma->vm_pgoff) {
2127 error = acct_stack_growth(vma, size, grow);
2140 mm->locked_vm += grow;
2141 vm_stat_account(mm, vma->vm_flags, grow);
2144 vma->vm_pgoff -= grow;
2242 * IA64 stacks grow down, but there's a special register backing store
2243 * that can grow up. Only sequentially, though, so the new address must