Home
last modified time | relevance | path

Searched refs:oldbrk (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dmmap.c179 unsigned long newbrk, oldbrk, origbrk; in SYSCALL_DEFINE1() local
219 oldbrk = PAGE_ALIGN(mm->brk); in SYSCALL_DEFINE1()
220 if (oldbrk == newbrk) { in SYSCALL_DEFINE1()
229 brkvma = vma_find(&vmi, oldbrk); in SYSCALL_DEFINE1()
230 if (!brkvma || brkvma->vm_start >= oldbrk) 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()
251 vma_iter_init(&vmi, mm, oldbrk); 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()