Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dmmap.c198 unsigned long newbrk, oldbrk, origbrk; in SYSCALL_DEFINE1() local
238 oldbrk = PAGE_ALIGN(mm->brk); in SYSCALL_DEFINE1()
239 if (oldbrk == newbrk) { in SYSCALL_DEFINE1()
257 ret = __do_munmap(mm, newbrk, oldbrk-newbrk, &uf, true); in SYSCALL_DEFINE1()
268 next = find_vma(mm, oldbrk); in SYSCALL_DEFINE1()
273 if (do_brk_flags(oldbrk, newbrk-oldbrk, 0, &uf) < 0) in SYSCALL_DEFINE1()
278 populate = newbrk > oldbrk && (mm->def_flags & VM_LOCKED) != 0; in SYSCALL_DEFINE1()
285 mm_populate(oldbrk, newbrk - oldbrk); in SYSCALL_DEFINE1()