Lines Matching refs:brk
193 SYSCALL_DEFINE1(brk, unsigned long, brk) in SYSCALL_DEFINE1() argument
204 brk = untagged_addr(brk); in SYSCALL_DEFINE1()
209 origbrk = mm->brk; in SYSCALL_DEFINE1()
224 if (brk < min_brk) in SYSCALL_DEFINE1()
233 if (check_data_rlimit(rlimit(RLIMIT_DATA), brk, mm->start_brk, in SYSCALL_DEFINE1()
237 newbrk = PAGE_ALIGN(brk); in SYSCALL_DEFINE1()
238 oldbrk = PAGE_ALIGN(mm->brk); in SYSCALL_DEFINE1()
240 mm->brk = brk; in SYSCALL_DEFINE1()
248 if (brk <= mm->brk) { in SYSCALL_DEFINE1()
256 mm->brk = brk; in SYSCALL_DEFINE1()
259 mm->brk = origbrk; in SYSCALL_DEFINE1()
275 mm->brk = brk; in SYSCALL_DEFINE1()
286 return brk; in SYSCALL_DEFINE1()