Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dmmap.c117 unsigned long newbrk, oldbrk, origbrk; in SYSCALL_DEFINE1() local
157 oldbrk = PAGE_ALIGN(mm->brk); in SYSCALL_DEFINE1()
158 if (oldbrk == newbrk) { in SYSCALL_DEFINE1()
167 brkvma = vma_find(&vmi, oldbrk); in SYSCALL_DEFINE1()
168 if (!brkvma || brkvma->vm_start >= oldbrk) in SYSCALL_DEFINE1()
176 if (do_vmi_align_munmap(&vmi, brkvma, mm, newbrk, oldbrk, &uf, in SYSCALL_DEFINE1()
183 if (check_brk_limits(oldbrk, newbrk - oldbrk)) in SYSCALL_DEFINE1()
190 vma_iter_init(&vmi, mm, oldbrk); in SYSCALL_DEFINE1()
197 if (do_brk_flags(&vmi, brkvma, oldbrk, newbrk - oldbrk, 0) < 0) in SYSCALL_DEFINE1()
209 mm_populate(oldbrk, newbrk - oldbrk); in SYSCALL_DEFINE1()