Lines Matching defs:grow
232 * segment grow beyond its set limit the in case where the limit is
2404 * grow-up and grow-down cases.
2407 unsigned long size, unsigned long grow)
2413 if (!may_expand_vm(mm, vma->vm_flags, grow))
2424 locked = mm->locked_vm + grow;
2431 /* Check to ensure the stack will not grow into a hugetlb-only region */
2441 if (security_vm_enough_memory_mm(mm, grow))
2495 unsigned long size, grow;
2498 grow = (address - vma->vm_end) >> PAGE_SHIFT;
2502 error = acct_stack_growth(vma, size, grow);
2517 mm->locked_vm += grow;
2518 vm_stat_account(mm, vma->vm_flags, grow);
2575 unsigned long size, grow;
2578 grow = (vma->vm_start - address) >> PAGE_SHIFT;
2581 if (grow <= vma->vm_pgoff) {
2582 error = acct_stack_growth(vma, size, grow);
2597 mm->locked_vm += grow;
2598 vm_stat_account(mm, vma->vm_flags, grow);
2601 vma->vm_pgoff -= grow;