Searched refs:newbrk (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/mm/ |
D | mmap.c | 117 unsigned long newbrk, oldbrk, origbrk; in SYSCALL_DEFINE1() local 156 newbrk = PAGE_ALIGN(brk); in SYSCALL_DEFINE1() 158 if (oldbrk == newbrk) { in SYSCALL_DEFINE1() 166 vma_iter_init(&vmi, mm, newbrk); 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() 191 next = vma_find(&vmi, newbrk + PAGE_SIZE + stack_guard_gap); in SYSCALL_DEFINE1() 192 if (next && newbrk + PAGE_SIZE > vm_start_gap(next)) 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()
|