Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/stdlib/
Dmallocr.c1705 char* brk; /* return value from sbrk */ in malloc_extend_top() local
1728 brk = (char*)(MORECORE (sbrk_size)); in malloc_extend_top()
1731 if (brk == (char*)(MORECORE_FAILURE) || in malloc_extend_top()
1732 (brk < old_end && old_top != initial_top)) in malloc_extend_top()
1737 if (brk == old_end /* can just add bytes to current top, unless in malloc_extend_top()
1747 sbrk_base = brk; in malloc_extend_top()
1749 sbrked_mem += brk - (char*)old_end; in malloc_extend_top()
1752 front_misalign = (uintptr_t)chunk2mem(brk) & MALLOC_ALIGN_MASK; in malloc_extend_top()
1756 brk += correction; in malloc_extend_top()
1762 correction += pagesz - ((uintptr_t)(brk + sbrk_size) & (pagesz - 1)); in malloc_extend_top()
[all …]
/picolibc-latest/newlib/libc/include/sys/
Dunistd.h82 int brk(void*);
/picolibc-latest/newlib/
DChangeLog-201517002 * libc/sys/linux/brk.c: Change sbrk prototype.
18642 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
18854 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
20160 * libc/sys/linux/brk.c: Ditto.