Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsbrk.c88 char *new_brk; in _sbrk_unlocked() local
95 new_brk = BRKALIGN(old_brk + addend); in _sbrk_unlocked()
97 if ((addend > 0 && new_brk < old_brk) || in _sbrk_unlocked()
98 (addend < 0 && new_brk > old_brk)) { in _sbrk_unlocked()
102 if (_brk_unlocked(new_brk) != 0) in _sbrk_unlocked()
104 _nd = new_brk; in _sbrk_unlocked()
124 uintptr_t new_brk; in _sbrk_grow_aligned() local
147 new_brk = P2ROUNDUP(high_brk, high_align); in _sbrk_grow_aligned()
152 if (ret_brk < old_brk || high_brk < ret_brk || new_brk < high_brk) { in _sbrk_grow_aligned()
158 if ((brk_result = _brk_unlocked((void *)new_brk)) == 0) in _sbrk_grow_aligned()
[all …]