Home
last modified time | relevance | path

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

/mm/
Dnommu.c381 SYSCALL_DEFINE1(brk, unsigned long, brk) in SYSCALL_DEFINE1() argument
385 if (brk < mm->start_brk || brk > mm->context.end_brk) in SYSCALL_DEFINE1()
386 return mm->brk; in SYSCALL_DEFINE1()
388 if (mm->brk == brk) in SYSCALL_DEFINE1()
389 return mm->brk; in SYSCALL_DEFINE1()
394 if (brk <= mm->brk) { in SYSCALL_DEFINE1()
395 mm->brk = brk; in SYSCALL_DEFINE1()
396 return brk; in SYSCALL_DEFINE1()
402 flush_icache_user_range(mm->brk, brk); in SYSCALL_DEFINE1()
403 return mm->brk = brk; in SYSCALL_DEFINE1()
Dinit-mm.c45 void *end_data, void *brk) in setup_initial_init_mm() argument
50 init_mm.brk = (unsigned long)brk; in setup_initial_init_mm()
Dmmap.c196 SYSCALL_DEFINE1(brk, unsigned long, brk) in SYSCALL_DEFINE1() argument
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()
[all …]
Dutil.c387 return randomize_page(mm->brk, SZ_32M); in arch_randomize_brk()
389 return randomize_page(mm->brk, SZ_1G); in arch_randomize_brk()
Ddebug.c249 mm->start_brk, mm->brk, mm->start_stack, in dump_mm()