Home
last modified time | relevance | path

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

/mm/
Dnommu.c410 SYSCALL_DEFINE1(brk, unsigned long, brk) in SYSCALL_DEFINE1() argument
414 if (brk < mm->start_brk || brk > mm->context.end_brk) in SYSCALL_DEFINE1()
415 return mm->brk; in SYSCALL_DEFINE1()
417 if (mm->brk == brk) in SYSCALL_DEFINE1()
418 return mm->brk; in SYSCALL_DEFINE1()
423 if (brk <= mm->brk) { in SYSCALL_DEFINE1()
424 mm->brk = brk; in SYSCALL_DEFINE1()
425 return brk; in SYSCALL_DEFINE1()
431 flush_icache_range(mm->brk, brk); in SYSCALL_DEFINE1()
432 return mm->brk = brk; in SYSCALL_DEFINE1()
Dmmap.c187 SYSCALL_DEFINE1(brk, unsigned long, brk) in SYSCALL_DEFINE1() argument
198 brk = untagged_addr(brk); in SYSCALL_DEFINE1()
203 origbrk = mm->brk; in SYSCALL_DEFINE1()
218 if (brk < min_brk) in SYSCALL_DEFINE1()
227 if (check_data_rlimit(rlimit(RLIMIT_DATA), brk, mm->start_brk, in SYSCALL_DEFINE1()
231 newbrk = PAGE_ALIGN(brk); in SYSCALL_DEFINE1()
232 oldbrk = PAGE_ALIGN(mm->brk); in SYSCALL_DEFINE1()
234 mm->brk = brk; in SYSCALL_DEFINE1()
242 if (brk <= mm->brk) { in SYSCALL_DEFINE1()
250 mm->brk = brk; in SYSCALL_DEFINE1()
[all …]
Dutil.c328 return randomize_page(mm->brk, SZ_32M); in arch_randomize_brk()
330 return randomize_page(mm->brk, SZ_1G); in arch_randomize_brk()
Ddebug.c177 mm->start_brk, mm->brk, mm->start_stack, in dump_mm()