Lines Matching refs:newbrk
186 unsigned long newbrk, oldbrk, origbrk;
217 * of oldbrk with newbrk then it can escape the test and let the data
225 newbrk = PAGE_ALIGN(brk);
227 if (oldbrk == newbrk) {
234 /* Search one past newbrk */
235 vma_iter_init(&vmi, mm, newbrk);
245 if (do_vma_munmap(&vmi, brkvma, newbrk, oldbrk, &uf, true))
251 if (check_brk_limits(oldbrk, newbrk - oldbrk))
259 next = vma_find(&vmi, newbrk + PAGE_SIZE + stack_guard_gap);
260 if (next && newbrk + PAGE_SIZE > vm_start_gap(next))
265 if (do_brk_flags(&vmi, brkvma, oldbrk, newbrk - oldbrk, 0) < 0)
277 mm_populate(oldbrk, newbrk - oldbrk);