Searched refs:newbrk (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | mmap.c | 179 unsigned long newbrk, oldbrk, origbrk; in SYSCALL_DEFINE1() local 218 newbrk = PAGE_ALIGN(brk); in SYSCALL_DEFINE1() 220 if (oldbrk == newbrk) { in SYSCALL_DEFINE1() 228 vma_iter_init(&vmi, mm, newbrk); in SYSCALL_DEFINE1() 238 if (do_vma_munmap(&vmi, brkvma, newbrk, oldbrk, &uf, true)) in SYSCALL_DEFINE1() 244 if (check_brk_limits(oldbrk, newbrk - oldbrk)) in SYSCALL_DEFINE1() 252 next = vma_find(&vmi, newbrk + PAGE_SIZE + stack_guard_gap); in SYSCALL_DEFINE1() 253 if (next && newbrk + PAGE_SIZE > vm_start_gap(next)) in SYSCALL_DEFINE1() 258 if (do_brk_flags(&vmi, brkvma, oldbrk, newbrk - oldbrk, 0) < 0) in SYSCALL_DEFINE1() 270 mm_populate(oldbrk, newbrk - oldbrk); in SYSCALL_DEFINE1()
|