Searched refs:newbrk (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/mm/ |
D | mmap.c | 180 unsigned long newbrk, oldbrk, origbrk; in SYSCALL_DEFINE1() local 219 newbrk = PAGE_ALIGN(brk); in SYSCALL_DEFINE1() 221 if (oldbrk == newbrk) { in SYSCALL_DEFINE1() 229 vma_iter_init(&vmi, mm, newbrk); in SYSCALL_DEFINE1() 239 if (do_vma_munmap(&vmi, brkvma, newbrk, oldbrk, &uf, true)) in SYSCALL_DEFINE1() 245 if (check_brk_limits(oldbrk, newbrk - oldbrk)) in SYSCALL_DEFINE1() 253 next = vma_find(&vmi, newbrk + PAGE_SIZE + stack_guard_gap); in SYSCALL_DEFINE1() 254 if (next && newbrk + PAGE_SIZE > vm_start_gap(next)) in SYSCALL_DEFINE1() 259 if (do_brk_flags(&vmi, brkvma, oldbrk, newbrk - oldbrk, 0) < 0) in SYSCALL_DEFINE1() 271 mm_populate(oldbrk, newbrk - oldbrk); in SYSCALL_DEFINE1()
|